Hardware-encoded RTP/h264 stream decoding fails after half a minute

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Hardware-encoded RTP/h264 stream decoding fails after half a minute

Florent THIERY-2
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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel