GNOME Bugzilla – Bug 630088
[flvdemux] jerky h.264 video playback
Last modified: 2010-10-01 10:11:03 UTC
When I download a video from arte.tv with rtmpdump or when I watch it directly with Totem (which use librtmp through GStreamer), video playback is jerky. The very same video play smoothly with VLC or Mplayer. (I don't know if this bug happens only with this kind of video) Attached is a file with the first few seconds of a video taken from this site with rtmpdump. Playback is jerky with totem, smooth with VLC or Mplayer. Totem says the video has 25 fps whereas VLC says it has 50 fps.
(file too large, you can find it here: http://malaria.perso.sfr.fr/gstreamer_bug.flv )
commit 9e7b890a22507f06a34ed7f7956fb02392348187 Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Thu Sep 23 16:46:31 2010 +0200 flvdemux: parse and use cts For H264, there is an extra header containing the CTS, which is a timestamp offset that should be applied to the PTS. Parse this value and use it to adjust the pts. Fixes #630088
Many thanks, I confirm that it works with this patch!
I don't why but this update makes my XVID MPEG-4 (624 x 352) videoclips stutter when I play them. If I revert this commit, I'm unable to reproduce the issue. This is weird as I don't think flvdemux is used for XVID MPEG-4. Any ideas?
(In reply to comment #4) > I don't why but this update makes my XVID MPEG-4 (624 x 352) videoclips stutter > when I play them. If I revert this commit, I'm unable to reproduce the issue. > This is weird as I don't think flvdemux is used for XVID MPEG-4. Could you make a sample file/clip available?
I made a sub-clip of one of the videos with which I can reproduce the problem. The complete video stutters 2 or three times after a while (i.e. one minute of video is not enough) and then repeats this behaviour. Unfortunately I can't upload the full video for legal reasons. Here's the sample: http://albertomilone.com/sample.avi
Ignore my comment, it was an issue with the mode that I was using on my HDTV.