View Single Post
Old 5th April 2013, 11:47   #12232  |  Link
robertcollier4
Registered User
 
Join Date: Nov 2012
Posts: 30
Quote:
Originally Posted by Anakunda View Post
This ffmpeg -i temp.wav -f f32le - | qaac --ignorelength -o English.m4a --tvbr 100 - generates an error. Advices please.
Try this:
Quote:
ffmpeg.exe -report -loglevel verbose -i "moviename.mkv" -map 0:a:0 -f wav -acodec pcm_f32le - | qaac.exe --tvbr 127 --quality 2 --rate keep --ignorelength --no-delay - -o "moviename-audio.m4a"
Regarding the --no-delay switch for qaac. Most compressors such as AAC and MP3 prepend 2112 samples to the beginning. Read here the section titled "Historical Solution—Implicit Encoder Delay". Normally all AAC encoders (including neroaacenc and Quicktime) will add 2112 samples (44 ms at 48Khz samples/sec) to the beginning of the audio file and store this information in a tag. If you remux with mkvmerge or play with a supported player - then it should detect that the audio file has an encoder delay in the beginning of it and skip it - however, to increase compatability with all muxers and players qaac can chop off the encoder delay at the beginning to make it so that the beginning of your audio file is the same as the input which then makes it irrelevant of whether your muxer/player will be able to detect and remove the encoder delay or not.

If trying to pipe directly from eac3to to qaac and qaac is not accepting the file, try the -full switch for eac3to which will instruct it to send qaac the full internally used conversion bit-depth rate without applying any down dithering at all.
Quote:
"eac3to.exe" "source.dtshd" "stdout.wav" -full | "qaac.exe" --tvbr 127 --quality 2 --rate keep --ignorelength --no-delay - -o "output.m4a"

Last edited by robertcollier4; 5th April 2013 at 12:06.
robertcollier4 is offline