I checked it works before replying.
Thanks,
maybe let's get on the same page what we both think is working and what not.
I used this simple script:
ffmpeg -i $1 -map 0:v:0 -c:v:0 libx264 -x264-params
"keyint=24:bframes=1" -map 0:v:0 -c:v:1 libx264 -x264-params
"keyint=72:bframes=3" $2 -y
Hi Nicolas,
I guess it is supposed to work in this way but it doesn't. And if you look
in the code you will see, than only one codec_opt is served for all c:v:0,
c:v:1 etc.
Best regards,
Alexander
///
On Mon, Apr 26, 2021 at 7:54 PM Nicolas George wrote:
> Alexander Solonsky
Alexander Solonsky (12021-04-26):
> maybe let's get on the same page what we both think is working and what not.
> I used this simple script:
> ffmpeg -i $1 -map 0:v:0 -c:v:0 libx264 -x264-params "keyint=24:bframes=1"
> -map 0:v:0 -c:v:1 libx264 -x264-params "keyint=72:bframes=3" $2 -y
> to create
Alexander Solonsky (12021-04-26):
> I guess it is supposed to work in this way but it doesn't. And if you look
> in the code you will see, than only one codec_opt is served for all c:v:0,
> c:v:1 etc.
I checked it works before replying.
Do not top-post on this mailing-list. If you don't know
Alexander Solonsky (12021-04-26):
> Sometimes it is useful that output video streams have different gop
> structure and other settings. Currently one setting used for all and I
> added a posibility to have it separately
It is already possible by suffixing options names with a colon and the
number