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

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 6th February 2013, 15:14   #12101  |  Link
Shevek
Registered User
 
Join Date: May 2008
Location: Kent, UK
Posts: 154
So, for playlists like this, until fully supported (if at all possible in future), should eac3to then report that this is a timed playlist and either refuse to work on it, or display an additional caveat to the user?
Shevek is offline  
Old 6th February 2013, 15:54   #12102  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by madshi View Post
I suppose that the playlist doesn't cover the whole 00000.m2ts
No, the BDInfo below shows that the referenced segments are contiguous:

00000.M2TS 0:00:00.000 0:01:31.991 0 0
00000.M2TS 0:01:31.991 0:08:43.856 0 0
00000.M2TS 0:10:15.848 0:10:26.092 0 0
00000.M2TS 0:20:41.940 0:00:43.243 0 0
00008.M2TS 0:21:25.183 0:00:00.333 0 0

The first time is the start time and the second is the duration. So, adding the duration to the start time gives the start time of the following segment.

It's possible that there is extra unreferenced material at the end of 00000.M2TS but it seems unlikely.

Last edited by Guest; 6th February 2013 at 15:57.
Guest is offline  
Old 6th February 2013, 18:53   #12103  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
@neuron2, I've been told "eac3to 00000.m2ts+00008.m2ts" does not produce the expected runtime, so there *must* be extra unreferenced material at the end of either 00000.m2ts or 00008.m2ts. That's the only explanation that makes sense to me.
madshi is offline  
Old 6th February 2013, 19:11   #12104  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
The other explanation is that the OP's estimate of the run time is wrong.

The only way to be sure is for the OP to give us the two M2TS files.
Guest is offline  
Old 6th February 2013, 19:13   #12105  |  Link
XadoX
Registered User
 
XadoX's Avatar
 
Join Date: Feb 2002
Posts: 192
They have around 3GB.
XadoX is offline  
Old 6th February 2013, 19:25   #12106  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
If the files as listed in the playlist had no extra material, we could calculate the overall runtime of [0+0+0+0+8] like this:

00000.m2ts: 0:21:25.183
00008.m2ts: 0:00:00.333

Overall runtime of [0+0+0+0+8] = 4 * 00:21:25.183 + 00:00:00.333 = 5141.065 seconds = 01:25:41.065

However, eac3to reported an overall runtime for [0+0+0+0+8] of exactly 01:30:00.000, so there must be some extra material somewhere, not referenced by the playlist.
madshi is offline  
Old 6th February 2013, 19:27   #12107  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
@XadoX, what is the output of "eac3to 00000.m2ts" and "eac3to 00008.m2ts"?
madshi is offline  
Old 6th February 2013, 19:28   #12108  |  Link
XadoX
Registered User
 
XadoX's Avatar
 
Join Date: Feb 2002
Posts: 192
Code:
eac3to.exe f:\BDMV\STREAM\00000.m2ts
M2TS, 1 video track, 2 audio tracks, 1 subtitle track, 0:22:30, 60i /1.001
1: VC-1, 1080i60 /1.001 (16:9)
2: DTS, German, 2.0 channels, 384kbps, 48kHz
3: DTS, English, 2.0 channels, 384kbps, 48kHz
4: Subtitle (PGS), German
Code:
eac3to.exe f:\BDMV\STREAM\00008.m2ts
M2TS, 1 video track, 0:00:00
1: VC-1, 1080i60 /1.001 (16:9)
XadoX is offline  
Old 6th February 2013, 19:32   #12109  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Yeah, so 00000.m2ts has about 1 extra minute of playback not referenced by the playlist.
madshi is offline  
Old 6th February 2013, 19:36   #12110  |  Link
XadoX
Registered User
 
XadoX's Avatar
 
Join Date: Feb 2002
Posts: 192
Code:
General
ID                                       : 0 (0x0)
Complete name                            : F:\BDMV\STREAM\00000.m2ts
Format                                   : BDAV
Format/Info                              : Blu-ray Video
File size                                : 2.93 GiB
Duration                                 : 23mn 0s
Overall bit rate mode                    : Variable
Overall bit rate                         : 18.2 Mbps
Maximum Overall bit rate                 : 48.0 Mbps

