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 > Audio encoding

Reply
 
Thread Tools Search this Thread Display Modes
Old 28th March 2013, 19:29   #12221  |  Link
frencher
French Love
 
Join Date: Oct 2008
Location: France
Posts: 429
Quote:
Originally Posted by Kurtnoise View Post
I'm not aware of such tool but why not using x264 within frame packing switch & mkv as output ?

Then, you should be able to mux your A/V streams with mkvtoolnix after that...just a guess.
Try CombineMVC.exe and open the ouptut "combinedMVC.h264" with media info

You are Aix en provence (13), i was born in Toulon (83) Tchii, Tchii, Tchii...
__________________
2013-11-29 MVC Player Free v0.0.2.6 BD & 3D BD's Player, Demuxer v0.0.0.8b, Recoder. Tutorial
Demo for MVC Player Free: Trailer 3D

3DBD's Free - v0.0.0.0005.exe Old

Programing free for all.
frencher is offline   Reply With Quote
Old 4th April 2013, 11:46   #12222  |  Link
Anakunda
Registered User
 
Join Date: Jan 2010
Posts: 330
Thanks to all for the feedback about my conversion. Now I'm back to the problem. To resume in short the goal is to make a proper conversion from Dts-HD MA with correct channel mappings to Apple AAC with preserving all channels and using Arcsoft decoder.

Now I got this track

Code:
General
Complete name                            : english.dtshd
Format                                   : DTS
Format/Info                              : Digital Theater Systems
Format profile                           : MA / Core
File size                                : 3.21 GiB
Overall bit rate mode                    : Variable

Audio
Format                                   : DTS
Format/Info                              : Digital Theater Systems
Format profile                           : MA / Core
Mode                                     : 16
Format settings, Endianness              : Big
Bit rate mode                            : Variable
Bit rate                                 : Unknown / 1 509 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 24 bits
Compression mode                         : Lossless / Lossy

[dts @ 0000000002127520] max_analyze_duration 5000000 reached at 5002667 microseconds
[dts @ 0000000002127520] Estimating duration from bitrate, this may be inaccurate
Input #0, dts, from 'english.dtshd':
  Duration: 04:59:34.15, start: 0.000000, bitrate: 1535 kb/s
    Stream #0:0: Audio: dts (DTS-HD MA), 48000 Hz, 5.1(side), fltp, 1536 kb/s
(The true duration is 2h45m)

Using eac3to english.dtshd temp.wav -normalize -60ms I get this

Code:
General
Complete name                            : temp.wav
Format                                   : Wave
File size                                : 7.98 GiB
Duration                                 : 2h 45mn
Overall bit rate mode                    : Constant
Overall bit rate                         : 6 912 Kbps

Audio
Format                                   : PCM
Format settings, Endianness              : Little
Format settings, Sign                    : Signed
Codec ID                                 : 00001000-0000-0100-8000-00AA00389B71
Duration                                 : 2h 45mn
Bit rate mode                            : Constant
Bit rate                                 : 6 912 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 24 bits
Stream size                              : 7.98 GiB (100%)

[wav @ 0000000002127160] max_analyze_duration 5000000 reached at 5003458 microseconds
Input #0, wav, from 'temp.wav':
  Duration: 01:22:30.49, bitrate: 13852 kb/s
    Stream #0:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, 5.1(side), s32, 6912 kb/s
If I open in Audition all channels seem present and unique. Now I would need a tool that pipes the temporary wav for qaac so it makes a proper conversion.

This ffmpeg -i temp.wav -f f32le - | qaac --ignorelength -o English.m4a --tvbr 100 - generates an error. Advices please.

Here's the complete list of acceptable inputs for qaac:

