AnsweredAssumed Answered

h264 video file streaming from imx6 to PC

Question asked by Abdul Hussain on Jun 26, 2015

Hi All,

 

I am trying to stream h264 video .mp4 file from imx6 using gstreamer to PC in vlc player. Only one frame is being displayed in vlc player.

 

 

imx6 side:

 

gst-launch-1.0 -v filesrc location=./test.mp4 ! decodebin ! vpuenc ! queue ! rtph264pay ! udpsink host=224.0.0.1 port=3000 auto-multicast=true multicast-iface=eth0

 

 

PC side:

 

sdp file:

v=0

c=IN IP4 224.0.0.1

m=video 3000 RTP/AVP 96

a=rtpmap:96 H264/90000

a=framerate=30

 

I could able to receive video using below gstreamer pipeline, but facing issue in playing with vlc

 

gst-launch-1.0 udpsrc auto-multicast=true port=3000 caps = 'application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264' ! rtph264depay ! decodebin ! xvimagesink

 

Can anybody please help me to resolve this issue?

 

 

Thanks,

Abdul Hussain

Original Attachment has been moved to: gstreamer.log.zip

Original Attachment has been moved to: vlc.log.zip

Outcomes