[FFmpeg-user] Need help with streaming raw h264 video from N900 to Linux PC using Gstreamer and ffdec_h264

Jonathan Busby jonathanbusby at gmail.com
Fri Sep 2 21:47:20 CEST 2011


Note that I posted this in gstreamer-devel but I have received no responses.
I'm not sure if this is the appropriate forum but it's the closest to the
subject at hand.

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

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,

Jonathan


More information about the ffmpeg-user mailing list