Code:
LC 8000Hz Mono -- 8,12,16,20,24
LC 8000Hz Stereo (L R) -- 16,20,24,28,32,40,48
LC 8000Hz Quadraphonic -- 32,40,48,56,64,72,80,96
LC 8000Hz 4.0 (C L R Cs) -- 32,40,48,56,64,72,80,96
LC 8000Hz 5.0 (C L R Ls Rs) -- 40,48,56,64,72,80,96,112
LC 8000Hz 5.1 (C L R Ls Rs LFE) -- 40,48,56,64,72,80,96,112
LC 8000Hz 6.0 (C L R Ls Rs Cs) -- 48,56,64,72,80,96,112,128,144
LC 8000Hz 6.1 (C L R Ls Rs Cs LFE) -- 48,56,64,72,80,96,112,128,144
LC 8000Hz 7.0 (C L R Ls Rs Rls Rrs) -- 56,64,72,80,96,112,128,144,160
LC 8000Hz 7.1 (C Lc Rc L R Ls Rs LFE) -- 56,64,72,80,96,112,128,144,160
LC 8000Hz 8.0 (C L R Ls Rs Rls Rrs Cs) -- 64,72,80,96,112,128,144,160,192
LC 11025Hz Mono -- 8,12,16,20,24,28,32
LC 11025Hz Stereo (L R) -- 16,20,24,28,32,40,48,56,64
LC 11025Hz Quadraphonic -- 48,56,64,72,80,96,112,128
LC 11025Hz 4.0 (C L R Cs) -- 48,56,64,72,80,96,112,128
LC 11025Hz 5.0 (C L R Ls Rs) -- 64,72,80,96,112,128,144,160
LC 11025Hz 5.1 (C L R Ls Rs LFE) -- 64,72,80,96,112,128,144,160
LC 11025Hz 6.0 (C L R Ls Rs Cs) -- 72,80,96,112,128,144,160,192
LC 11025Hz 6.1 (C L R Ls Rs Cs LFE) -- 72,80,96,112,128,144,160,192
LC 11025Hz 7.0 (C L R Ls Rs Rls Rrs) -- 96,112,128,144,160,192,224
LC 11025Hz 7.1 (C Lc Rc L R Ls Rs LFE) -- 96,112,128,144,160,192,224
LC 11025Hz 8.0 (C L R Ls Rs Rls Rrs Cs) -- 96,112,128,144,160,192,224,256
LC 12000Hz Mono -- 12,16,20,24,28,32
LC 12000Hz Stereo (L R) -- 24,28,32,40,48,56,64
LC 12000Hz Quadraphonic -- 48,56,64,72,80,96,112,128
LC 12000Hz 4.0 (C L R Cs) -- 48,56,64,72,80,96,112,128
LC 12000Hz 5.0 (C L R Ls Rs) -- 64,72,80,96,112,128,144,160
LC 12000Hz 5.1 (C L R Ls Rs LFE) -- 64,72,80,96,112,128,144,160
LC 12000Hz 6.0 (C L R Ls Rs Cs) -- 72,80,96,112,128,144,160,192
LC 12000Hz 6.1 (C L R Ls Rs Cs LFE) -- 72,80,96,112,128,144,160,192
LC 12000Hz 7.0 (C L R Ls Rs Rls Rrs) -- 96,112,128,144,160,192,224
LC 12000Hz 7.1 (C Lc Rc L R Ls Rs LFE) -- 96,112,128,144,160,192,224
LC 12000Hz 8.0 (C L R Ls Rs Rls Rrs Cs) -- 96,112,128,144,160,192,224,256
LC 16000Hz Mono -- 12,16,20,24,28,32,40,48
LC 16000Hz Stereo (L R) -- 24,28,32,40,48,56,64,72,80,96
LC 16000Hz Quadraphonic -- 48,56,64,72,80,96,112,128,144,160,192
LC 16000Hz 4.0 (C L R Cs) -- 48,56,64,72,80,96,112,128,144,160,192
LC 16000Hz 5.0 (C L R Ls Rs) -- 64,72,80,96,112,128,144,160,192,224
LC 16000Hz 5.1 (C L R Ls Rs LFE) -- 64,72,80,96,112,128,144,160,192,224
LC 16000Hz 6.0 (C L R Ls Rs Cs) -- 72,80,96,112,128,144,160,192,224,256,288
LC 16000Hz 6.1 (C L R Ls Rs Cs LFE) -- 72,80,96,112,128,144,160,192,224,256,288
LC 16000Hz 7.0 (C L R Ls Rs Rls Rrs) -- 96,112,128,144,160,192,224,256,288,320
LC 16000Hz 7.1 (C Lc Rc L R Ls Rs LFE) -- 96,112,128,144,160,192,224,256,288,320
LC 16000Hz 8.0 (C L R Ls Rs Rls Rrs Cs) -- 96,112,128,144,160,192,224,256,288,320,384
LC 22050Hz Mono -- 16,20,24,28,32,40,48,56,64
LC 22050Hz Stereo (L R) -- 32,40,48,56,64,72,80,96,112,128
LC 22050Hz Quadraphonic -- 64,72,80,96,112,128,144,160,192,224,256
LC 22050Hz 4.0 (C L R Cs) -- 64,72,80,96,112,128,144,160,192,224,256
LC 22050Hz 5.0 (C L R Ls Rs) -- 80,96,112,128,144,160,192,224,256,288,320
LC 22050Hz 5.1 (C L R Ls Rs LFE) -- 80,96,112,128,144,160,192,224,256,288,320
LC 22050Hz 6.0 (C L R Ls Rs Cs) -- 96,112,128,144,160,192,224,256,288,320,384
LC 22050Hz 6.1 (C L R Ls Rs Cs LFE) -- 96,112,128,144,160,192,224,256,288,320,384
LC 22050Hz 7.0 (C L R Ls Rs Rls Rrs) -- 112,128,144,160,192,224,256,288,320,384,448
LC 22050Hz 7.1 (C Lc Rc L R Ls Rs LFE) -- 112,128,144,160,192,224,256,288,320,384,448
LC 22050Hz 8.0 (C L R Ls Rs Rls Rrs Cs) -- 128,144,160,192,224,256,288,320,384,448,512
LC 24000Hz Mono -- 16,20,24,28,32,40,48,56,64
LC 24000Hz Stereo (L R) -- 32,40,48,56,64,72,80,96,112,128
LC 24000Hz Quadraphonic -- 64,72,80,96,112,128,144,160,192,224,256
LC 24000Hz 4.0 (C L R Cs) -- 64,72,80,96,112,128,144,160,192,224,256
LC 24000Hz 5.0 (C L R Ls Rs) -- 80,96,112,128,144,160,192,224,256,288,320
LC 24000Hz 5.1 (C L R Ls Rs LFE) -- 80,96,112,128,144,160,192,224,256,288,320
LC 24000Hz 6.0 (C L R Ls Rs Cs) -- 96,112,128,144,160,192,224,256,288,320,384
LC 24000Hz 6.1 (C L R Ls Rs Cs LFE) -- 96,112,128,144,160,192,224,256,288,320,384
LC 24000Hz 7.0 (C L R Ls Rs Rls Rrs) -- 112,128,144,160,192,224,256,288,320,384,448
LC 24000Hz 7.1 (C Lc Rc L R Ls Rs LFE) -- 112,128,144,160,192,224,256,288,320,384,448
LC 24000Hz 8.0 (C L R Ls Rs Rls Rrs Cs) -- 128,144,160,192,224,256,288,320,384,448,512
LC 32000Hz Mono -- 24,28,32,40,48,56,64,72,80,96
LC 32000Hz Stereo (L R) -- 48,56,64,72,80,96,112,128,144,160,192
LC 32000Hz Quadraphonic -- 96,112,128,144,160,192,224,256,288,320,384
LC 32000Hz 4.0 (C L R Cs) -- 96,112,128,144,160,192,224,256,288,320,384
LC 32000Hz 5.0 (C L R Ls Rs) -- 128,144,160,192,224,256,288,320,384,448
LC 32000Hz 5.1 (C L R Ls Rs LFE) -- 128,144,160,192,224,256,288,320,384,448
LC 32000Hz 6.0 (C L R Ls Rs Cs) -- 144,160,192,224,256,288,320,384,448,512,576
LC 32000Hz 6.1 (C L R Ls Rs Cs LFE) -- 144,160,192,224,256,288,320,384,448,512,576
LC 32000Hz 7.0 (C L R Ls Rs Rls Rrs) -- 192,224,256,288,320,384,448,512,576,640
LC 32000Hz 7.1 (C Lc Rc L R Ls Rs LFE) -- 192,224,256,288,320,384,448,512,576,640
LC 32000Hz 8.0 (C L R Ls Rs Rls Rrs Cs) -- 192,224,256,288,320,384,448,512,576,640,768
LC 44100Hz Mono -- 32,40,48,56,64,72,80,96,112,128,144,160,192,224,256
LC 44100Hz Stereo (L R) -- 64,72,80,96,112,128,144,160,192,224,256,288,320
LC 44100Hz Quadraphonic -- 128,144,160,192,224,256,288,320,384,448,512,576,640
LC 44100Hz 4.0 (C L R Cs) -- 128,144,160,192,224,256,288,320,384,448,512,576,640
LC 44100Hz 5.0 (C L R Ls Rs) -- 160,192,224,256,288,320,384,448,512,576,640,768
LC 44100Hz 5.1 (C L R Ls Rs LFE) -- 160,192,224,256,288,320,384,448,512,576,640,768
LC 44100Hz 6.0 (C L R Ls Rs Cs) -- 192,224,256,288,320,384,448,512,576,640,768,960
LC 44100Hz 6.1 (C L R Ls Rs Cs LFE) -- 192,224,256,288,320,384,448,512,576,640,768,960
LC 44100Hz 7.0 (C L R Ls Rs Rls Rrs) -- 224,256,288,320,384,448,512,576,640,768,960
LC 44100Hz 7.1 (C Lc Rc L R Ls Rs LFE) -- 224,256,288,320,384,448,512,576,640,768,960
LC 44100Hz 8.0 (C L R Ls Rs Rls Rrs Cs) -- 256,288,320,384,448,512,576,640,768,960,1280
LC 48000Hz Mono -- 32,40,48,56,64,72,80,96,112,128,144,160,192,224,256
LC 48000Hz Stereo (L R) -- 64,72,80,96,112,128,144,160,192,224,256,288,320
LC 48000Hz Quadraphonic -- 128,144,160,192,224,256,288,320,384,448,512,576,640
LC 48000Hz 4.0 (C L R Cs) -- 128,144,160,192,224,256,288,320,384,448,512,576,640
LC 48000Hz 5.0 (C L R Ls Rs) -- 160,192,224,256,288,320,384,448,512,576,640,768
LC 48000Hz 5.1 (C L R Ls Rs LFE) -- 160,192,224,256,288,320,384,448,512,576,640,768
LC 48000Hz 6.0 (C L R Ls Rs Cs) -- 192,224,256,288,320,384,448,512,576,640,768,960
LC 48000Hz 6.1 (C L R Ls Rs Cs LFE) -- 192,224,256,288,320,384,448,512,576,640,768,960
LC 48000Hz 7.0 (C L R Ls Rs Rls Rrs) -- 224,256,288,320,384,448,512,576,640,768,960
LC 48000Hz 7.1 (C Lc Rc L R Ls Rs LFE) -- 224,256,288,320,384,448,512,576,640,768,960
LC 48000Hz 8.0 (C L R Ls Rs Rls Rrs Cs) -- 256,288,320,384,448,512,576,640,768,960,1280
HE 32000Hz Mono -- 12,16,24,32,40
HE 32000Hz Stereo (L R) -- 24,32,40,48,56,64,80
HE 32000Hz Quadraphonic -- 48,56,64,80,96,112,128,160
HE 32000Hz 5.1 (C L R Ls Rs LFE) -- 64,80,96,112,128,160,192
HE 32000Hz 7.1 (C Lc Rc L R Ls Rs LFE) -- 96,112,128,160,192,224,256
HE 44100Hz Mono -- 16,24,32,40
HE 44100Hz Stereo (L R) -- 32,40,48,56,64,80
HE 44100Hz Quadraphonic -- 64,80,96,112,128,160
HE 44100Hz 5.1 (C L R Ls Rs LFE) -- 80,96,112,128,160,192
HE 44100Hz 7.1 (C Lc Rc L R Ls Rs LFE) -- 112,128,160,192,224,256
HE 48000Hz Mono -- 16,24,32,40
HE 48000Hz Stereo (L R) -- 32,40,48,56,64,80
HE 48000Hz Quadraphonic -- 64,80,96,112,128,160
HE 48000Hz 5.1 (C L R Ls Rs LFE) -- 80,96,112,128,160,192
HE 48000Hz 7.1 (C Lc Rc L R Ls Rs LFE) -- 112,128,160,192,224,256
HE 88200Hz Mono -- 32,40,48,56,64,80,96,112,128,160
HE 88200Hz Stereo (L R) -- 64,80,96,112,128,160,192,224,256,320
HE 88200Hz Quadraphonic -- 128,160,192,224,256,320,448,640
HE 88200Hz 5.1 (C L R Ls Rs LFE) -- 160,192,224,256,320,448,640
HE 88200Hz 7.1 (C Lc Rc L R Ls Rs LFE) -- 224,256,320,448,640,1120
HE 96000Hz Mono -- 32,40,48,56,64,80,96,112,128,160
HE 96000Hz Stereo (L R) -- 64,80,96,112,128,160,192,224,256,320
HE 96000Hz Quadraphonic -- 128,160,192,224,256,320,448,640
HE 96000Hz 5.1 (C L R Ls Rs LFE) -- 160,192,224,256,320,448,640
HE 96000Hz 7.1 (C Lc Rc L R Ls Rs LFE) -- 224,256,320,448,640,1120
Btw. ffmpeg as well as qaac doesnot recognize the input format properly. Which input format should I force to ffmpeg for temp.wav?
s16le is wrong.

