Hello,
It seems that the 4th element of the list from the second outlet of [pix_film] is something like the fps of the movie. When i use this value to adjust my [metro] to play the movie, sometimes it works and sometimes not. When i open the same movie with VLC, this value is sometimes the same sometimes not.
For example : - with AVI (XVID codec) in vlc : 25, with [pix_film] : 12.5 (the good is 25 and i also get this in the console : [pix_film]: loaded file: /home/jack/Vidéos/71 fragments d'une chronologie du hasard.avi with 142529 frames (576x320) at 12.500000 fps). - with DIVX (DX50 codec) in vlc : 25, with [pix_film] : 25 - with DIVX (XVID codec) in vlc : 25, with [pix_film] : 25
Can someone explain to me these differences ? Thx. ++
Jack
Jack wrote:
Hello, =20 It seems that the 4th element of the list from the second outlet of [pix_film] is something like the fps of the movie. When i use this value to adjust my [metro] to play the movie, sometimes=
it works and sometimes not. When i open the same movie with VLC, this value is sometimes the same sometimes not. =20 For example :
- with AVI (XVID codec) in vlc : 25, with [pix_film] : 12.5 (the good i=
s
25 and i also get this in the console : [pix_film]: loaded file: /home/jack/Vid=C3=A9os/71 fragments d'une chronologie du hasard.a=
vi
with 142529 frames (576x320) at 12.500000 fps).
- with DIVX (DX50 codec) in vlc : 25, with [pix_film] : 25
- with DIVX (XVID codec) in vlc : 25, with [pix_film] : 25
=20 Can someone explain to me these differences ?
no. could you put a video online that exposes the wrong fps calculation? which video-backend are you using for pix_film? (quicktime? avifile? gmerlin_avdec?) which versions?
which version of Gem?
fgmadrt IOhannes
Le mercredi 30 décembre 2009 à 11:03 +0100, IOhannes zmölnig a écrit :
Jack wrote:
Hello, =20 It seems that the 4th element of the list from the second outlet of [pix_film] is something like the fps of the movie. When i use this value to adjust my [metro] to play the movie, sometimes=
it works and sometimes not. When i open the same movie with VLC, this value is sometimes the same sometimes not. =20 For example :
- with AVI (XVID codec) in vlc : 25, with [pix_film] : 12.5 (the good i=
s
25 and i also get this in the console : [pix_film]: loaded file: /home/jack/Vid=C3=A9os/71 fragments d'une chronologie du hasard.a=
vi
with 142529 frames (576x320) at 12.500000 fps).
- with DIVX (DX50 codec) in vlc : 25, with [pix_film] : 25
- with DIVX (XVID codec) in vlc : 25, with [pix_film] : 25
=20 Can someone explain to me these differences ?
no. could you put a video online that exposes the wrong fps calculation? which video-backend are you using for pix_film? (quicktime? avifile? gmerlin_avdec?) which versions?
Pd version 0.41.4-extended GEM: ver: 0.92.2 GEM: compiled: Dec 17 2009
video-support use mpeg : no use mpeg-3 : yes use QuickTime : yes use aviplay : no use gmerlin : no
libquicktime-dev (version 2:1.1.1+debian-1build1) libmpeg3-1 (is it correct ?) (version 1.5.4-5)
When i load a movie with [pix_film], i get in the console : pix_film:: quicktime support pix_film:: libmpeg3 support [pix_film]: opening /home/jack/Vidéos/71 fragments d'une chronologie du hasard.avi with format 1908 [pix_film]: ... [pix_film]: ... [pix_film]: ... [pix_film]: loaded file: /home/jack/Vidéos/71 fragments d'une chronologie du hasard.avi with 142529 frames (576x320) at 12.500000 fps
With VLC : Flux 0 Type : Vidéo Codec : XVID Résolution : 576x320 Résoltion d'affichage : 576x320 Débit d'image : 25
Thanx for help. I have not the possibility to put the movie (639.5 Mio) on a server now. ++
Jack
which version of Gem?
fgmadrt IOhannes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Jack wrote:
Le mercredi 30 décembre 2009 à 11:03 +0100, IOhannes zmölnig a écrit :
video-support use mpeg : no use mpeg-3 : yes use QuickTime : yes use aviplay : no use gmerlin : no
libquicktime-dev (version 2:1.1.1+debian-1build1) libmpeg3-1 (is it correct ?) (version 1.5.4-5)
When i load a movie with [pix_film], i get in the console : pix_film:: quicktime support pix_film:: libmpeg3 support [pix_film]: opening /home/jack/Vidéos/71 fragments d'une chronologie du hasard.avi with format 1908 [pix_film]: ... [pix_film]: ... [pix_film]: ... [pix_film]: loaded file: /home/jack/Vidéos/71 fragments d'une chronologie du hasard.avi with 142529 frames (576x320) at 12.500000 fps
Thanx for help. I have not the possibility to put the movie (639.5 Mio) on a server now.
indeed. anyhow, you configuration tells me, that libquicktime is the used backend. what does "qtinfo" (part of quicktime-utils) tell you about the framerate of your file?
fgamsdr IOhannes
Hello Iohannes,
Thanx for your answer. Here is what i get from qtinfo :
Type: AVI 1 audio tracks. 2 channels, 0 bits, sample rate 48000, length 273663360 samples, wav_id 0x55. Sample format: 16 bit signed. Channel setup: Not available Language: eng supported. 1 video tracks. 576x320, depth 12 rate 12.500000 [25:2] not constant length 142530 frames compressor XVID. Native colormodel: YUV 4:2:0 planar Interlace mode: None (Progressive) Chroma placement: MPEG-2 No timecodes available supported. 0 text tracks.
It seems i have 'rate 12.500000 [25:2] not constant'. What does it mean ? So in my case, i would like to get 25 (from [pix_film]) to play my movie at a 'normal' speed. Is there a way to get this ? At least, I can use qtinfo and grep with [shell]. ++
Jack
Le vendredi 01 janvier 2010 à 21:11 +0100, IOhannes m zmölnig a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Jack wrote:
Le mercredi 30 décembre 2009 à 11:03 +0100, IOhannes zmölnig a écrit :
video-support use mpeg : no use mpeg-3 : yes use QuickTime : yes use aviplay : no use gmerlin : no
libquicktime-dev (version 2:1.1.1+debian-1build1) libmpeg3-1 (is it correct ?) (version 1.5.4-5)
When i load a movie with [pix_film], i get in the console : pix_film:: quicktime support pix_film:: libmpeg3 support [pix_film]: opening /home/jack/Vidéos/71 fragments d'une chronologie du hasard.avi with format 1908 [pix_film]: ... [pix_film]: ... [pix_film]: ... [pix_film]: loaded file: /home/jack/Vidéos/71 fragments d'une chronologie du hasard.avi with 142529 frames (576x320) at 12.500000 fps
Thanx for help. I have not the possibility to put the movie (639.5 Mio) on a server now.
indeed. anyhow, you configuration tells me, that libquicktime is the used backend. what does "qtinfo" (part of quicktime-utils) tell you about the framerate of your file?
fgamsdr IOhannes
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAks+VvMACgkQkX2Xpv6ydvTy0gCeLEWsSNqI7gEZjpzOasV9UCLQ j9oAn3ylNbikPfCaLlHIW+OfoshS3OkT =Xo52 -----END PGP SIGNATURE-----
Jack a écrit :
Hello Iohannes,
Thanx for your answer. Here is what i get from qtinfo :
Type: AVI 1 audio tracks. 2 channels, 0 bits, sample rate 48000, length 273663360 samples, wav_id 0x55. Sample format: 16 bit signed. Channel setup: Not available Language: eng supported. 1 video tracks. 576x320, depth 12 rate 12.500000 [25:2] not constant length 142530 frames compressor XVID. Native colormodel: YUV 4:2:0 planar Interlace mode: None (Progressive) Chroma placement: MPEG-2 No timecodes available supported. 0 text tracks.
It seems i have 'rate 12.500000 [25:2] not constant'. What does it mean ? So in my case, i would like to get 25 (from [pix_film]) to play my movie at a 'normal' speed. Is there a way to get this ?
"metro 40" to bang a counter to get a frame number.
or did i miss somthing? c
At least, I can use qtinfo and grep with [shell]. ++
Jack
Le vendredi 01 janvier 2010 à 21:11 +0100, IOhannes m zmölnig a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Jack wrote:
Le mercredi 30 décembre 2009 à 11:03 +0100, IOhannes zmölnig a écrit :
video-support use mpeg : no use mpeg-3 : yes use QuickTime : yes use aviplay : no use gmerlin : no
libquicktime-dev (version 2:1.1.1+debian-1build1) libmpeg3-1 (is it correct ?) (version 1.5.4-5)
When i load a movie with [pix_film], i get in the console : pix_film:: quicktime support pix_film:: libmpeg3 support [pix_film]: opening /home/jack/Vidéos/71 fragments d'une chronologie du hasard.avi with format 1908 [pix_film]: ... [pix_film]: ... [pix_film]: ... [pix_film]: loaded file: /home/jack/Vidéos/71 fragments d'une chronologie du hasard.avi with 142529 frames (576x320) at 12.500000 fps
Thanx for help. I have not the possibility to put the movie (639.5 Mio) on a server now.
indeed. anyhow, you configuration tells me, that libquicktime is the used backend. what does "qtinfo" (part of quicktime-utils) tell you about the framerate of your file?
fgamsdr IOhannes
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAks+VvMACgkQkX2Xpv6ydvTy0gCeLEWsSNqI7gEZjpzOasV9UCLQ j9oAn3ylNbikPfCaLlHIW+OfoshS3OkT =Xo52 -----END PGP SIGNATURE-----
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev
Le dimanche 03 janvier 2010 à 22:52 +0100, cyrille henry a écrit :
Jack a écrit :
Hello Iohannes,
Thanx for your answer. Here is what i get from qtinfo :
Type: AVI 1 audio tracks. 2 channels, 0 bits, sample rate 48000, length 273663360 samples, wav_id 0x55. Sample format: 16 bit signed. Channel setup: Not available Language: eng supported. 1 video tracks. 576x320, depth 12 rate 12.500000 [25:2] not constant length 142530 frames compressor XVID. Native colormodel: YUV 4:2:0 planar Interlace mode: None (Progressive) Chroma placement: MPEG-2 No timecodes available supported. 0 text tracks.
It seems i have 'rate 12.500000 [25:2] not constant'. What does it mean ? So in my case, i would like to get 25 (from [pix_film]) to play my movie at a 'normal' speed. Is there a way to get this ?
"metro 40" to bang a counter to get a frame number.
or did i miss somthing? c
Yes with a movie at 25 fps, but actually i would like to have something 'automatic' : if my movie has been encoded at 10 fps, i would like to have a [metro 100]. Or, if the movie has been encoded at 30 fps, i would like to have a [metro 33], etc. That's why i need to use the value from [pix_film]. The problem is the value i get from [pix_film] is sometimes wrong (12.5 fps instead 25 fps for one of my movies). So my movie play very slow. However, VLC returns the good value with the same movie (25 fps). I would like to know, is there a method to avoid this problem (install other libs and compile to manage movies in GEM or something else ?). ++
Jack
At least, I can use qtinfo and grep with [shell]. ++
Jack
Le vendredi 01 janvier 2010 à 21:11 +0100, IOhannes m zmölnig a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Jack wrote:
Le mercredi 30 décembre 2009 à 11:03 +0100, IOhannes zmölnig a écrit :
video-support use mpeg : no use mpeg-3 : yes use QuickTime : yes use aviplay : no use gmerlin : no
libquicktime-dev (version 2:1.1.1+debian-1build1) libmpeg3-1 (is it correct ?) (version 1.5.4-5)
When i load a movie with [pix_film], i get in the console : pix_film:: quicktime support pix_film:: libmpeg3 support [pix_film]: opening /home/jack/Vidéos/71 fragments d'une chronologie du hasard.avi with format 1908 [pix_film]: ... [pix_film]: ... [pix_film]: ... [pix_film]: loaded file: /home/jack/Vidéos/71 fragments d'une chronologie du hasard.avi with 142529 frames (576x320) at 12.500000 fps
Thanx for help. I have not the possibility to put the movie (639.5 Mio) on a server now.
indeed. anyhow, you configuration tells me, that libquicktime is the used backend. what does "qtinfo" (part of quicktime-utils) tell you about the framerate of your file?
fgamsdr IOhannes
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAks+VvMACgkQkX2Xpv6ydvTy0gCeLEWsSNqI7gEZjpzOasV9UCLQ j9oAn3ylNbikPfCaLlHIW+OfoshS3OkT =Xo52 -----END PGP SIGNATURE-----
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Jack wrote:
Hello Iohannes,
Thanx for your answer. Here is what i get from qtinfo :
Type: AVI 1 audio tracks. 2 channels, 0 bits, sample rate 48000, length 273663360 samples, wav_id 0x55. Sample format: 16 bit signed. Channel setup: Not available Language: eng supported. 1 video tracks. 576x320, depth 12 rate 12.500000 [25:2] not constant length 142530 frames compressor XVID. Native colormodel: YUV 4:2:0 planar Interlace mode: None (Progressive) Chroma placement: MPEG-2 No timecodes available supported. 0 text tracks.
It seems i have 'rate 12.500000 [25:2] not constant'. What does it mean ? So in my case, i would like to get 25 (from [pix_film]) to play my movie at a 'normal' speed. Is there a way to get this ?
hmm, i can only think of 2 issues here: - - either libquicktime is buggy and wrongly detects the framerate as 12.5 (it says 25:2, because framerates are usually expressed as an integer numerator/denumerator pair) - - or your video has indeed a variable framerate, with the default (or 1st frame) at 12.5fps, and then speeding up the video to 25fps
gem only reports the framerate after opening, so it doesn't really handle variable framerates at all. if the problem is indeed libquicktime related, you could also try to compile Gem with gmerlin_avdec support and see whether this helps (even though the author of libquicktime and gmerlin_avdec is the same; so the bug might be in both libs)
At least, I can use qtinfo and grep with [shell].
yes; but what would that help?
mgdasr IOhannes