AnsweredAssumed Answered

Gstreamer don't stream h264

Question asked by Volodymyr Makhitko on Nov 6, 2014
Latest reply on Nov 11, 2014 by Yuri Muhin

Hi all!

 

I try to stream h264.

 

i.MX:

gst-launch -v v4l2src device=/dev/video1 ! 'video/x-raw-yuv,width=640,height=480,framerate=30/1' ! ffmpegcolorspace ! vpuenc codec=6 ! rtph264pay ! tcpserversink host=192.168.0.2 port=500

 

PC:

gst-launch-1.0 -v tcpclientsrc host=192.168.0.2 port=500 ! gdpdepay ! rtph264depay ! avdec_h264 ! videoconvert ! autovideosink sync=false

 

Got error:

 

Setting pipeline to PAUSED ...

Pipeline is PREROLLING ...

ERROR: from element /GstPipeline:pipeline0/GstGDPDepay:gdpdepay0: Could not decode stream.

Additional debug info:

gstgdpdepay.c(396): gst_gdp_depay_chain (): /GstPipeline:pipeline0/GstGDPDepay:gdpdepay0:

GDP packet header does not validate

ERROR: pipeline doesn't want to preroll.

Setting pipeline to NULL ...

Freeing pipeline ...

 

Any suggestion please?

 

Thanks!

Outcomes