jit.movie backwards

pdelges's icon

I'm trying to switch to viddll and have a problem playing backwards videos (I do work on a Mac - OSX.9.5, latest Max 7.2.3, but the project is for a PC).

The included file, which compares qt, viddll and avf should show my problem. Just follow the steps.

Now, it's interesting to play with steps 4, 5 and 6 as you will get different results for all 3 players.
The only one that seems to work as (I) expected is QT.
viddll never works (even with a bigger cache size).

I'm sure there is a way to play backwards with viddll, but how?

Max Patch
Copy patch and select New From Clipboard in Max.

pdelges's icon

Here is the correct patch (copy compressed doesn't copy objects in the background…)

Max Patch
Copy patch and select New From Clipboard in Max.

pseudostereo's icon

It seems to have something to do with the loop attribute, because if you set loop = 1 on all 3 movies, things work more or less as expected (the movies get totally out of sync almost immediately, probably due to the differing frame counts).

A workaround (leaving loop = 0) is to change the step 6 message to "loop 1, start, loop 0". Then all 3 movies play backwards correctly.

pdelges's icon

Thanks pseudostereo.

Unfortunately, it's not really reliable. If I try the included patch, following steps 1 -> 4, the viddll player won't play (but the time will decrease) until almost the end of the movie.
Then, if I play a bit with the frame/play/stop messages, then sometimes it will play correctly backwards the whole movie and once it plays correctly it will always do!

p

Max Patch
Copy patch and select New From Clipboard in Max.

Rob Ramirez's icon

hi Patrick.
thanks much for the detailed report and steps to reproduce. this is something i'll be looking into for the next update.

Rob Ramirez's icon

hey guys, this should be working as expected as of 7.2.4, but please let me know if you encounter anything unexpected.

pdelges's icon

Hey Rob!

Thanks to keep worrying.
Did you try my intial patch? I can't see any difference on my Mac (OSX.9.5) with Max 7.2.4 and viddll 1.0.5 (32 or 64 bit mode), it still doesn't work as expected…

Rob Ramirez's icon

yeah viddll still has some issues with playing back in reverse with that particular movie file. e.g. switching to dishes.mov seems to work as expected. it's easy enough to fix by increasing the cache_size, and using the new loadram feature.

reverse playback in viddll is an ongoing endeavor.