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 341736 - [patch] H.263/QDesign Music v.2 movie has great playback problems
[patch] H.263/QDesign Music v.2 movie has great playback problems
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-libav
0.10.3
Other Linux
: Normal normal
: 0.10.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-05-14 12:54 UTC by Sebastian Dröge (slomo)
Modified: 2007-03-07 11:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix state changes and qt audio plugin (10.79 KB, patch)
2006-05-15 15:55 UTC, Wim Taymans
committed Details | Review

Description Sebastian Dröge (slomo) 2006-05-14 12:54:18 UTC
Hi,
with the latest version of gst-ffmpeg, gstreamer 0.10.5.2, gst-plugins-base 0.10.6.2 the following video has some great playback problems: http://ds9a.nl/pdns/balmer.mov

The video stutters, there's a grey bar in the bottom, seeking is impossible, there's a large black border around the video and it seems that audio gets out of sync.

mplayer/xine plays the movie just fine, pitfdll (the 0.10 variant from CVS) explodes on it (segfault) too.

Bye

Ubuntu Bug: https://launchpad.net/distros/ubuntu/+source/gstreamer0.10-ffmpeg/+bug/44519
Comment 1 Wim Taymans 2006-05-15 15:55:04 UTC
Created attachment 65509 [details] [review]
fix state changes and qt audio plugin

a quick patch to fix the obvious errors in pitfdll. Timestamps are still off but the file plays without crashing.
Comment 2 Sebastian Dröge (slomo) 2006-05-15 16:55:13 UTC
Hmm, the patch doesn't fix it completely... when running normally the video just stops with the first frame and nothing else happens, no segfault, no progress, no nothing ;)
When running it with GST_DEBUG=3 GST_DEBUG_NO_COLOR=1 gst-launch-0.10 playbin uri=file:///home/slomo/temp/tests/balmer.mov it works most of the time without crashing so I expect some kind of timing problem somewhere
Comment 3 Sebastian Dröge (slomo) 2006-05-15 16:56:15 UTC
When running it with gst-launch-0.10 without debugging output it has the same behaviour as with totem btw...
Comment 4 Wim Taymans 2006-09-05 15:35:17 UTC
This commit makes it play properly for me. Remaining issues are the borders, which need cropping based on info from the quicktime container.

        * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
        Fix timestamping some more by actually using the ffmpeg parsers
        correctly. Fixes #341736
Comment 5 Wim Taymans 2007-01-09 14:53:48 UTC
        * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
        (gst_ffmpegdec_setcaps), (gst_ffmpegdec_negotiate),
        (get_output_buffer), (gst_ffmpegdec_video_frame),
        (clip_audio_buffer), (gst_ffmpegdec_audio_frame),
        (gst_ffmpegdec_frame), (gst_ffmpegdec_chain),
        (gst_ffmpegdec_register):
        Use caps to clip output images. Fixes #341736