mpegtsmux pmt-interval/pat-interval

Greg Stahl gregstahl at churchillnavigation.com
Fri Oct 13 20:13:52 UTC 2017


Ok, so switching to the x264enc module fixes the problem, even without
using the "key-int-max" parameter, though setting the parameter to a low
value does enable VLC to pick up the stream quicker than the default.

Interestingly though the mpegtsmux is still only sending the PMT and PAT
once according to log output even with the properties set to 3000:

gst-launch-1.0 --gst-debug=x264enc:6,mpegtsmux:9 videotestsrc ! x264enc !
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
0:00:00.059882508 32056      0x1c44850 DEBUG              mpegtsmux
tsmux.c:1222:tsmux_write_pmt: PMT for program 1 has 1 streams

Greg S

On Fri, Oct 13, 2017 at 1:38 PM, Nicolas Dufresne <nicolas at ndufresne.ca>
wrote:

> Le vendredi 13 octobre 2017 à 09:13 -0600, Greg Stahl a écrit :
> > It looks like the option-string property is parsed using the
> > "gst_x265_enc_parse_options" function on line 578 in "gstx265enc.c" (
> > https://github.com/GStreamer/gst-plugins-bad/blob/master/ext/x265/gst
> > x265enc.c) Then the "x265_param_parse" function is called, but I
> > can't find any definition of this anywhere in the entire gst-plugins-
> > bad repository.
>
> Sorry, I was assuming all properties from x264 has been added into the
> x265 element. Best is to patch x265enc to support the same properties
> as x264enc. For your interest, x265enc is base on x264enc which is
> found in gst-plugins-ugly repository.
>
> For the option string, you should be able to handle anything, but we
> don't document this as it's a X265 feature. This property is intented
> to be used by people that knows how the x265 command line option string
> works.
>
> regards,
> Nicolas
> _______________________________________________
> 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/20171013/083447e4/attachment.html>


More information about the gstreamer-devel mailing list