Last edited by Anakunda; 4th April 2013 at 11:51.
Anakunda is offline   Reply With Quote
Old 4th April 2013, 12:26   #12223  |  Link
kypec
User of free A/V tools
 
kypec's Avatar
 
Join Date: Jul 2006
Location: SK
Posts: 830
Quote:
Originally Posted by Anakunda View Post
Now I would need a tool that pipes the temporary wav for qaac so it makes a proper conversion.

This ffmpeg -i temp.wav -f f32le - | qaac --ignorelength -o English.m4a --tvbr 100 - generates an error. Advices please.
What's wrong with piping directly from eac3to to qaac?
Code:
eac3to inputfile.dtshd stdout.wav | qaac --ignorelength -o English.m4a --tvbr 100 -
kypec is offline   Reply With Quote
Old 4th April 2013, 12:35   #12224  |  Link
Anakunda
Registered User
 
Join Date: Jan 2010
Posts: 330
Quote:
Originally Posted by kypec View Post
What's wrong with piping directly from eac3to to qaac?
Code:
eac3to inputfile.dtshd stdout.wav | qaac --ignorelength -o English.m4a --tvbr 100 -
That's wrong the backend encoder doesnot seem to make proper conversion of the temp wavfile ie. it doesnot seem to like 24bit little endiand signed wav. When I used builtin decoder which produced the big 20GB or so temp file the conversion went fine.
Anakunda is offline   Reply With Quote
Old 4th April 2013, 14:34   #12225  |  Link
kypec
User of free A/V tools
 
