After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 332072 - Too fast playback of h263p encoded file
Too fast playback of h263p encoded file
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-libav
0.10.0
Other All
: Normal normal
: 0.10.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-02-21 18:34 UTC by Simon Lanzmich
Modified: 2006-02-25 13:04 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Simon Lanzmich 2006-02-21 18:34:52 UTC
Please describe the problem:
When I try to play back a file recorded with mencoder using the following
command line:
/usr/bin/mencoder tv:// -tv driver=v4l2:alsa:amode=1:forceaudio:volume=100:\
                quality=100:amode=1:decimation=1:\
                height=540:width=768:freq=196.25 \
                -vf pp=hb:a/vb:a/dr:a/fd -ovc lavc \
                -lavcopts vcodec=h263p:vbitrate=4000:mbcmp=6:aspect=1.402 \
                -vf-add crop=720:540 -oac lavc \
                -o /home/simon/Downloads/test.avi -of avi

it doesn't get played back correctly. Irrespective of whether I use totem or a
pipeline build with gst-launch using the playbin, the video playback is far too
fast while the audio playback works ok.
If I uninstall gstreamer-ffmpeg, totem gives the following error message:

** Message: don't know how to handle video/x-h263, framerate=(fraction)25/1,
width=(int)720, height=(int)540

which makes me think that the framerate has been correctly read from the file.


Steps to reproduce:
1. create a video file using the command mentioned above
2. try to play it with mplayer -- works
3. try to play it with gstreamer -- doesn't work (see above)


Actual results:
While the audio track is played back with the correct speed, the video is far
too fast.

Expected results:
The video file should be played back correctly.

Does this happen every time?
Always

Other information:
Tried this on a x86_64 running Fedora rawhide

gstreamer-0.10.3-3
gstreamer-ffmpeg-0.10.0-0.gst.1.1
gstreamer-plugins-ugly-0.10.1-0.gst.1.4

Are there any additional information I can give?
Comment 1 Luca Ognibene 2006-02-21 20:31:56 UTC
Can you provide a small example file? thanks!
Comment 2 Simon Lanzmich 2006-02-21 22:00:47 UTC
Can I provide this file somehow via email, because I can't put it online anywhere and it is too large to attach it to this bug?
Comment 3 Luca Ognibene 2006-02-21 22:41:33 UTC
You can try: luca.ognibene at gmail.com
Comment 4 Luca Ognibene 2006-02-25 13:04:31 UTC
Thanks for the file:
(it's here now: http://skaboy.no-ip.org/~luogni/video/test.avi).
I can replicate the bug with ubuntu packages but it works fine with current cvs so.. bug closed!