Skip to main content

Notice

Please be aware that much of the software linked to or mentioned on this forum is niche and therefore infrequently downloaded. Lots of anti-virus scanners and so-called malware detectors like to flag infrequently downloaded software as bad until it is either downloaded enough times, or its developer actually bothers with getting each individual release allow listed by every single AV vendor. You can do many people a great favor when encountering such a "problem" example by submitting them to your AV vendor for examination. For almost everything on this forum, it is a false positive.
Topic: Limit number of channels to 6 (Read 4088 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Limit number of channels to 6

Hi,

i use costum action in thunar to convert audio files to aac. the script is very simple

Code: [Select]
ffmpeg -i file -nostdin -f wav - | fdkaac -I -m 2 - -o output

i use a pipe with ffmpeg because it supports more input formats. i want to keep the number of channels of the input file, except its more then 6, when the output file should have 6 channels. i dont need 6.1 or 7.1 or such things. i cant find an option to limit the channels in ffmpeg or fdk aac. there is only the option to set the channels to n. For that i need to edit the script: read out the channels of the input file and keep it or set the output channels to 6 if its a input with 6+ channels. before i do this i want to ask if there are option in ffmpeg or fdk aac to do this.

 
SimplePortal 1.0.0 RC1 © 2008-2021