kypec's Avatar
 
Join Date: Jul 2006
Location: SK
Posts: 830
Quote:
Originally Posted by Anakunda View Post
That's wrong the backend encoder doesnot seem to make proper conversion of the temp wavfile ie. it doesnot seem to like 24bit little endiand signed wav. When I used builtin decoder which produced the big 20GB or so temp file the conversion went fine.
Did you try to use -down16 option in eac3to?
kypec is offline   Reply With Quote
Old 4th April 2013, 14:41   #12226  |  Link
Anakunda
Registered User
 
Join Date: Jan 2010
Posts: 330
No, I give it a try, thank U for the hint.
Anakunda is offline   Reply With Quote
Old 4th April 2013, 19:58   #12227  |  Link
Sparktank
47.952fps@71.928Hz
 
Sparktank's Avatar
 
Join Date: Mar 2011
Posts: 903
I've never had any problems getting QAAC to use 24 bit depth, piping from eac3to.
I even had success encoding 64bit IEE fp with QAAC.

Maybe move the output switch the end?
Code:
"eac3to.exe" "source.dtshd" "stdout.wav" | "qaac.exe" -V127 -q 2 -i --no-delay -r keep --threading - -o "output.m4a"
__________________
Win10 (x64) build 18362| GPU Caps Viewer 1.42.4.0
NVIDIA GeForce GTX 1060 3GB (GP106) 3071MB/GDDR5 | (r435_95-4)
NTSC | DVD: R1 | BD: A
Intel Xeon X5660 @2.80GHz
Sparktank is offline   Reply With Quote
Old 4th April 2013, 20:33   #12228  |  Link
Anakunda
Registered User
 
