qtaacenc: a command-line QuickTime AAC encoder for Windows |
![]() ![]() |
qtaacenc: a command-line QuickTime AAC encoder for Windows |
Feb 15 2010, 18:52
Post
#101
|
|
![]() Group: Members Posts: 32 Joined: 30-December 09 From: Chile Member No.: 76490 |
Hello. I have one question about VBR encoding in QuickTime. I was searching with Google but have not found detailed explanation of Constrained VBR mode. Is it better or worse than True VBR? . Maybe it gives higher quality than tvbr only at maximum quality settings (--cvbr 320 VS --tvbr 127) but at lower bitrates I can get better quality with true vbr? This link might be useful for you: developer.apple.com/mac/library/technotes/tn2008/tn2237.html (particularly "encoding properties in detail" section) Regards This post has been edited by wkmax: Feb 15 2010, 19:34 |
|
|
|
Feb 16 2010, 17:40
Post
#102
|
|
![]() Group: Members Posts: 373 Joined: 4-October 08 From: Ukraine Member No.: 59301 |
rpp3po, wkmax, thank you!
Another question: why QT AAC Encoder does not allow to encode at high bitrates (>320 kbps) in CBR mode while in VBR mode it supports frames up to 500 kbps o.0 This post has been edited by Steve Forte Rio: Feb 16 2010, 17:41 |
|
|
|
Feb 16 2010, 18:03
Post
#103
|
|
|
Group: Developer Posts: 1126 Joined: 11-February 03 From: Germany Member No.: 4961 |
It's impolite to answer with a counter question, but why should it? It makes sense for VBR in case it encounters super complex passages, but why would one want to force an encoder to such high rates? I even question the sanity of forcing a modern implementation as QT or Nero to not drop below 320 kbit/s.
|
|
|
|
Feb 16 2010, 18:41
Post
#104
|
|
![]() Group: Members Posts: 373 Joined: 4-October 08 From: Ukraine Member No.: 59301 |
I understand what are you talking about, but I know some people who do not trust the algorithms of choosing bitrates for each frame (complexity detecting algorithms maybe), especially in True VBR mode... And they are not sure of VBR mode safety. And I think that CBR mode with high bitrates will be the safest for the quality despite the fact that it is waste of file size
(sorry for my very bad English) |
|
|
|
Feb 16 2010, 18:52
Post
#105
|
|
|
Group: Developer Posts: 1126 Joined: 11-February 03 From: Germany Member No.: 4961 |
IMHO it is a developer's responsibility to expose reasonable settings for his product, and that does not extend to satisfying feelings as unfounded paranoia. Exposing insane bitrate settings may raise the impression that there might actually be a need for them. If you can present a sample, that would prove otherwise, feel free to share it. People who cannot get over their distrust against lossy compression should go for lossless, anyway, because even extreme bitrates cannot guarantee transparency for 100% of music.
PS BTW, the complexity of the TVBR encoder is actually lower than that of CVBR, ABR, and CBR. What you call "complexity detection" is required for all stages, but the latter must calculate a trade-off against additional constraints. This post has been edited by rpp3po: Feb 16 2010, 19:11 |
|
|
|
Feb 16 2010, 19:06
Post
#106
|
|
![]() Group: Members Posts: 373 Joined: 4-October 08 From: Ukraine Member No.: 59301 |
Thanks for your answers, it's all as I expected best regards |
|
|
|
Feb 17 2010, 16:08
Post
#107
|
|
|
Group: Members Posts: 86 Joined: 16-June 06 Member No.: 31911 |
Important update
Though I said HE-AAC encoder was not available in the Windows version of QT, I've found a way to access the HE-AAC encoder. So, now the latest version has an ability to create HE-AAC files. --he option enables the HE-AAC encoder. Note that the true vbr mode is not available in this encoder. Enjoy! |
|
|
|
Feb 17 2010, 17:07
Post
#108
|
|
![]() Group: Members Posts: 373 Joined: 4-October 08 From: Ukraine Member No.: 59301 |
Cool!
And does QuickTime have Parametric Stereo technology support ? |
|
|
|
Feb 17 2010, 17:14
Post
#109
|
|
|
Group: Members Posts: 86 Joined: 16-June 06 Member No.: 31911 |
No. HE-AAC v1 only.
|
|
|
|
Feb 17 2010, 17:51
Post
#110
|
|
![]() Group: Members Posts: 1078 Joined: 16-April 04 From: Bavaria, Germany Member No.: 13548 |
Thank you very much
Is there any "hardcoded" bitrate limit the HE-profile can be used with? |
|
|
|
Feb 17 2010, 18:00
Post
#111
|
|
|
Group: Members Posts: 86 Joined: 16-June 06 Member No.: 31911 |
The limit cahnges according to the samplerate and the number of channel. For example, 80kbps for 44.1kHz, stereo input.
|
|
|
|
Feb 17 2010, 18:03
Post
#112
|
|
![]() Group: Members Posts: 1078 Joined: 16-April 04 From: Bavaria, Germany Member No.: 13548 |
Thanks, i tried it now.
Setting the bitrate higher than 80kbps encodes at 80kbps. This post has been edited by tedgo: Feb 17 2010, 18:03 |
|
|
|
Feb 18 2010, 09:45
Post
#113
|
|
![]() Group: Members Posts: 32 Joined: 30-December 09 From: Chile Member No.: 76490 |
Important update Though I said HE-AAC encoder was not available in the Windows version of QT, I've found a way to access the HE-AAC encoder. So, now the latest version has an ability to create HE-AAC files. --he option enables the HE-AAC encoder. Note that the true vbr mode is not available in this encoder. Enjoy! Excellent!!!, works fine. Thanks again nao This post has been edited by wkmax: Feb 18 2010, 09:46 |
|
|
|
Feb 18 2010, 15:15
Post
#114
|
|
![]() Group: Members Posts: 373 Joined: 4-October 08 From: Ukraine Member No.: 59301 |
Another questions:
What about 32-bit floating-point input support? And is it possible to realize two-pass encoding in QuickTime? |
|
|
|
Feb 18 2010, 15:34
Post
#115
|
|
|
Group: Members Posts: 86 Joined: 16-June 06 Member No.: 31911 |
32-bit fp input is already supported. 2-pass encoding is not possible for AAC.
|
|
|
|
Feb 18 2010, 15:41
Post
#116
|
|
|
Group: Developer Posts: 1126 Joined: 11-February 03 From: Germany Member No.: 4961 |
It is, Nero supports it. But its kind of senseless. During the good old divx times it made sense to use 2-pass to exactly squeeze a video onto 2 x 700 MB CDRs. 2-pass was the perfect tool, to use up all available storage space up to the last MB. But for AAC it's basically completely senseless.
This post has been edited by rpp3po: Feb 18 2010, 15:42 |
|
|
|
Feb 18 2010, 15:50
Post
#117
|
|
|
Group: Members Posts: 86 Joined: 16-June 06 Member No.: 31911 |
|
|
|
|
Feb 18 2010, 16:00
Post
#118
|
|
![]() Group: Members Posts: 373 Joined: 4-October 08 From: Ukraine Member No.: 59301 |
|
|
|
|
Feb 18 2010, 20:25
Post
#119
|
|
|
Group: Members Posts: 58 Joined: 2-February 10 Member No.: 77800 |
@nao how do you explain this?
using qtaacenc-20100212 on a 121 minutes 6ch wav i get 538,097,995 bytes and using qtaacenc-20100218 with the same settings a get 558,822,574 bytes! encoding line: CODE bepipe --script "import(^rawav.avs^)" | qtaacenc-20100212 --ignorelength --samplerate keep --highest --tvbr 127 - audio.6ch.q127.qtaacenc-20100212.m4a result: CODE 538,097,995 bytes General Complete name : audio.6ch.q127.qtaacenc-20100212.m4a Format : MPEG-4 Format profile : Base Media / Version 2 Codec ID : mp42 File size : 513 MiB Duration : 2h 1mn Overall bit rate : 589 Kbps Encoded date : UTC 2010-02-18 19:10:27 Tagged date : UTC 2010-02-18 19:11:02 Writing application : qtaacenc 20100212, QuickTime 7.6.5 Encoding Params : (Binary) Audio ID : 1 Format : AAC Format/Info : Advanced Audio Codec Format version : Version 4 Format profile : LC Format settings, SBR : No Codec ID : 40 Duration : 2h 1mn Bit rate mode : Variable Bit rate : 576 Kbps Maximum bit rate : 847 Kbps Channel(s) : 6 channels Channel positions : Front: L C R, Rear: L R, LFE Sampling rate : 48.0 KHz Stream size : 511 MiB (100%) Language : English Encoded date : UTC 2010-02-18 19:10:19 Tagged date : UTC 2010-02-18 19:11:02 encoding line: CODE bepipe --script "import(^rawav.avs^)" | qtaacenc-20100218 --ignorelength --samplerate keep --highest --tvbr 127 - audio.6ch.q127.qtaacenc-20100218.m4a result: CODE 558,822,574 bytes General Complete name : audio.6ch.q127.qtaacenc-20100218.m4a Format : MPEG-4 Format profile : Base Media / Version 2 Codec ID : mp42 File size : 533 MiB Duration : 2h 1mn Overall bit rate : 612 Kbps Encoded date : UTC 2010-02-18 18:35:26 Tagged date : UTC 2010-02-18 18:36:02 Writing application : qtaacenc 20100218, QuickTime 7.6.5 Encoding Params : (Binary) Audio ID : 1 Format : AAC Format/Info : Advanced Audio Codec Format version : Version 4 Format profile : LC Format settings, SBR : No Codec ID : 40 Duration : 2h 1mn Bit rate mode : Variable Bit rate : 609 Kbps Maximum bit rate : 962 Kbps Channel(s) : 6 channels Channel positions : Front: L C R, Rear: L R, LFE Sampling rate : 48.0 KHz Stream size : 531 MiB (100%) Language : English Encoded date : UTC 2010-02-18 18:35:18 Tagged date : UTC 2010-02-18 18:36:02 best regards _ |
|
|
|
Feb 18 2010, 20:50
Post
#120
|
|
|
Group: Members Posts: 86 Joined: 16-June 06 Member No.: 31911 |
|
|
|
|
Feb 18 2010, 21:59
Post
#121
|
|
|
Group: Members Posts: 58 Joined: 2-February 10 Member No.: 77800 |
wrong channel order...you should add to the log file that you fix this!...what is the max rate for multichannel audio?...it has real mutichannel support (2.1, 4.0 etc) or 5.1 ONLY?
_ |
|
|
|
Feb 18 2010, 22:02
Post
#122
|
|
|
Group: Developer Posts: 1126 Joined: 11-February 03 From: Germany Member No.: 4961 |
If your source file doesn't include any channel mapping information, there is no such thing as a wrong channel order after conversion. For cases where this information is missing, there is a default ordering proposed by Microsoft, 20100217 uses exactly that.
This post has been edited by rpp3po: Feb 18 2010, 22:11 |
|
|
|
Feb 19 2010, 08:59
Post
#123
|
|
|
Group: Members Posts: 86 Joined: 16-June 06 Member No.: 31911 |
what is the max rate for multichannel audio?...it has real mutichannel support (2.1, 4.0 etc) or 5.1 ONLY? Maximum supported samplerate is 48kHz. Supported multichannel formats are:
|
|
|
|
Feb 19 2010, 18:12
Post
#124
|
|
|
Group: Members Posts: 58 Joined: 2-February 10 Member No.: 77800 |
what about max bitrate for multichannel audio?
_ |
|
|
|
Feb 19 2010, 19:21
Post
#125
|
|
|
Group: Members Posts: 86 Joined: 16-June 06 Member No.: 31911 |
I forgot to mention, but 8.0ch is also supported. The bitrate limits (@48kHz) are:
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 19th May 2013 - 12:50 |