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
Register FAQ Calendar Today's Posts Search

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 3rd September 2008, 18:18   #6041  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
Quote:
Originally Posted by madshi View Post
Demuxing with eac3to vs. tsMuxeR:

(1) As nautilus7 said, eac3to fixes audio overlaps in seamless branching titles. tsMuxeR does not (AFAIK).

(2) eac3to automatically detects and fixes audio delays (when the audio stream begins earlier/later than the video stream). I don't know if tsMuxeR does that.

(3) eac3to automatically removes MPEG2, VC-1 and h264 pulldown from HD DVD video streams (29.97 -> 23.976). I'm not sure whether tsMuxeR does that, too. I've seen people reporting that they get stuttering problems with VC-1 movies when using tsMuxeR, only. Those people used vc1conv to remove the VC-1 pulldown and that fixed the problem for them. Now eac3to does the same thing as vc1conv for VC-1 streams. Also eac3to does the same thing as h264info for h264 streams.

(4) eac3to can transcode/modify HD DVD audio streams (e.g. E-AC3, TrueHD) to make them Blu-Ray/m2ts compatible. tsMuxeR can't do that. At least that's where tsMuxeR needs the help of eac3to.
(5) Just one command line is enough for demuxing and transcoding.

(6) Just one command line is sufficient for merging feature_1.EVO+feature_2.EVO.

Last edited by rica; 3rd September 2008 at 18:20.
rica is offline  
Old 3rd September 2008, 18:27   #6042  |  Link
rebkell
Registered User
 