Join Date: Jan 2010
Posts: 330
This 5.1ch track I have successfully converted after downgrading to 16bit, on previous track which had 7.1 config I was unable to make the conversion anyway.

Quote:
Originally Posted by Sparktank View Post
Code:
"eac3to.exe" "source.dtshd" "stdout.wav" | "qaac.exe" -V127 -q 2 -i --no-delay -r keep --threading - -o "output.m4a"
Is this syntax (with Arcsoft decoder) working for you on DTSHD 7.1 too?
And what is --no-delay good for.

Anyway thanks for the commandline, I'll try this as soon as I will have 8 channel track.
Anakunda is offline   Reply With Quote
Old 4th April 2013, 20:55   #12229  |  Link
Sparktank
47.952fps@71.928Hz
 
Sparktank's Avatar
 
Join Date: Mar 2011
Posts: 903
Yes, it works for 8ch DTSHD as well.
QAAC has some weird issue on how it handles delays something or other.

https://sites.google.com/site/qaacpage/news/qaacrelease212refalac112
Quote:
[qaac] release 2.12 (refalac 1.12)
posted Jan 16, 2013, 5:07 AM by nu 774
Add --no-delay option. (Read the discussion at HA thread from here).

--no-delay will compensate encoder delay (2112 samples) by prepending silence of 960 samples before sending input to encoder, then trimming 3 AAC frames at beginning (2112 + 960 = 3072 = 1024 * 3, where 1024 is the frame length of AAC. So total amount of delay will be exactly equals to length of 3 AAC frames). Note that these numbers are doubled in case of SBR.

