streaming an h264 in mp4 video over udp

michaelg michaelg at linux4biz.com
Wed Mar 29 07:42:26 UTC 2017


Hi,
i am trying to stream an h264 mp4 over udp on a linux ubuntu 14.04 machine,
at first stage the sender and receiver on the same machine through a
localhost.

fitst i managed to play the mp4 using the following pipeline:
gst-launch-1.0 filesrc location=/home/michael/Downloads/bbb_h264.mp4 !
qtdemux name=demux demux. ! queue ! faad ! audioconvert ! audioresample !
autoaudiosink demux. ! queue ! avdec_h264 ! videoconvert ! autovideosink

then i tried to break this pipeline to the sender and receiver pipelines
based on all the posts i saw.
i removed the audio to simplify the task at this stage so the sender and
receiver looks as following:

sender:
gst-launch-1.0 filesrc location=/home/michael/Downloads/bbb_h264.mp4 !
qtdemux ! rtph264pay ! udpsink 

reciever:
gst-launch-1.0 -v udpsrc ! application/x-rtp ! rtph264depay ! avdec_h264 !
videoconvert ! autovideosink

the udp using the default port (i tested it with the test src and the
communication works)
i get no errors but the video doesnt play.

could you advice what am i doing wrong?
thanks




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/streaming-an-h264-in-mp4-video-over-udp-tp4682444.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list