Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
14th October 2009, 15:35 | #1 | Link |
Registered User
Join Date: Oct 2009
Posts: 3
|
audio encoding with ffmpeg | sox | ffmpeg
Hi,
I have a problem to encode audio tracks in my encoding script. It uses ffmpeg to encode to aac and for 5.1 tracks also sox to get the channel order right. I have tested it on a couple of tv-series (longest was 45 min) and everything has worked great. But now I have tested it on some full featured movies and on every 5.1 audio track it hangs aroung 80MB (output file, bitrate: 128k) and I dont have a clue why. It doesnt give a error message neither quits, it just stops doing anything. The command for 5.1 looks like this: Code:
ffmpeg -i $input -async 1 -vsync 1 -v 0 -map $map -vn -sn -ac 6 -acodec pcm_s16le -ar $afreq -f wav - | \ sox -t raw -s -2 -c 6 -r $afreq - -t wav - remix -m 6 5 1 2 3 4 | \ ffmpeg -i - -ac 6 -v 0 -y -acodec libfaac -ab $audioquality $audiofile |
Tags |
5.1, audio, encoding, ffmpeg, sox |
|
|