[FFmpeg-devel] [PATCH 2/4] avformat/utils: be more strict about stream specifiers

Carl Eugen Hoyos ceffmpeg at gmail.com
Tue Feb 19 21:38:15 EET 2019


2019-02-18 22:43 GMT+01:00, Marton Balint <cus at passwd.hu>:
>
>
> On Sun, 17 Feb 2019, Carl Eugen Hoyos wrote:
>
>> 2019-02-17 20:55 GMT+01:00, Marton Balint <cus at passwd.hu>:
>>> This reworks the code to be more strict about accepting
>>> stream specifiers. From now on we strictly enforce the
>>> syntax in the documentation up until the decisive part of
>>> the stream specifier. Therefore matching stream specifiers
>>> always need to be correct, non matching specifiers only
>>> need to be correct until the decisive part.
>>
>> Could you give an example for something that changes
>> behaviour with this patch?
>
> ffmpeg -f lavfi -i testsrc -codec:voohoo mpeg2video out.avi
>
> Example for the next patch:
>
> ffmpeg -f lavfi -i testsrc -codec:a:xxx mpeg2video out.avi

Thank you!

Carl Eugen


More information about the ffmpeg-devel mailing list