my poly movie

Michele Verità's icon

dear list i've written this abstraction, it's my poly movie version..not designed for hd movie,intended for simple, stable and reliable playback and not beeing too cpu hugry;
nice feature:it loads a folder without hiccups. comments and advices to make it better are welcome!
;)
mic

Rob Ramirez's icon

my kind of patch. very simple and elegant.
i love it!

vade's icon

Very nice patch. Ive been meaning to move to a poly-ized version of my
movieplayer - maybe ill just use yours. Good stuff.

Ive got a pretty nice thumbnail video loader (similar to grid).Perhaps
ill hack them together. Nice work! It loads pretty well for my fairly
large-ish movies, no hiccups for mjpeg 850x480 @30fps

Well done.

On Dec 10, 2007, at 2:19 PM, Robert Ramirez wrote:

>
> my kind of patch. very simple and elegant.
> i love it!
>
>

Michele Verità's icon

thanks guys!
;)

yair reshef's icon
cal's icon

great patch!

One thing, how would I modify it so that the sound is plyed on the videos?

outoff's icon

Quote: cal wrote on Thu, 21 August 2008 15:17
----------------------------------------------------
> great patch!
>
> One thing, how would I modify it so that the sound is plyed on the videos?
----------------------------------------------------

just change @vol 0. to @vol 1. in [jit.qt.movie] located at m.polymovie.pat!

awesome patch! many thx!!!!

cal's icon

Great, thanks!

cal's icon

I've been trying to add a volume slider to the patch without success, I have the main patch sending a volume value to jit.qt.movie in m.polymovie, it works when I load a movie manually within the subpatch, but not when i play a movie via the master patch.....

Can anyone help?

Thanks..

Noob4Life's icon

michele's original patch attached here once again(thanks again to raja who lent me his old computer with all this great archived material!).
not to be confused with the example in
Max5/examples/jitter-examples/video/quicktime/PolyMovie

which is great but i like michele's folder-loading interface here, too.

________________________________
*Never fear, Noob4Life was never here!*

1450.m.poly_movie.zip
zip
g_net55's icon

hello all,

i get the following error, if i use the poly patch.

my moviesizes are between 3MB and 20MB
i am loading 8 movies.

there seems to be a bug inside then jit.qt.movie object.

the error occurs after 1-2 minutes switching between
the clips with the arrow keys.

it would be good, if someone at c74 would have a look at this.

best,

n55

Process: MaxMSP [373]
Path: /Applications/Max5/MaxMSP.app/Contents/MacOS/MaxMSP
Identifier: com.cycling74.MaxMSP
Version: 5.1.6 (43950) (5.1.6)
Code Type: X86 (Native)
Parent Process: launchd [180]

Date/Time: 2010-12-02 12:17:04.361 +0100
OS Version: Mac OS X 10.6.5 (10H574)
Report Version: 6

