[gst-devel] Hardware-encoded RTP/h264 stream decoding fails after half a minute

Florent fthiery at gmail.com
Tue Aug 19 14:21:48 CEST 2008


Hi,

I'm using a FastVDO SmartCapture device in RTP streaming mode. I'm trying to
decode the stream using gstreamer, with the following pipeline:

GST_DEBUG=2 gst-launch-0.10 -vvv udpsrc port=10000 ! queue ! capsfilter
caps="application/x-rtp, media=(string)video, clock-rate=(int)90000,
encoding-name=(string)H264, profile-level-id=(string)421e00,
sprop-parameter-sets=(string)\"Z0LgHtoFB+Q\\=\\,aM4zyA\\=\\=\",
payload=(int)96, ssrc=(guint)2232983420, clock-base=(guint)2661053933,
seqnum-base=(guint)56495" ! gstrtpjitterbuffer ! rtph264depay ! h264parse !
ffdec_h264 ! ffdeinterlace ! xvimagesink

It works at first, although these warnings keep popping up regularly:
ffmpeg gstffmpegdec.c:1740:gst_ffmpegdec_frame:<ffdec_h2640>00m ffdec_h264:
decoding error (len: -1, have_data: 0)
Note: these warnings also happen when playing with mplayer or gstreamer from
MP4 file.

Then it stops playing, and i see these messages:

ffmpeg :0::00m get_buffer() failed (0 0 1 0x95e92b0)
ffmpeg :0::00m decode_slice_header error
ffmpeg :0::00m no frame!
ffmpeg gstffmpegdec.c:1740:gst_ffmpegdec_frame:<ffdec_h2640>00m ffdec_h264:
decoding error (len: -1, have_data: 0)
ffmpeg :0:00m pic->data[0]!=NULL in avcodec_default_get_buffer
ffmpeg :0:00m get_buffer() failed (-1 0 -1008885199 0xffffffff)
ffmpeg :0::00m decode_slice_header error
ffmpeg :0::00m no frame!

Does anyone have any hint about that ? May some parameters (GOP?) be in
cause ? I can provide the full debug log if necessary

Thanks for any help

Florent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20080819/10107201/attachment.htm>


More information about the gstreamer-devel mailing list