Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : Unable to read big videos with processing 2.0.3

$
0
0

i try to resume, hoping that this long story could be useful for others

1° As for the initial problem (2.0.3 and big videos) as for me it s now solved:

--- it s not a memory problem
--- it s a codec problem

--- some codecs which could be used with 1.5.1 cannot be used, in this moment, with 2.0.3, though they are read by QT or VLC: they are loaded without error message but read very slowly and without sound.
my initial videos were made by QuickTime DVCPRO-PAL.
--- the problem disappeared when i change this codec for AVI  DV-PAL.

Could be interesting to "test" with a lot of quickTime standard codecs....

2° As for Capture with 1.5.1 i always used GSvideo library; but with 2.0.3 there are limits for the capture size. The solution was simple:  use the native library which allows capturing more than 640/480: my capture is 1024/768.

3°) As for displaying the videos i have finally choosen to use 2 solutions:
------- JMC video library instead of the native video library because i have to be sure when the video is finished: i dont know why but the standard solution (movieTime() & movieDuration () does not work or rather does not always work ...IsPlaying() with JMC was always sucessful with the same videos: i cannot tell why!
--------Native library for 1 case, a looping video: the JMC loop() does not work with 2.0.3...

4°) As for coding i am very happy to have understood , thanks to dimkir, what was the meaning of the movieEvent(); before i used available() and i see now that it was the bad choice; other error was to try to be sure that the video was loaded using play() then jump(0) then pause(). The schema given by Dimkir is perfect!!!

5°) my last problem was to export the result (1,75 Gigas); I will try tomorrow, using 1.5.1 and the advice from GoToLoop but perhaps that now 2.0.3 will be able to do that....

Viewing all articles
Browse latest Browse all 1768

Trending Articles