Video
ID                                       : 4113 (0x1011)
Menu ID                                  : 1 (0x1)
Format                                   : VC-1
Format profile                           : Advanced@L3
Codec ID                                 : 234
Duration                                 : 22mn 30s
Bit rate                                 : 16.7 Mbps
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 29.970 fps
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Interlaced
Scan order                               : Top Field First
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.269
Stream size                              : 2.63 GiB (90%)
Code:
General
ID                                       : 0 (0x0)
Complete name                            : F:\BDMV\STREAM\00008.m2ts
Format                                   : BDAV
Format/Info                              : Blu-ray Video
File size                                : 54.0 KiB
Duration                                 : 270ms
Overall bit rate                         : 1 491 Kbps
Maximum Overall bit rate                 : 48.0 Mbps

Video
ID                                       : 4113 (0x1011)
Menu ID                                  : 1 (0x1)
Format                                   : VC-1
Format profile                           : Advanced@L3
Codec ID                                 : 234
Duration                                 : 334ms
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 29.970 fps
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Interlaced
Scan order                               : Top Field First
Compression mode                         : Lossy

Last edited by XadoX; 6th February 2013 at 19:38.
XadoX is offline  
Old 7th February 2013, 05:34   #12111  |  Link
robertcollier4
Registered User
 
Join Date: Nov 2012
Posts: 30
I have a question about the 24-bit-depth outputted by eac3to for use in lossy formats such as AAC which use floating point bit-depth. I am usually downmixing 6ch DTS files to 2ch AAC through piping to the qaac encoder. I am wondering if there would be better quality through having eac3to pass qaac its original 64-bit-depth file instead of a dithered 24-bit-depth file. I am trying to maintain best quality possible by doing as few bit-depth dithering operations as possible.

Code:
eac3to.exe "movie_6chdts.mkv" 2: stdout.wav -downDpl | qaac.exe --tvbr 127 --quality 2 --rate keep --ignorelength --no-delay - -o "2chaac.m4a"
eac3to tells me:
[a02] Reducing depth from 64 to 24 bits
[a02] Writing WAV
Code:
Even using the internally used neroaacenc does a down dithering operation. Why not pass the aac encoder the original 64-bit-depth data?
[a02] Reducing depth from 64 to 32 bits
[a02] Encoding AAC <1.00> with NeroAacEnc
I have read that lossy formats such as AAC use floating point and so while they do not technically have a "bit depth" they are able to deliver near equivalent of 64-bit-depth due to use of floating point. So in this case - wouldn't it better to have eac3to give qaac an undithered 64-bit-depth output so that qaac can encode the original undithered 64-bit-depth output from eac3to into floating point?

Reference: http://wiki.jriver.com/index.php/Audio_Bitdepth
Quote:
Bitdepth of Lossy Formats
Lossy formats like MP3 [and AAC] use floating point math to build their output values. There is no true or correct bitdepth in this case.
Media Center preserves the full 64bit precision when converting from the lossy format to PCM and uses as much precision as possible during output.
In other words, taking a 16bit input file, encoding as MP3, and then playing it in Media Center will cause 64bit data to be delivered to the playback engine. This does not mean that the file has improved, only that Media Center does the best job possible dealing with the MP3 (or other lossy) data that is not inherently precise to some number of bits.
Reference: http://en.wikipedia.org/wiki/Talk%3AAudio_bit_depth
Quote:
In a course on mastering that I took at Berklee College of Music, it was recommended that dither not be applied when lossy formats, like mp3 and AAC, were the destination. The reason being that dither to combat quantization is really only applicable to PCM because formats like mp3 do not really "quantize" in the same sense, especially if they are floating point.
Since eac3to operates internally in 64-bit-depth anyways, is there any way I can retain this and have eac3to give me its original 64-bit-depth wav as its output? (no dithering).

Last edited by robertcollier4; 7th February 2013 at 06:27.
robertcollier4 is offline  
Old 7th February 2013, 07:48   #12112  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
Most encoders only accept up to 32-bit floating point ("float"), and not 64-bit ("double"), which is most likely why you're seeing the conversion for Nero.
If you think qaac supports 64-bit floating point input, you can use the "-full" switch, which lets eac3to output 64-bit float (or so i remember)

Note that most decoders also only produce 32-bit floating point (however eac3to might produce 64-bit after the downmixing)
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 7th February 2013 at 07:51.
nevcairiel is offline  
Old 7th February 2013, 08:14   #12113  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,781
An intermediate 64-bit result based on the decoding of an already lossy source, with even more loss due to the downmixing...

