Forums > Jitter

frame in dv

June 12, 2006 | 12:27 pm

Hi,

I absolutly need to be able to play a movie in dv format from a given image
to an other one.
I tried the frame message but the film is all jerked…
I tried with the dumpframe message but then speed of the movie playback
depends on its size…

What can i do ?
Do you have a solution ? a patch that i could have a look at ?
Please, time is not on my side :-)

Thanks
Czesc


June 12, 2006 | 4:07 pm

Something like this should work. Next time you might want to post
your patch as it makes it easier for people to help.

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 83 31 62 196617 20 , 30 500;
#P newex 83 75 27 196617 t b i;
#P message 109 97 52 196617 frame $1;
#P newex 83 53 50 196617 line 0 20;
#P user jit.pwindow 108 211 82 62 0 1 0 0 1 0;
#P flonum 184 83 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 184 103 42 196617 rate $1;
#P message 244 83 80 196617 read dozer.mov;
#P newex 109 128 103 196617 jit.qt.movie 320 240;
#B color 5;
#P connect 5 0 7 0;
#P connect 6 0 0 0;
#P connect 8 0 5 0;
#P connect 7 0 0 0;
#P connect 7 1 6 0;
#P connect 0 0 4 0;
#P connect 3 0 2 0;
#P fasten 1 0 0 0 249 123 114 123;
#P fasten 2 0 0 0 189 123 114 123;
#P window clipboard copycount 9;


June 12, 2006 | 7:32 pm

It’s a bit unclear exactly what you’re trying to do. But if you are trying to synchronize playback of two movies, send one jit.qt.movie object a "gettime" message, then parse the result from the right outlet dumpout to send the other jit.qt.movie object a "time $1" message. If you need synchronized playback from different points in each movie, add or subtract from the number used with "time $1".

Kurt Ralske
….
http://retnull.com

http://auv-i.com


June 12, 2006 | 7:39 pm

It’s also worth noting that source material in any codec that uses temporal compression (such as DV) does not gracefully handle jumping to new random points in the file. A codec that uses spatial compression only (such as Photo-JPEG) will do better with this.

Kurt Ralske
….
http://retnull.com

http://auv-i.com


June 12, 2006 | 7:50 pm

FWIW, DV does not use inter-frame (aka temporal) compression, though,
spatially and chromatically, is more lossy than high quality photo-
jpeg. If performing a sizeable number of "bounces" through some
processing network, I would recommend a lossless codec such as
Animation or PNG (the latter is much more bandwidth/diskspace
friendly than Animation):

More information, including examples of loss through iterated
decoding/encoding at my favorite codec site:

http://codecs.onerivermedia.com

-Joshua


June 13, 2006 | 4:16 am

Wow that is a great resource. Thanks for the heads up. Ive read Adam
Wilts site before, but somehow have never seen this..

v a d e //

http://www.vade.info
abstrakt.vade.info


Viewing 6 posts - 1 through 6 (of 6 total)