mpegtsmux pipeline appears correct but no network activity

Andres Gonzalez andres.agoralabs at gmail.com
Wed Mar 21 19:07:21 UTC 2018


Hi,
This pipeline works great and the input yuv file is rendered without error.
It is about a 24 second file:

gst-launch-1.0 -v filesrc location=$FILE blocksize=518400 do-timestamp=true
\
       ! videoparse format=2 width=720 height=480 framerate=30/1
framesize=518400 \
       ! videoconvert ! videorate \
       ! ximagesink

Now I want to extend this to stream the file using MPEG-TS in a UDP stream
(without RTP) to another application that reads MPEG-TS streams:

gst-launch-1.0 -v filesrc location=$FILE blocksize=518400 do-timestamp=true
\
        ! videoparse format=2 width=720 height=480 framerate=30/1
framesize=518400 \
        ! videoconvert ! videorate ! x264enc byte-stream=true bitrate=5000 \
        ! queue ! mpegtsmux alignment=7 pat-interval=9000 pmt-interval=9000
\
        ! queue ! udpsink host=192.68.70.15 port=12345 sync=false

This runs without errors, but there is no network activity, that is,
wireshark sees nothing. The debug output shows the pipeline going to the
PLAYING state, but after about 15 seconds the pipeline gets an EOS which is
before the end of the file. 

What is wrong with this pipeline?
What would be causing this pipeline to exit before the end of the file? 
some sort of timeout?
Why isn't this pipeline writing data to the udp stream?

Thanks,
-Andres






--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list