[FFmpeg-user] Filter just the 1st audio channel of the input.

Nicolas George george at nsup.org
Wed Feb 3 20:47:52 EET 2021


Marco Mircoli (12021-02-03):
>    wandering if it is possible to process just the 1st audio channel of an
> input.
> I don't know how many channels I will have as input, but I know that I have
> to process just the 1st and the others I have not to considerate.
> 
> INPUT from mono to multichannel
> filters.....
> OUTPUT just one channel (mono)
> 
> I've tried this but doesn't works
> 
> ffmpeg -i FILE_FROM -map_channel 0.0.0 -af
> highpass=f=70,adeclick,loudnorm=I=-16.5:TP=-1.5:LRA=7 FILE_TO

Just use pan=mono|c0=c0 to extract the channel you want wherever you
want in the graph.

No need to completely split the channels, it was meant for versions that
lack the pan filter.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20210203/7287f437/attachment.sig>


More information about the ffmpeg-user mailing list