Interval Since Last Report: 620479 sec
Crashes Since Last Report: 15
Per-App Interval Since Last Report: 88155 sec
Per-App Crashes Since Last Report: 1
Anonymous UUID: 003D6813-49A2-4480-9D2C-165949A57B54

Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000010
Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 ...ickTimeComponents.component    0x981de44e scan_for_markers. + 109
1 ...ickTimeComponents.component    0x981de3ac JPEG_DDrawBand + 2158
2 ...ple.CoreServices.CarbonCore    0x9063d054 CallComponentFunctionCommonWithStorage(char**, ComponentParameters*, long (*)(), unsigned long) + 54
3 ...ickTimeComponents.component    0x981de9b8 JPEG_DComponentDispatch + 114
4 ...ple.CoreServices.CarbonCore    0x906357c9 CallComponentDispatch + 29
5 ...ickTimeComponents.component    0x988990b0 ImageCodecDrawBand + 43
6 ...ickTimeComponents.component    0x981d8307 BaseCodec_DecompressWorkFunction + 1002
7 ...ickTimeComponents.component    0x981d8a89 BaseCodec_DecompressCallBack_Common + 1328
8 ...ickTimeComponents.component    0x981da763 Base_CDBandDecompress + 5449
9 ...ple.CoreServices.CarbonCore    0x9063d054 CallComponentFunctionCommonWithStorage(char**, ComponentParameters*, long (*)(), unsigned long) + 54
10 ...ickTimeComponents.component    0x981d5c07 Base_CDComponentDispatch + 127
11 ...ickTimeComponents.component    0x981de9da JPEG_DComponentDispatch + 148
12 ...ple.CoreServices.CarbonCore    0x906357c9 CallComponentDispatch + 29
13 com.apple.QuickTime     0x975072b3 ImageCodecBandDecompress + 43
14 com.apple.QuickTime     0x974f53ba DoBandedDecompress + 17565
15 com.apple.QuickTime     0x974f0d21 ICMAction + 1177
16 com.apple.QuickTime     0x974ef930 ICMDeviceLoop + 546
17 com.apple.QuickTime     0x974f88be DecompressSequenceFrameWhen + 714
18 ...ickTimeComponents.component    0x980c5654 v2m_rDecompressSequenceFrameWhen + 1092
19 ...ickTimeComponents.component    0x980c8906 v2m_decompressVideoFrame + 609
20 ...ickTimeComponents.component    0x980cc4ac QueueAFrame + 1595
21 ...ickTimeComponents.component    0x980cd3ac v2m_doWhatTheMentorTellsUs + 1243
22 ...ickTimeComponents.component    0x980d0c3b Video2MoviesTask + 2891
23 ...ple.CoreServices.CarbonCore    0x90648309 callComponentStorage_44444 + 49
24 ...ple.CoreServices.CarbonCore    0x9063d054 CallComponentFunctionCommonWithStorage(char**, ComponentParameters*, long (*)(), unsigned long) + 54
25 ...ickTimeComponents.component    0x980be128 Video2ComponentDispatch + 212
26 ...ple.CoreServices.CarbonCore    0x906357c9 CallComponentDispatch + 29
27 com.apple.QuickTime     0x9754a9aa MediaMoviesTask + 61
28 com.apple.QuickTime     0x97549746 TaskMovie_priv + 4808
29 com.apple.QuickTime     0x975c0f61 frequentlyTaskMovies + 126
30 com.apple.CoreFoundation     0x9700fadb __CFRunLoopRun + 8059
31 com.apple.CoreFoundation     0x9700d464 CFRunLoopRunSpecific + 452
32 com.apple.CoreFoundation     0x9700d291 CFRunLoopRunInMode + 97
33 com.apple.HIToolbox     0x92eaff9c RunCurrentEventLoopInMode + 392
34 com.apple.HIToolbox     0x92eafd51 ReceiveNextEventCommon + 354
35 com.apple.HIToolbox     0x930381e3 ReceiveNextEvent + 83
36 com.cycling74.MaxMSP     0x002d1c5e juce::juce_dispatchNextMessageOnSystemQueue(bool, bool) + 554
37 com.cycling74.MaxMSP     0x002db907 juce::MessageManager::dispatchNextMessage(bool, bool*, bool) + 79
38 com.cycling74.MaxMSP     0x002db9c6 juce::MessageManager::runDispatchLoop() + 42
39 com.cycling74.MaxMSP     0x002da321 juce::JUCEApplication::main(juce::String&, juce::JUCEApplication*) + 605
40 com.cycling74.MaxMSP     0x002da3fb juce::JUCEApplication::main(int, char**, juce::JUCEApplication*) + 125
41 com.cycling74.MaxMSP     0x001e3c5e main + 76
42 com.cycling74.MaxMSP     0x0000569a _start + 216
43 com.cycling74.MaxMSP     0x000055c1 start + 41

Thread 1: Dispatch queue: com.apple.libdispatch-manager
0 libSystem.B.dylib     0x909d7982 kevent + 10
1 libSystem.B.dylib     0x909d809c _dispatch_mgr_invoke + 215
2 libSystem.B.dylib     0x909d7559 _dispatch_queue_invoke + 163
3 libSystem.B.dylib     0x909d72fe _dispatch_worker_thread2 + 240
4 libSystem.B.dylib     0x909d6d81 _pthread_wqthread + 390
5 libSystem.B.dylib     0x909d6bc6 start_wqthread + 30

Thread 2:
0 libSystem.B.dylib     0x909b115a semaphore_timedwait_signal_trap + 10
1 libSystem.B.dylib     0x909dece5 _pthread_cond_wait + 1066
2 libSystem.B.dylib     0x90a0dac8 pthread_cond_timedwait_relative_np + 47
3 ...ple.CoreServices.CarbonCore    0x90614ecd TSWaitOnConditionTimedRelative + 242
4 ...ple.CoreServices.CarbonCore    0x90614c0b TSWaitOnSemaphoreCommon + 511
5 ...ple.CoreServices.CarbonCore    0x90638e33 TimerThread + 97
6 libSystem.B.dylib     0x909de85d _pthread_start + 345
7 libSystem.B.dylib     0x909de6e2 thread_start + 34

plicationServices.ATS 4.4 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0xffff0000 - 0xffff1fff libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib

Model: MacBookPro2,2, BootROM MBP22.00A5.B07, 2 processors, Intel Core 2 Duo, 2.16 GHz, 2 GB, SMC 1.12f5
Graphics: ATI Radeon X1600, ATY,RadeonX1600, PCIe, 128 MB