[英]How to set minimum key interval to x264enc element of gstreamer?
I'm working on a gstreamer application that uses x264enc
element. 我正在使用x264enc
元素的gstreamer应用程序上工作。 According to the document below, there is no property to specify minimum key interval while there's key-int-max
. 根据下面的文档, 没有属性指定最小键间隔,而存在key-int-max
。 https://thiblahute.github.io/GStreamer-doc/x264-1.0/index.html?gi-language=c https://thiblahute.github.io/GStreamer-doc/x264-1.0/index.html?gi-language=c
On the other hand, there's --min-keyint
property in FFmpeg option. 另一方面,FFmpeg选项中有--min-keyint
属性。 https://sites.google.com/site/linuxencoding/x264-ffmpeg-mapping https://sites.google.com/site/linuxencoding/x264-ffmpeg-mapping
How to set minimum key interval to x264enc element of gstreamer? 如何为gstreamer的x264enc元素设置最小密钥间隔?
Thanks in advance. 提前致谢。
You may try the option-string
property in x264enc
: 您可以尝试在x264enc
使用option-string
属性:
option-string : String of x264 options (overridden by element properties)
flags: readable, writable
String. Default: ""
This basically hands of options to libx264
. 这基本上是libx264
的选项。 Unfortunately I forgot the syntax that you need to use here.. Could have been option-string=min-keyint=x
but perhaps double checking the x264enc
element's code should give some more hints here. 不幸的是,我忘记了这里需要使用的语法。.可能是option-string=min-keyint=x
但是也许x264enc
检查x264enc
元素的代码应该在这里提供更多提示。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.