This option is meant for video as a mean to resolve A/V sync issue. The resultant AAC will have exactly zero-delay, but might have pops/clicks at the beginning. Use with care.
I don't get any of the pops/clicks however.
__________________
Win10 (x64) build 18362| GPU Caps Viewer 1.42.4.0
NVIDIA GeForce GTX 1060 3GB (GP106) 3071MB/GDDR5 | (r435_95-4)
NTSC | DVD: R1 | BD: A
Intel Xeon X5660 @2.80GHz
Sparktank is offline   Reply With Quote
Old 5th April 2013, 07:02   #12230  |  Link
the_weirdo
Yes, I'm weird.
 
the_weirdo's Avatar
 
Join Date: May 2010
Location: Southeast Asia
Posts: 273
@Anakunda

You can try this: Download this libsndfile and put it in qaac directory.
__________________
“Never argue with stupid people, they will drag you down to their level and then beat you with experience.” — Mark Twain
the_weirdo is offline   Reply With Quote
Old 5th April 2013, 07:16   #12231  |  Link
Anakunda
Registered User
 
Join Date: Jan 2010
Posts: 330
Great I'll try this in case of further problems. After all when I checked the former track params the encoding problems were not on qaac neither eac3to but nonstd layout of audio track.

--(AUDIO)----

