Setting PIDs for mpegtsmux

Peter Maersk-Moller pmaersk at gmail.com
Tue May 26 08:25:29 PDT 2015


Hi

When you are muxing multiple video streams with mpegtsmux, is there then a
way to set/control (on the command line using gst-launch) the PIDs of video
streams that the mpegtsmux chooses for each video stream?

A quick test with the following command line reveals mpegtsmux chooses PID
65 and 66.

gst-launch-1.0 -v videotestsrc name=vsrc1 is-live=true do-timestamp=true !
x264enc ! queue ! h264parse ! mpegtsmux name=muxer ! queue ! tcpserversink
host=0.0.0.0 sync-method=2 recover-policy=keyframe port=5000  videotestsrc
name=vsrc2 is-live=true do-timestamp=true ! x264enc ! queue ! h264parse !
muxer.

Assuming you have audio as well, is there a way to set/control which audio
stream belongs to which video stream (for PAD/PMT) ?

Best regards
Peter MM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150526/83e277b7/attachment.html>


More information about the gstreamer-devel mailing list