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 630088 - [flvdemux] jerky h.264 video playback
[flvdemux] jerky h.264 video playback
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 0.10.26
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-09-19 17:13 UTC by Nicolas Delvaux
Modified: 2010-10-01 10:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Nicolas Delvaux 2010-09-19 17:13:39 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.
Comment 1 Nicolas Delvaux 2010-09-19 17:19:49 UTC
(file too large, you can find it here: http://malaria.perso.sfr.fr/gstreamer_bug.flv )
Comment 2 Wim Taymans 2010-09-23 14:49:03 UTC
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
Comment 3 Nicolas Delvaux 2010-09-23 16:34:19 UTC
Many thanks, I confirm that it works with this patch!
Comment 4 Alberto Milone 2010-09-27 10:29:04 UTC
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?
Comment 5 Tim-Philipp Müller 2010-09-27 11:44:21 UTC
(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?
Comment 6 Alberto Milone 2010-09-27 13:50:29 UTC
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
Comment 7 Alberto Milone 2010-10-01 10:11:03 UTC
Ignore my comment, it was an issue with the mode that I was using on my HDTV.