Log in

View Full Version : Error decoding raw H.264 stream using Gstreamer


jdb2
4th September 2011, 12:04
I've posted this in gstreamer-devel and ffmpeg-user but have received no responses. Hopefully this forum is appropriate.

-------------------------------------------------------------

I'm trying to find a less bandwidth intensive way of streaming video from my Nokia N900's main back camera to my desktop other than sending it as a stream of jpeg frames.

I thought the following would work :

N900 : gst-launch v4l2camsrc device=/dev/video0 ! ffmpegcolorspace ! dsph264enc ! tcpserversink host=aleph1.clarkconnect.lan port=5000

PC : gst-launch tcpclientsrc host=192.168.1.179 port=5000 ! ffdec_h264 ! ffmpegcolorspace ! autovideosink

but on the PC side I get this error :

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/ffdec_
h264:ffdec_h2640: Internal GStreamer error: negotiation problem. Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
Additional debug info:
gstffmpegdec.c(2684): gst_ffmpegdec_chain (): /GstPipeline:pipeline0/ffdec_h264:ffdec_h2640:
ffdec_h264: input format was not set before data start
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

Might anyone know what is going on above?

Thanks,

jdb2