Will someone rather be able to hear the difference between 24 and 32 bit samples, or between original and lossy encoding instead? — Does he have a separate home cinema room with audiophile wall covers, or just a living room with furnitures?

And most important: Does he use gold-capped digital cables?

Get that steam out of here ...
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline  
Old 7th February 2013, 11:46   #12114  |  Link
robertcollier4
Registered User
 
Join Date: Nov 2012
Posts: 30
Quote:
Originally Posted by nevcairiel View Post
If you think qaac supports 64-bit floating point input, you can use the "-full" switch, which lets eac3to output 64-bit float (or so i remember)
Thank you nevcairiel - the -full switch is exactly what I was looking for. eac3to DPLII algorithm works internally with and outputs 64-bit-depth and so this is the best thing to pass to qaac compressor.

Code:
eac3to.exe "video_6chdts.mkv" 2: stdout.wav -downDpl -full | qaac.exe --tvbr 127 --quality 2 --rate keep --ignorelength --no-delay - -o "2chaac.m4a"
Works great. eac3to now no longer reduces bit-depth. And qaac accepts the 64-bit-depth piped input just fine and a down dithering operation was avoided. I prefer using qaac because it has a special "--no-delay" switch (otherwise neroaacenc adds an encoder delay of 44ms).

I recommend adding the -full switch to the documentation (I could not find it anywhere). Also I advise anyone piping to qaac to use the -full switch for better quality - down dithering operations make a difference and if it can be avoided with a simple switch it should be. The m4a filesize produced by qaac with the "eac3to -full" switch is also approx. same - it just feeds qaac a more accurate source for it to apply its compression to.

Last edited by robertcollier4; 7th February 2013 at 12:40.
robertcollier4 is offline  
Old 7th February 2013, 17:05   #12115  |  Link
filler56789
SuperVirus
 
filler56789's Avatar
 
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 1,351
@ madshi:

Quote:
Originally Posted by tebasuna51 View Post
Info

- Document all the working parameters.
Did you miss that, or you just think it would be an "exceedingly-major" fix/improvement?

Quote:
Originally Posted by robertcollier4 View Post
Thank you nevcairiel - the -full switch is exactly what I was looking for. eac3to DPLII algorithm works internally with and outputs 64-bit-depth and so this is the best thing to pass to qaac compressor.

Last edited by filler56789; 7th February 2013 at 17:23.
filler56789 is offline  
Old 7th February 2013, 17:33   #12116  |  Link
XadoX
Registered User
 
XadoX's Avatar
 
Join Date: Feb 2002
Posts: 192
Quote:
Originally Posted by madshi View Post
Yeah, so 00000.m2ts has about 1 extra minute of playback not referenced by the playlist.
Any new ideas of a workaround?
XadoX is offline  
Old 7th February 2013, 18:21   #12117  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Chop off the extra stuff using 'Output Trimmed TS' in DGIndexNV. Then load the trimmed 00000.m2ts and 00008.m2ts (if that 1/3 second of video is crucial!) in DGIndexNV and off you go.

Alternatively, trim out the extra material in your Avisynth script.

Last edited by Guest; 7th February 2013 at 18:27.
Guest is offline  
Old 7th February 2013, 19:23   #12118  |  Link
XadoX
Registered User
 
XadoX's Avatar
 
Join Date: Feb 2002
Posts: 192
Quote:
Originally Posted by neuron2 View Post
Chop off the extra stuff using 'Output Trimmed TS' in DGIndexNV...
Thx I will use your workaround.
XadoX is offline  
Old 9th February 2013, 01:27   #12119  |  Link
frencher
French Love
 
Join Date: Oct 2008
Location: France
Posts: 456
Quote:
Originally Posted by frencher View Post
Hi all and madshi,

I wanted to know if others have had the same problem as me for demuxing 3D Bluray PGS subtitles tracks (.sup) and if an update will fix this problem ?

Thanks
Sorry I do not understand English, are you fix ?
If I missed the topic that interests me here talking
__________________
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  
Old 9th February 2013, 09:20   #12120  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
@frencher
About your question: "I wanted to know if others have had the same problem as me for demuxing 3D Bluray PGS subtitles tracks (.sup)"
Seems the answer is "Nope", at least not for me.

Please put the log file, if show any <ERROR> or <WARNING>, or more info about your problem.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline  
Closed Thread

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 12:43.


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