Video on Max slowed/sliced-like vs original file
I would like to open a video file on a Max patch, and dynamically change its speed.
At first when I open my video (a turning piece), I see my piece not turning smoothly like in original files.
I tryed mp4, flv and avi format file for video, it’s always the same.
–> should I have the framerate, or other parameters of the original file, and explicitly pass them as messages to jit.pwindow object ?
Thanks a lot !
I put a copy of the simple patch here :
----------begin_max5_patcher---------- 795.3ocyWssaiBCD8YxWAxZejEYavXXeaeX+Jppp3hSp6xkHrSa5V0+80WfT RCIjfZixCIFFrMm4LmYFyaKb.YMaYBf6ubuy0w4sENNFSZCNc26.pR2lWlJL SC7DW5u9EdcQyK.O6yW2xDrZYpj2T+PKKWZ2uHHxGgIdtXTrudLfD3S0iPrO z899UmJyejWuZvJSh7gpoEZFPnPypRfCVDuv.llrm9IcLXneJpyd8lJdcISJ 9jwlMxdq3NqVSxWWyr.A.7T+buW+z2WrP+m2YxSYF+h0BNtahCIFGLDqGvAP ycXx39IFLl+.6MlVYvLnfU07Luf03qfi5kBF0gQGygUg2GpRks7syysyappT Ag92pjs03rf+HxcW1z5tbSYoHukwpmR8Dg8UQcRfUyfnHCIENfbV1tJyvA9v SPxPhUEFZ1.Tb7g6SSsbG+86VdZIXD5OXV5LMAj2T1zZQCzGASvnPO0UDZRX r4JkBHBGq.2.Pse7BN.pKSyYCeEZaB9+r1ToLyHpUydQ4iGDzjtYtYmP.iBL YnIAlzUS7BQuXhk.t7D0g9bxtv+Ap4rz5U5TXy3rzyULgHcE6.pYoPIy2jk1 59CzoXn3.aMr.+XJLDi8boIFKWLOghFkmvmL+dOsAxmjPPwziVraVLjrY0pR 1zbfUkfg8+OVMND8jZg0osJVRxZefUmlUx1q.34UeiqpM80JD1UP6zJAaOMT .xzJjFMOQPvsoF3H0O9K60IYDaY4tV8IWbRQ3o6JtGgDNGBQKX7Fa3qjnDrR Es3hoSRWTq9gPmGeQt.8CdNzUeE2uoZIcYQPKKLQwDxMawjiHCzms1dzZ2kB ISHmt2KpSVDNylJ3u+lu6SQF7AJ40e9yNL9n1997lnYSad+V1cNX2O7xBEKw q2cVr69vsFLoG4EEr5gA3BtPGyMDw3GX5qDNzqFZBtoPit57jvgb8fC4LfSv 0CNQ2VJYD8bvSz0KyRGtPSgG50EOvaG7DbaIeNK1gbSAG7bgisIV550OyZEc 6oAIp17OY+V+HOys7Z6slcDzxdl2O+3E5c68E+Wl+xmC -----------end_max5_patcher-----------
not sure if I know what you mean by ‘turning smoothly’ …
codecs of choice for realtime are:
.Pro Res 422(LT)
the ones you name are not apt for realtime …
there are some post in the forum talking about this …
thanks for your reply !
By turning not smoothly, I mean I have the feeling some frames are missing… instead of seeing a continuous and slow rotation like in my original file, I see a quick rotation with some "steps" or "missing frames" effct
I will try the codecs you propose and check for the post in the forum and update this post
does your (q)metro tempo match your movies’ framerate?
no, I did not make any sync. Just open the viedo file, play it and compare with the source using QuickTIme Player in parallel with Max.
Video flux is not constant, I can clearly see it on Max.
Could you explain me how I should do such a synchro ? (acutally I do not have a (q)metro on my pathc)
Ah ok, I never use that method. Try if you get the same issues with the plain jit.qt.movie object.
Btw, what’s the resolution, bit rate, frame rate and codec of your movies? Chances are you’re just overloading your CPU. What’s the CPU load when playing them?
I just tried converting the .mp4 into Photo-Jpg, .mov.
Looks like the result is better !
but for the beginning of the playing, maybe to some file size issue (file size : 340 Mo).
Resolution : 1920 x 1080
FPS : 25
Codec : Photo – Jpeg (I get a .mov). The original file format is .flv. I convert .flv to .mov using MPEG StreamClip on Mac.
CPU and RAM looks okay (50 %) when playing Photo-Jpeg format.
For the plain jit.qt.movie object, yes I tried with it (currently this is the object I use).
Sorry I need to leave for a while, but I will be back tomorrow on the subject ; thanks again for your replies, that’s nice !
Have fun bye
> CPU and RAM looks okay (50 %) when playing Photo-Jpeg format.
Depends. Not sure if the playback process supports multi-thread/core processing. 50% on a dual-core CPU means 1 core is fully loaded, though you’d see the load being balanced over the 2 cores to lower CPU temperature. If the process is single-core only it couldn’t go over 50% to use both cores.
Sorry for the late answer..;
Thank you DTR ! Yes you’re right.
We changed a bit the "specs" of the project, so I will come back on this subject later. I will let you know…
Forums > Jitter