cannot open two videosinks for two programs of mpegts

Peter Maersk-Moller pmaersk at gmail.com
Wed Dec 13 19:33:02 UTC 2017


Hi Alexander.

UDP is not a magical muxer that can mux two streams from two different
sources. You need to mux the two stream in a single pipeline.

Regards
Peter MM

On Wed, Dec 13, 2017 at 4:17 PM, Alexander Vasiliev <a.vasiliev at geoscan.aero
> wrote:

> 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/
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20171213/36319312/attachment.html>


More information about the gstreamer-devel mailing list