correct pipeline state for setting properties for x264enc
Andres Gonzalez
andres.agoralabs at gmail.com
Fri Apr 6 22:37:49 UTC 2018
Hi,
The output of gst-inspect for x264enc includes this property:
key-int-max: Maximal distance between two key-frames (0 for automatic)
flags: readable, writable
Unsigned Integer. Range: 0 - 2147483647 Default: 0
The flags state that this property is both readable and writable. If it
doesn't explicitly state writable in various pipeline states (like PAUSED,
PLAYING, etc) is that not allowed? That is, must a given element property
state explicitly that it is writable in the PLAYING state for that to be
possible?
The reason I am asking is that I want to change the "key-int-max" property
in realtime for the stream but I am getting an warning that I am trying to
set a property in the wrong state.
What is the minimum pipeline state that would allow me to change the
"key-int-max" property in a running pipeline? PAUSED? READY? or do I
have to go back to NULL?
thanks,
-Andres
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list