[FFmpeg-devel] [PATCH] ffmpeg: implement input file stream disabling

Michael Niedermayer michael at niedermayer.cc
Wed Dec 12 00:10:12 EET 2018


On Mon, Dec 10, 2018 at 08:57:44PM +0530, Gyan wrote:
> At Michael's suggestion, this patch lets -vn/-an/-sn/-dn work for input
> files. Individual streams can still be let through e.g.
> 
>     ffmpeg -an -discard:a:1 none -i file ...
> 
> will let (only) the 2nd audio stream be seen during stream selection and
> filtergraph construction.
> 
> Thanks,
> Gyan

>  ffmpeg_filter.c |    7 +++++++
>  ffmpeg_opt.c    |   17 +++++++++++++++++
>  2 files changed, 24 insertions(+)
> 212c7bcecbd62329f3f18893c71f464ebeee3b67  0001-ffmpeg-implement-input-file-stream-disabling.patch
> From 9823a71f2055f2c4c4484536291bbd2afee36a81 Mon Sep 17 00:00:00 2001
> From: Gyan Doshi <ffmpeg at gyani.pro>
> Date: Mon, 10 Dec 2018 20:38:20 +0530
> Subject: [PATCH] ffmpeg: implement input file stream disabling
> 
> -vn/-an/-sn/-dn can be set to stop processing of streams
> of said type from an input file.

isnt this 2 seperate changes ?
one is adding -vn/-an/-sn/-dn input support and the other is fixing some input
discard issues related to existing -discard functionality

if thats the case it should be 2 seperate patches

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

"Nothing to hide" only works if the folks in power share the values of
you and everyone you know entirely and always will -- Tom Scott

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181211/fc734abb/attachment.sig>


More information about the ffmpeg-devel mailing list