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. |
10th March 2019, 22:21 | #1 | Link |
Registered User
Join Date: Oct 2009
Posts: 42
|
Decoding 3.1 AC3 with AZID or FFmpeg and piping it
I need to convert AC3 3.1 (C L R BC) to WAV and then to AAC. eac3to is useless because it requires -simple for 3.1, and this produces FL FR SL SR. FFmpeg does the job. It decodes to 16-bit by default, I don't know which other option to use. And I didn't find if it supports stdout. AZID does, but with the options shown it delivers FL FR SL SR. Also, when piping to QAAC, I get 2.0.
Code:
FOR %%A IN (*.ac3) DO AZID -d3/2 -ol,c,r,s -F wav24 "%%A" - | QAAC - -o "%%~nA.m4a |
11th March 2019, 04:00 | #2 | Link |
SuperVirus
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 1,351
|
That's not 3.1, it's 3(/0)/1.
The channel-layout 3/1 is supported in AAC. With qaac, you'll need to specify the correct channel-mask (decimal value = 263, hexadecimal value = 0x0107). Also, make sure FFmpeg (or something else) outputs the uncompressed stream in the WAVE_FORMAT_EXTENSIBLE format. |
11th March 2019, 04:04 | #3 | Link | |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
Quote:
Channel layout: C L R Cb
__________________
BeHappy, AviSynth audio transcoder. |
|
12th March 2019, 03:30 | #4 | Link |
Registered User
Join Date: Oct 2009
Posts: 42
|
In eac3to without -simple, with my AC3 3/1 (C L R Cb) I get "Not available input file format" (The format of the source file could not be detected). By running -test I find that Sonic Audio Decoder is missing. What else can cause the error?
|
12th March 2019, 10:37 | #5 | Link |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
Please upload the full log.
The Sonic Audio Decoder is not needed at all. If eac3to show "Not available input file format" maybe that input file is corrupt, but I don't understand how the -simple parameter can make any difference.
__________________
BeHappy, AviSynth audio transcoder. |
Thread Tools | Search this Thread |
Display Modes | |
|
|