Receive MPEG2TS over multicast UDP and transcode to H264 HLS

jamielin jamielin848 at gmail.com
Mon May 4 18:18:00 PDT 2015


I have a project to build a small transcoder with Raspberryi Pi 2 and
gstreamer.

The input source is multicast UDP MPEG2 Transport stream (SPTS) and
gstreamer receives it and transcoding to H264. The output could be a MP4
file, RTMP stream and HLS (integrate with m3u8-segmenter).

Multicast UDP Destination IP: 224.224.224.2
Multicast UDP Destination Port: 1234

Here is my gst-launch-1.0 command and there is no output to mp4 file.
gst-launch-1.0 -v udpsrc port=1234 multicast-group=224.224.224.2 ! tsdemux !
avdec_mpeg2video ! deinterlace ! omxh264enc !
"video/x-h264,profile=high,control-rate=variable,target-bitrate=2000000,quant-i-frames=250"
! h264parse ! mp4mux ! filesink location='./output.mp4'

Is there something wrong or I missing some procedure?
Thank you.



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Receive-MPEG2TS-over-multicast-UDP-and-transcode-to-H264-HLS-tp4671783.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list