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.

 

Go Back   Doom9's Forum > General > Linux, Mac OS X, & Co
Register FAQ Calendar Today's Posts Search

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 14th October 2009, 15:35   #1  |  Link
cameris
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
Has anybody has an idea why?
cameris is offline   Reply With Quote
 

Tags
5.1, audio, encoding, ffmpeg, sox


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:47.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.