<div dir="ltr"><div>Hello,</div><div><br></div><div>I am attempting to build a gstreamer pipe that captures video, encodes it, puts it into a transport stream and then broadcasts over the network.  Using the below command I am able to start VLC listening on the port for the RTP stream, execute the pipeline and everything works perfectly.  However if I execute the pipeline and then start VLC listening the stream never comes through, monitoring the network traffic I see that either way there is data being sent from the machine that is executing the pipeline.  </div><div><br></div><div><div><br></div><div>gst-launch-1.0 ! x265enc ! mpegtsmux pat-interval=3000 pmt-interval=3000 ! rtpmp2tpay ! udpsink host=192.168.11.255 port=26000 auto-multicast=TRUE sync=true</div></div><div><br></div><div><br></div><div>While trying to debug the problem I executed the below pipelines and received the included output and it seems to indicate that the mpegtsmux is only sending the PMT and PAT at the very beginning of each stream and never again.  I have left this running for multiple minutes and receive only the first line of output within the first 100mS of execution of the pipeline.</div><div><br></div><div><br></div><div>gst-launch-1.0 --gst-debug=mpegtsmux:6 videotestsrc ! x265enc ! mpegtsmux pat-interval=3000 pmt-interval=3000 ! rtpmp2tpay ! udpsink host=192.168.11.255 port=26000 auto-multicast=TRUE sync=true 2>&1 | grep --ignore-case pmt</div><div>0:00:00.096035356  1856      0x27ad450 DEBUG              mpegtsmux tsmux.c:1222:tsmux_write_pmt: PMT for program 1 has 1 streams</div><div><br></div><div><br></div><div><div>gst-launch-1.0 --gst-debug=mpegtsmux:6 videotestsrc ! x265enc ! mpegtsmux pat-interval=3000 pmt-interval=3000 ! rtpmp2tpay ! udpsink host=192.168.11.255 port=26000 auto-multicast=TRUE sync=true 2>&1 | grep --ignore-case pat</div><div>0:00:00.070643306  1886      0x156a450 DEBUG              mpegtsmux tsmux.c:1156:tsmux_write_pat: PAT has 1 programs</div></div><div><br></div><div><br></div><div>Is there a known bug with mpegtsmux, or a problem with how I'm using it that is keeping it from sending the PMT and PAT periodically? (I have tried without specifying the pat-interval and pmt-interval properties on the command line with the same results)<br></div><div><br></div><div>Thanks!</div><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Greg S</div></div></div></div></div></div></div></div></div>
</div>