cannot open two videosinks for two programs of mpegts
Alexander Vasiliev
a.vasiliev at geoscan.aero
Wed Dec 13 15:17:52 UTC 2017
Hello!
I have mpegts stream on udp. The stream has two programs inside. I want
to show both programs in one pipeline.
Here are video sources:
gst-launch-1.0 videotestsrc horizontal-speed=1 !
'video/x-raw,width=720,height=576' ! timeoverlay ! x264enc bitrate=3500
key-int-max=25 byte-stream=true ! muxer.sink_300 mpegtsmux name=muxer
prog-map=program_map,sink_300=10 ! udpsink host=127.0.0.1 port=3000 -v
gst-launch-1.0 videotestsrc horizontal-speed=1 pattern=18 !
'video/x-raw,width=720,height=576' ! timeoverlay ! x264enc bitrate=3500
key-int-max=25 byte-stream=true ! muxer.sink_301 mpegtsmux name=muxer
prog-map=program_map,sink_301=11 ! udpsink host=127.0.0.1 port=3000 -v
They can be captured separatly with:
gst-launch-1.0 udpsrc port=3000 ! queue ! tsdemux name=demux
program-number=10 demux. ! 'video/x-h264' ! queue ! h264parse
config-interval=1 ! avdec_h264 ! fpsdisplaysink sync=false
gst-launch-1.0 udpsrc port=3000 ! queue ! tsdemux name=demux
program-number=11 demux. ! 'video/x-h264' ! queue ! h264parse
config-interval=1 ! avdec_h264 ! fpsdisplaysink sync=false
But when i try to capture streams in one pileline i got only one video
window. Here is a pipeline:
gst-launch-1.0 udpsrc port=3000 ! tee name=t ! tsdemux
program-number=11 ! queue2 ! 'video/x-h264' ! h264parse ! avdec_h264 !
autovideosink sync=false async-handling=true async=true t. ! tsdemux
program-number=10 ! queue2 ! 'video/x-h264' ! h264parse ! avdec_h264 !
autovideosink sync=false async-handling=true async=true
The output is full of "Redistribute latency...".
How can i watch to mpeg-ts programs in one pipeline?
--
Best regards,
Alexander Vasiljev
GC Geoscan
Professional aerial imaging systems
Tel. +7 (812) 363-33-67 ext. 1181
https://www.geoscan.aero/en/
More information about the gstreamer-devel
mailing list