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

Marton Balint cus at passwd.hu
Mon Feb 18 23:43:46 EET 2019



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

Regards,
Marton


More information about the ffmpeg-devel mailing list