[gstreamer-bugs] [Bug 580810] New: Stuttering and crash with some H.264 files

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Apr 29 14:20:17 PDT 2009

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:

  GStreamer | gst-ffmpeg | Ver: git
           Summary: Stuttering and crash with some H.264 files
           Product: GStreamer
           Version: git
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-ffmpeg
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: tdb at tdb.fi
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified

I have a few Matroska files containing H.264 video and AAC audio which cause
severe hiccups and finally an abort, with the following message:

ERROR               ffmpeg :0:: Internal error, picture buffer overflow

Backtrace from the abort is:

#0  0xb7fcb424 in __kernel_vsyscall ()
#1  0xb7ca5670 in *__GI_raise (sig=6) at
#2  0xb7ca7038 in *__GI_abort () at abort.c:88
#3  0xb7020180 in MPV_frame_start (s=0xb660a020, avctx=0x9bd0be0) at
#4  0xb708ed07 in frame_start (h=0xb660a020) at libavcodec/h264.c:2227
#5  0xb7099b87 in decode_slice_header (h=0xb660a020, h0=0xb660a020) at
#6  0xb70bc053 in decode_nal_units (h=0xb660a020, buf=0x90b15dc0 "",
buf_size=311) at libavcodec/h264.c:7500
#7  0xb70bc8d5 in decode_frame (avctx=0x9bd0be0, data=0x9bd00d0,
data_size=0xb6e34c90, buf=0x90b15dc0 "", buf_size=311)
    at libavcodec/h264.c:7701
#8  0xb6f37eee in avcodec_decode_video (avctx=0x9bd0be0, picture=0x9bd00d0,
got_picture_ptr=0xb6e34c90, buf=0x90b15dc0 "", 
    buf_size=311) at libavcodec/utils.c:529
#9  0xb6ea15de in gst_ffmpegdec_frame (ffmpegdec=0x9d02008, data=0x90b15dc0 "",
size=311, got_data=0xb6e34dac, 
    in_timestamp=54805000000, in_duration=41708299, in_offset=-1,
ret=0xb6e34da8) at gstffmpegdec.c:1537
#10 0xb6ea40e5 in gst_ffmpegdec_chain (pad=0x9c321c8, inbuf=0xb6514720) at
#11 0xb7f62605 in gst_pad_chain_unchecked (pad=0x9c321c8, buffer=0xb6514720) at
#12 0xb7f63a1a in gst_pad_push (pad=0x9c32648, buffer=0xb6514720) at
#13 0xb773795a in gst_matroska_demux_parse_blockgroup_or_simpleblock
(demux=0x9c3a098, cluster_time=54144, is_simpleblock=0)
    at matroska-demux.c:4281
#14 0xb773dc91 in gst_matroska_demux_loop (pad=0x9c32108) at
#15 0xb7f86ec3 in gst_task_func (task=0x9d05420, tclass=0x9b65418) at

I have put the beginning of one such file (8MB) on my webserver at:


It's the beginning of Ghost Hound episode 13, as fansubbed by Shinsen-Subs. 
Please think before downloading, I only have 1Mbit upstream and I hope to not
get it bogged.  The crash can be obtained with:

gst-launch-0.10 filesrc location=GH13.mkv ! matroskademux ! ffdec_h264 !
appsink sync=false

The sync=false is optional, but makes it reach the crash point much faster (6
seconds vs. a minute).

See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=580810.

More information about the Gstreamer-bugs mailing list