[FFmpeg-user] Batch Join multimono to multichannel Auido (wav / aif)

Luigi Rensinghoff soundgigi at freenet.de
Wed Jul 9 21:47:33 CEST 2014


You are right ... 

   it's more a shell scripting question, but i assumed people here a familiar with it - a little bit, since it's common task.

I just don't know, how to use variables 

$f, f% and that shit - when to use what..

but i will look for a shell scripting mailing list

Thanks

Am 09.07.2014 um 21:09 schrieb Nicolas George <george at nsup.org>:

> Le primidi 21 messidor, an CCXXII, Luigi Rensinghoff a écrit :
>> ffmpeg 
>> -i „$f“.L.aif
>> -i "$f“.R.aif 
>> -i "$f“.C.aif 
>> -i "$f“.LFE.aif 
>> -i "$f“.Ls.aif 
>> -i "$f“.Rs.aif 
>> 
>> -filter_complex "[0:a][1:a][2:a][3:a][4:a][5:a]amerge=inputs=6[aout]" -map "[aout]"   
>> 
>> ${f%.aif}_6ch.wav
> 
> Assuming these strange double quotes and extraneous newlines were introduced
> by your bogus mail software and not present in your script...
> 
>> Can anyone help ???
> 
> ... I believe you forgot to explain what exactly you need help for. But
> since your command works when you enter the file names explicitly, I suspect
> your question would be more at its place, and get better and faster answers
> on a forum or mailing-list dedicated to Unix and shell scripting.
> 
> Regards,
> 
> -- 
>  Nicolas George



More information about the ffmpeg-user mailing list