Format..........: DTS-HD MA
Channels........: 7.1 (strange setup)
Bit depth.......: 24 bits
Sample rate.....: 48 kHz
Bit rate........: 4702 kbps
Language........: English
Anakunda is offline   Reply With Quote
Old 5th April 2013, 12: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 13:06.
robertcollier4 is offline   Reply With Quote
Old 5th April 2013, 14:33   #12233  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 5,642
Quote:
Originally Posted by robertcollier4 View Post
Try this:
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"
But ffmpeg can't decode DTS-HD, only the standard dts 'core'.
__________________
BeHappy, AviSynth audio transcoder, in Doom9 forums. NicAudio, BassAudio, audio decoders.
tebasuna51 is offline   Reply With Quote
Old 5th April 2013, 14:38   #12234  |  Link
Anakunda
Registered User
 
Join Date: Jan 2010
Posts: 330
Yes sure the use of ffmpeg was only workaround for converting 16bit integer wav to float on the fly but since 24bit input shows no problem for qaac then ffmpeg is superfluous.
Anakunda is offline   Reply With Quote
Old 5th April 2013, 23:23   #12235  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,495
Quote:
Originally Posted by robertcollier4 View Post
Try this:


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)
Neroaacenc does not use 2112 samples. The delay varies from encoder to encoder.
sneaker_ger is offline   Reply With Quote
Old 6th April 2013, 13:53   #12236  |  Link
LeXXuz
16 years and counting...
 
LeXXuz's Avatar
 
Join Date: Oct 2002
Location: Germany
Posts: 231
Quote:
Originally Posted by LeXXuz View Post
Is eac3to having problems with partitions >2TB?

I found anything but one post in this long thread where someone reports almost the same issue I seem to have.

I am unable to demux streams from a BD structure if those files are on a 3TB NTFS partition.

Usually I use eac3to in megui but I also tried to demux directly via command line. It's no use. Browsing BD structure, listing streams and playlists, all works fine.

However, when I start a demuxing job eac3to stops right at the beginning after writing just some bytes to the destination path and that's it. No more disc activity, no error message, nothing.

I tested this with several external 3TB drives by now. It does not work, even if the destination path is my 'small' internal hard drive.
Okay it it's not eac3to it seems to be the Matroska muxer causing this problem. eac3to uses Haali's media splitter AFAIR. Latest version I can find is dated 03/03/2011. And this one is not working with partitions that big, at least not for me.

Anyone know about a more recent version or can anyone at least confirm this issue?
LeXXuz is offline   Reply With Quote
Old 6th April 2013, 14:35   #12237  |  Link
filler56789
SuperVirus
 
filler56789's Avatar
 
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 940
Quote:
Originally Posted by LeXXuz View Post
Anyone know about a more recent version
http://forum.doom9.org/showthread.ph...85#post1616085

Quote:
or can anyone at least confirm this issue?
Sorry, but I stopped using Haali filters many moons ago.
filler56789 is offline   Reply With Quote
Old 8th April 2013, 12:16   #12238  |  Link
LeXXuz
16 years and counting...
 
LeXXuz's Avatar
 
Join Date: Oct 2002
Location: Germany
Posts: 231
Quote:
Originally Posted by filler56789 View Post
http://forum.doom9.org/showthread.ph...85#post1616085



Sorry, but I stopped using Haali filters many moons ago.
Does eac3to work with other filters to mux to mkv? If so, which one?
I always read it requires Haali's filter to work with mkv...
LeXXuz is offline   Reply With Quote
Old 8th April 2013, 14:07   #12239  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,942
My recommendation would be to use eac3to as (elementary stream) audio converter only — and leave the MKV multiplexing to the specialist in this branch: mkvmerge.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 9th April 2013, 08:07   #12240  |  Link
LeXXuz
16 years and counting...
 
LeXXuz's Avatar
 
Join Date: Oct 2002
Location: Germany
Posts: 231
Like most people I use eac3to to demux BD/HD DVD structures. And like most people I need to have the video elementary streams in a container for further processing, as for AVC/VC1 preferably in mkv. Of course I can use any other multiplexer in a 2nd step after demuxing the source disc. But this is unnecessary stress for my disk drive and a waste of time if it 'could' be done right in the 1st step.
LeXXuz is offline   Reply With Quote
Reply

Tags
eac3to

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 00:42.


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