Join Date: Oct 2006
Posts: 303
I have a stupid question, how does eac3to fix gaps? Overlaps I sorta can see, but wonder what happens to/in the overlapped portions but I'm mostly wondering how exactly it works on gaps?
rebkell is offline  
Old 3rd September 2008, 18:29   #6043  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,518
Quote:
Originally Posted by rebkell View Post
I have a stupid question, how does eac3to fix gaps? Overlaps I sorta can see, but wonder what happens to/in the overlapped portions but I'm mostly wondering how exactly it works on gaps?
It repeats last part of the audio or fills with silence depending on how long the gap is. Not sure though (madshi correct me if i'm wrong). Good thing is that there's no movie with gaps till now..

Last edited by nautilus7; 3rd September 2008 at 18:35.
nautilus7 is offline  
Old 3rd September 2008, 18:30   #6044  |  Link
baudi
Registered User
 
Join Date: Apr 2002
Posts: 34
Quote:
Originally Posted by madshi View Post
eac3to source.eac3 dest.ac3
Making so I only got a standar ac3 file, not a DD+ Blu-Ray compliant.

Thank you again.
baudi is offline  
Old 3rd September 2008, 18:36   #6045  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,518
Quote:
Originally Posted by baudi View Post
Making so I only got a standar ac3 file, not a DD+ Blu-Ray compliant.

Thank you again.
Blu-ray allows E-AC3 only for tracks with more than 5.1 channels (7.1). And these tracks are 5.1 AC3 core with E-AC3 extensions for the additional channels.

Last edited by nautilus7; 3rd September 2008 at 21:25.
nautilus7 is offline  
Old 3rd September 2008, 19:05   #6046  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
Quote:
Originally Posted by nautilus7 View Post
I found it. It's from Edward Scissorhands Blu-ray Disc. The movie menu states it is a 4.0 and eac3to a 3/1. That seems correct, except that the surround channel is empty (I checked a big part of the track to be sure about this).

Here is a sample.
@nautilus7

This is a old post but now I understand your comment about the surround channel. Now I have ArcSoft DTS decoder and don't work fine with these atypical channel configuration.

My question is:
to decode this dts ma 3/1 sample do you use Sonic or ArcSoft decoder?

With -libav the surround channel is present, try:
eac3to yoursample31.dtshd output.wav -libav -1,2,0,3,4,5

With ArcSoft:
eac3to yoursample31.dtshd wrong_output.wav

the surround channel is empty, and is empty also with dts core:

eac3to yoursample31.dtshd core31.dts -core
eac3to core31.dts wrong_output.wav
tebasuna51 is offline  
Old 3rd September 2008, 20:50   #6047  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
The file is not available anymore.
rica is offline  
Old 3rd September 2008, 20:51   #6048  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
With the help of Elektra999 I have dts samples with atypical channel map.
The samples was encoded with DTS PRO SERIES SURROUND ENCODER.
Only 3/2.0 and 3/2.1 was encoded with Surcode.

Code:
AMODE   Ch  Arrangement+lfe  Mask and MS channels order  Detect-MaskCh eac3to  libav remap   ArcSoft problems
-------- -  ---------------  --------------------------  --------------------  -----------   ----------------
0b000010 2  L R              0x0003  FL FR               2.0   0x000B  (1)     not needed    ok
0b000110 3  L R S            0x0103  FL FR BC            2/1   0x0103  ok      not needed    BC ch empty
         4  L R S  LFE       0x010B  FL FR LF BC         2/1.1 0x010B     (2)  -0,1,3,2,4,5  BC ch empty (3)
0b001000 4  L R Ls Rs        0x0033  FL FR BL BR         2/2   0x0033  ok      not needed    BL+BR ch's empty
         5  L R Ls Rs LFE    0x003B  FL FR LF BL BR      2/2.1 0x003B     (2) -0,1,4,2,3,5   LF ch empty
0b000101 3  C L R            0x0007  FL FR FC            3/0   0x000F  (1)(2) -1,2,0,3,4,5   ok
         4  C L R LFE        0x000F  FL FR FC LF         3.1   0x000F     (2) -1,2,0,3,4,5   ok
0b000111 4  C L R S          0x0107  FL FR FC BC         3/1   0x0107     (2) -1,2,0,3,4,5   BC ch empty
         5  C L R S  LFE     0x010F  FL FR FC LF BC      3/1.1 0x010F     (2) -1,2,0,4,3,5   LF same than BC
0b001001 5  C L R Ls Rs      0x0037  FL FR FC BL BR      5.0   0x003F  (1)(2) -1,2,0,3,4,5   ok
         6  C L R Ls Rs LFE  0x003F  FL FR FC LF BL BR   5.1   0x003F  ok      already done  ok

(1) Wrong mask, the correct mask can be easyly put based in detection
(2) When decoded with libav need remapping channels.
(3) Same remap than libav needed.
tebasuna51 is offline  
Old 3rd September 2008, 20:54   #6049  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,518
Well, tebashuna51 you're right. There's something really strange with this track.

My findings:

* ArcSoft and Sonic decode the DTS-HD MA track bit perfect
* ArcSoft decode the DTS core "similar" to the above
* Sonic decode the DTS core with lower volume
* In the above cases the surround channel is empty
* With Libav the surround channel is not empty
* With Libav channels needs remapping
* With Libav L,R,C channels are similar to ArcSoft core decoding



I re-uploaded a sample of this track.

Last edited by nautilus7; 3rd September 2008 at 21:24.
nautilus7 is offline  
Old 4th September 2008, 01:08   #6050  |  Link
stottle
Registered User
 
Join Date: Oct 2005
Posts: 19
The only part of converting an HD-DVD to Bluray that I can't figure out is how to convert the subtitle data (.sup) that eac3to produces to something that tsmuxer will take. Can anyone help me on this one?

Thanks
stottle is offline  
Old 4th September 2008, 01:25   #6051  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
Quote:
Originally Posted by stottle View Post
The only part of converting an HD-DVD to Bluray that I can't figure out is how to convert the subtitle data (.sup) that eac3to produces to something that tsmuxer will take. Can anyone help me on this one?

Thanks
Even it is out of the thread:

http://forum.doom9.org/showthread.ph...18#post1177618



_ _ _ _ __
rica is offline  
Old 4th September 2008, 01:44   #6052  |  Link
stottle
Registered User
 
Join Date: Oct 2005
Posts: 19
Quote:
Originally Posted by rica View Post
Even it is out of the thread:

http://forum.doom9.org/showthread.ph...18#post1177618
_ _ _ _ __
I saw that, but I thought .srt was an OCR'd version of the .sup bitmaps. If so, then converting to .srt and then having tsmuxer convert to pgs means converting to text via ocr and then converting the text back to bitmap for pgs, in some other font. I was hoping there was a way to convert the .sup bitmaps to pgs directly, so that the intended font wouldn't change. This also mitigates the need to double check the OCR results for errors.

BTW, I tried the export function in supread (png format), which tsmuxer accepted, but subtitles didn't show up in the output (TMT said they were there however).
stottle is offline  
Old 4th September 2008, 01:49   #6053  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
I think you didn't read well what i said.
You will never read the subtitles without MPC-HC for the time being...(Zoom player?: just forget it.)
Edit: sorry; except image + daemontools method....or burning to disc method...

Last edited by rica; 4th September 2008 at 02:05.
rica is offline  
Old 4th September 2008, 02:27   #6054  |  Link
moshmothma
Registered User
 
Join Date: Nov 2005
Posts: 85
Madshi, thanks for the recent update. I was able to complete operations on the NIN BD. However, the video pixelates heavily. I am not sure what is going on. Do you want another sample? Thanks


Quote:
Originally Posted by madshi View Post
Yes.


I've checked these. The first two look like this:

Code:
1: VC-1, 1080i60 /1.001 (16:9)
2: TrueHD/AC3, 5.1 channels, 48khz
3: AC3, 2.0 channels, 256kbps, 48khz
4: Subtitle (PGS)
The last small two look like this:

Code:
1: VC-1, 1080p24 /1.001 (16:9) with pulldown flags
2: AC3, 2.0 channels, 224kbps, 48khz, dialnorm: -27dB
3: AC3, 2.0 channels, 224kbps, 48khz, dialnorm: -27dB
4: Subtitle (PGS)
As you can see, the last two m2ts parts have totally different video and audio track properties compared to the rest of the movie. Now a media player could easily notice the change and adjust its output accordingly. But eac3to is not a media player but just exports the raw video and audio streams. And it just doesn't make any sense to join e.g. a "TrueHD+AC3" track together with a simple "AC3" track. The end result wouldn't play correctly. That's why eac3to cannot handle this situation correctly.

I'll "fix" it in the next build by ignoring the last few m2ts parts, if they are very small and have different audio or video track parameters.
moshmothma is offline  
Old 4th September 2008, 02:30   #6055  |  Link
stottle
Registered User
 
Join Date: Oct 2005
Posts: 19
@rica,

Sorry, I'm not sure I follow. I am trying to convert HD-DVD to Bluray, iso if need be. TMT can play both HD-DVD and Bluray from hdd or from .iso files. I'm not sure that TMT will always continue to play HD-DVD however, so I want to convert my HD-DVD rips to Bluray, taking advantage of eac3to's new truehd conversion functionality.

I thought that if you demux'd a bluray and hddvd with eac, the subtitles both end up with a .sup extension. I'm pretty sure I tried this, but it was pretty late. Won't tsmuxer accept a bluray .sup, but not a hddvd .sup? If so, I am hoping there is a way to change the from an hddvd formatted .sup to a bluray one.

Does that make more sense?

Thanks for the help!
stottle is offline  
Old 4th September 2008, 02:31   #6056  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
Quote:
Originally Posted by nautilus7 View Post
There's something really strange with this track.
...
* In the above cases the surround channel is empty
...
The track is ok, the problem is the decoder, seems ArcSoft work with:
2.0, 3.0, 3.1, 3/2 and 3/2.1

But don't work with:
2/1, 2/1.1, 2/2, 2/2.1, 3/1 and 3/1.1

Please, can you test Sonic with my samples_dts?

Thanks.
tebasuna51 is offline  
Old 4th September 2008, 05:21   #6057  |  Link
saint-francis
too much lurking
 
saint-francis's Avatar
 
Join Date: Sep 2006
Location: Valhalla
Posts: 668
Quote:
Originally Posted by stottle View Post

Does that make more sense?

Thanks for the help!
If you want your HD DVD .sup's to be BD .sup's just convert them to BD with supread. Load it up and tell it to output a BD file. There is plenty about this in the subtitle forum in threads with indicative names like "converting Blueray disk subtitles" and "HD subtitle ripping".
At any rate this discussion should continue down there.
saint-francis is offline  
Old 4th September 2008, 05:41   #6058  |  Link
xkodi
Registered User
 
Join Date: Aug 2002
Posts: 221
Quote:
Originally Posted by tebasuna51 View Post
The track is ok, the problem is the decoder, seems ArcSoft work with:
2.0, 3.0, 3.1, 3/2 and 3/2.1

But don't work with:
2/1, 2/1.1, 2/2, 2/2.1, 3/1 and 3/1.1
back in the early Arcsoft days i came across the same problem too, i.e. the problem with DTS-HD MA files with strange channel order:

- the sample (from Q-tec Demo Disc):

http://forum.doom9.org/showthread.ph...02#post1153102

- the problem discussion with madshi:

http://forum.doom9.org/showthread.ph...03#post1153303

http://forum.doom9.org/showthread.ph...71#post1153571

http://forum.doom9.org/showthread.ph...88#post1153688

my idea then was to patch the DTS-HD MA header and change the channel order, so Arcsoft can decode the track correctly and then rearrange the right order in the WAV:

http://forum.doom9.org/showthread.ph...92#post1153692

but then we both with madshi agreed that it wasn't worth the effort for a single sample from a demo disc:

http://forum.doom9.org/showthread.ph...00#post1153700

http://forum.doom9.org/showthread.ph...11#post1153711

now, we have sample from a real movie disc ("Edward Scissorhands" BD), not a demo disc. so, maybe we should look again at the problem.

it should be very easy to patch the channel order byte in the header, but then there is CRC involved and i personally know nothing about how DTS(-HD MA) CRC is calculated and where is stored in the DTS(-HD MA) header.

Last edited by xkodi; 4th September 2008 at 06:04.
xkodi is offline  
Old 4th September 2008, 06:33   #6059  |  Link
deacon crusher
Registered User
 
Join Date: Feb 2008
Posts: 14
Here you go madshi

Those 2 are uploading to mediafire right now.

When done (around midnight pacific time Wednesday night) they'll be here.

Done, now and here are the correct links

http://www.mediafire.com/file/wvj4shszfkv/00011.m2ts

http://www.mediafire.com/file/wxufltmfgfa/00130.m2ts

thanks

Quote:
Originally Posted by madshi View Post
Could you please upload 00011.m2ts and 00130.m2ts for me? Those two seem to be really small. Thanks!

Last edited by deacon crusher; 4th September 2008 at 07:42. Reason: link was bad
deacon crusher is offline  
Old 4th September 2008, 08:04   #6060  |  Link
Duppie
Registered User
 
Join Date: Jun 2007
Posts: 58
Madshi, excellent application. Many Thanks.

I am using your tool to convert TrueHD to PCM and then mux audio and video together using tsMuxeR from ripped Blu-Rays. This works perfectly. I have read so much in this thread and just to make certain that the quality and command is OK. Am i doing it correct, if for instance the truehd audio track is 2 in the 0001.m2ts file:

Convertion from TrueHD to PCM with no loss: C:\eac3to 0001.m2ts 2: out.pcm

Do i need to use the -blu-ray switch? What is it exactly for? I have search this thread and could not find answers to these questions. Is this switch removed for a reason when only executing eac3to to obtain some help?

Thanks again.
Duppie is offline  
Closed Thread

Tags
eac3to


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 23:06.


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