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 14th August 2010, 15:39   #10421  |  Link
nurbs
Registered User
 
Join Date: Dec 2005
Posts: 1,460
Quote:
Originally Posted by [)370|\|470!2 View Post
Let me get this straight — you're claiming that extension is a problem there?
No, I'm thinking something went wrong during demuxing the .m2ts files, which is why I asked what software you used to demux the audio. If it was eac3to you'd end up with a .thd extension, so you either renamed it or you used something else. I'd be interested in how you ended up with the file so I'll know how to avoid such problems.

So, have you found time to try if reencoding the audio straight from the .m2ts without demuxing it first works?
nurbs is offline  
Old 15th August 2010, 07:43   #10422  |  Link
xkodi
Registered User
 
Join Date: Aug 2002
Posts: 221
Quote:
Originally Posted by AnryV View Post
Will be anything made with the decoding of "strange setup" 7.1?
solution for that problem was finally found:

http://forum.doom9.org/showthread.php?t=156168

actually, that approach could be used for every DTS-HD (MA) file that Arcsoft can't decode correctly and respectively eac3to can't.

i wish eac3to be able to write such 140 bytes headers for easier decoding of DTS-HD (MA) file outside eac3to in case that is necessary.
xkodi is offline  
Old 15th August 2010, 07:47   #10423  |  Link
sub24ox7
Audiophile
 
sub24ox7's Avatar
 
Join Date: May 2009
Location: United States of America
Posts: 58
yes PLEASE!!! that would be so awesome I can't decode a DTS-HD mono track at this very moment
__________________
never give up or at least die trying
sub24ox7 is offline  
Old 15th August 2010, 11:12   #10424  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by tvjunky View Post
Maybe this is a bug in eac3to:

I always rip my BRs directly with eac3to like this:
eac3to d: 1) -demux

This was functioning for 100% of my BRs the last years. With the new version 3.22 i get the following error on ~50% of my discs
That's weird. I have a hard time believing that the new eac3to is responsible for the problems. Maybe something else changed on your PC? It seems nobody else has this problem.

Quote:
Originally Posted by lintran View Post
I just tried extract DTS-ES Discrete 6.1 to wav(input.dts output.wavs) with Arcsoft Decoder (version 3.0.160) and it produced 7 individual WAV files, but there was something wrong with them. Too much high-frequency and noise.
Quote:
Originally Posted by Atak_Snajpera View Post
Arcsoft decoder cannot properly decode 6.1 dts. I had the same problem.
Newer versions (e.g. 1.1.0.7) of the dtsdecoder.dll seem to have this problem. Older versions (e.g. 1.1.0.0) work just fine.

Quote:
Originally Posted by deathlord View Post
Could you allow for longer -edits, in particular silence? At the moment the maximum possible (positive) edit seems to be 4999ms.
Yes, will change that.

Quote:
Originally Posted by tebasuna51 View Post
WARNING:
- When the language field of a track (in mkv) is empty this mean the language is the default: eng (from MkvMerge v4.0.0)
- eac3to don't manage audio tracks (MP2/MP3/DTS/AC3?) from mkv's generated with MkvMerge v4.1.0 defaults (header compression).
- eac3to crash (without messages) with video track H264 from mkv's generated with MkvMerge v4.2.0 defaults (header compression).

@madshi

Do you have any plan to support these new defaults?
Yes.

Quote:
Originally Posted by mastrandrea View Post
Hi, is there a way to stretching an audio file to a given time?
In my case I would like to stretch a track by adding 400ms to it, is it possible with eac3to?
It is not possible with eac3to because the resampling library is limited to specific stretching factors.

Quote:
Originally Posted by tebasuna51 View Post
An audio file (dts, ac3, ...) don't have tags about the video fps, only have a duration. And aply a -24.000 -changeTo23.974 means only modify the duration with a coefficient of 1.001

With audio files -slowdown means modify the duration with a coefficient of (1001/960) always.
FWIW, "-slowdown" always defines a target FPS value of 23.976. You can do "-24.000 -slowdown" and it will do a 24.000 -> 23.976 slowdown.

Quote:
Originally Posted by dbone1026 View Post
I have a Blu Ray disc of a tv show (Supernatural Season 1, Disc 1). The disc has the first 6 episodes of the tv show. When I run the disc through eac3to (using Clown_BD and/or Ripbot) eac3to only picks up 3 playlists (the 1st playlist is of all episodes, the 2nd playlist is of episode 1, and the 3rd playlist is of episode 2). Episode 3-6 don't show anywhere. If I use MakeMKV I can see all episodes listed out individually to select. Is there anything you can think of that would be causing this issue?
I've seen this before and just thought that there were not any playlists for the other episodes. But maybe there are and there's a bug in eac3to. Can you please zip up the playlist and clipinf folders for me?

Quote:
Originally Posted by AnryV View Post
The decoding by libav under XP failed too.

What this can be?
Broken TrueHD track.

Quote:
Originally Posted by mr.duck View Post
eac3to cannot fully demux my TS files (from DVB-T, UK).

Unlike other programs like tsMuxeR, eac3to at least recognizes that there are subtitles there. But -demux only extracts the video and audio.
I don't know how to demux DVB subtitles in any format that can be used by other applications.

Quote:
Originally Posted by mr.duck View Post
Also when I -demux some <path>\video.ts, it extracts the audio and video to the same folder as eac3to.exe, not the video file folder and no other way of setting the output to another folder. Pretty annoying.
Just use "eac3to source c:\whatever\movie.*" that will demux all tracks to any desired target path.

Quote:
Originally Posted by deathlord View Post
How do I see which episode is which?
Often there's a "play all" playlist. It usually lists the episodes in the right order.

Quote:
Originally Posted by crl2007 View Post
Sometimes, when I join multiple m2ts files and demux the streams, the end result shows 13 hours as duration.
Simply joining multiple m2ts files makes problems because after joining it is not possible for eac3to (or any other program) to quickly see that the file was joined from multiple smaller files and that the timestamps do not match and where each smaller file starts and ends in the joined file. This is the way it is. If you manually join m2ts files, you'll have to live with this effect.

Quote:
Originally Posted by nibus View Post
Can eac3to demux DTS Express audio tracks?
Yes.

Quote:
Originally Posted by Laurent View Post
I come back to this problem with more explanations and tests. In fact, the problem is not new, I just verified and I have the same strange behaviour with eac3to v3.21 and eac3to v3.18.

Here is my scenario:
1 - eac3to to demux video in MKV container and convert audio to AC3
2 - TsMuxer to mux audio and video in a M2TS container
3 - playback of the M2TS file with the PS3

Video is H.264. When the file is decoded by the PS3, I have many macroblocks, and the result is the same whatever the version of eac3to (3.18, 3.21 and 3.22).
If at step 1, instead of demuxing video in MKV container, I demux the video in a H.264 file, then the playback with the PS3 is fine without macroblocks.

Note that all these files (M2TS and MKV) are played correctly on the PC.

So the problem is relative to the usage of MKV container, either when produced by eac3to, or when used as input by TsMuxer. And the problem is noticeable only when the final file is played with the PS3.
If you do this:

(1) demux blu-ray directly, by using eac3to
(2) mux video to MKV by using eac3to, then demux again by using eac3to

The demuxed raw h264 video file produced by both methods is identical. So the problem must obviously be caused by tsMuxeR not handling MKV input correctly.
madshi is offline  
Old 15th August 2010, 13:58   #10425  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by AnryV View Post
eac3to don't remove the dialog normalization with Arcsoft decoder (1.1.0.1)

Test .dtshd

http://multi-up.com/295013

DNorm.rar - center before and after decoding.
I've checked this and all decoders output the same volume - even libav which definitely doesn't do dialnorm processing for DTS when eac3to removes it from the headers. I believe that the volume was already changed (hard coded) by the DTS encoder. And I believe that ArcSoft totally ignores the dialnorm when decoding.

One key information is that decoding the track with ArcSoft and Sonic decoders output bit perfect identically results. Which means that decoding should be lossless which would not be the case if dialnorm processing was active.
madshi is offline  
Old 15th August 2010, 14:04   #10426  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by Momber View Post
I just noticed that a bug which I had reported months ago is still present.
The mapping of 3.0 soundtracks converted to flac is incorrect. The center channel ends up in the left surround.
This time the source was DTS MA 3.0 (last time: PCM 3.0), as found on the Criterion BluRays of Yojimbo and Sanjuro, so I don't think it's a decoder problem.
When creating Mono-Wavs instead of flac, the three tracks are correctly titled L, R and C.
The FLAC is correct. The latest madFlac v1.9 now also outputs the correct channelmask (0x7). The previous version used channelmask 0xffffffff. If you still get incorrect channel assignments then it's the fault of some other filter, maybe even the audio renderer. eac3to and madFlac definitely handle 3.0 correctly now.
madshi is offline  
Old 15th August 2010, 14:22   #10427  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by deathlord View Post
Could you allow for longer -edits, in particular silence? At the moment the maximum possible (positive) edit seems to be 4999ms.
I've checked. There's no specific limitation for the "-edit" command. You cannot edit in such a way, though, that looping wouldn't work. E.g. "-edit=0:00:01,+2000ms" is not allowed, but "-edit=0:00:05,+2000ms" works just fine.
madshi is offline  
Old 15th August 2010, 19:19   #10428  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by Snowknight26 View Post
Was able to find a small enough sample to be able to reproduce the issue:

http://stfcc.org/misc/eac3to.aac.issue.zip

Run the bat, wait for eac3to to stop outputting. Might be a while, but it will. Either put the two files in the folder eac3to is in or modify the bat.
I think I got a fix for this one. Could you please try with the next eac3to build and report back?
madshi is offline  
Old 15th August 2010, 19:58   #10429  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by Blue_MiSfit View Post
I'm seeing odd behavior with Battleship Potemkin, a newly restored BluRay release from Kino.
Thanks for the upload, the problem will be fixed in the next build.
madshi is offline  
Old 15th August 2010, 20:06   #10430  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by Atak_Snajpera View Post
@madshi
can you add option to automatically ignore .m2ts in playlist if number of audio channels is not constant. In this example also frame rate is different in first file.

Movie Downfall
Code:
eac3to v3.22
------------------------------------------------------------------------------
1) 00014.mpls, 00034.m2ts+00014.m2ts, 2:35:21
   - Chapters, 35 chapters
   - VC-1, 1080p24 /1.001 (16:9)
   - AC3, German, stereo, 48kHz

00034.m2ts
M2TS, 1 video track, 1 audio track, 0:00:37, 29.766p
1: Chapters, 35 chapters
2: VC-1, 1080p24 /1.001 (16:9)
3: AC3, German, 2.0 channels, 192kbps, 48kHz, dialnorm: -27dB

00014.m2ts
M2TS, 1 video track, 1 audio track, 0:00:29, 24p /1.001
1: VC-1, 1080p24 /1.001 (16:9)
2: AC3, German, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB
Hmmmmm... This is a difficult one. Sometimes there might be a small intro with different channels before the real movie which I could easily ignore without doing any damage. But then there might be movies where actually different parts have different audio tracks (e.g. seamless branching theatrical cut vs. director's cut). How can eac3to know? E.g. if the first m2ts file is 10 minutes long, shall I still cut it away? For an intelligent human it's not so difficult to find out whether an m2ts file can be dropped or not, but for a computer program it's much more difficult. I fear that if I simply drop the first m2ts file if it has different audio track properties, then I might damage some real movies.

Thoughts?

(BTW, the frame rate is not different, eac3to is more or less "guessing" the m2ts framerate, it's sometimes wrong. The video track framerate is reliable and it's identical.)
madshi is offline  
Old 15th August 2010, 20:11   #10431  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
eac3to v3.23 released

http://madshi.net/eac3to.zip

Code:
* fixed: handling of MKV files with header compression didn't work
* fixed: track listing of some Blu-Rays failed silently
* added support for decoding mono tracks with ArcSoft DTS decoder
* added reading support for DTS tracks with additional DTS-HD header
* improved m2ts framerate detection
* video bitdepth is displayed now, if different than 8 bits
* chroma format is displayed now, if different than 4:2:0
madshi is offline  
Old 15th August 2010, 20:17   #10432  |  Link
b66pak
Registered User
 
b66pak's Avatar
 
Join Date: Aug 2008
Location: The Land Of Dracula (Romania - EU)
Posts: 934
thanks a lot...

Quote:
Originally Posted by madshi View Post
Thoughts?
keep it as it is...or you will open a pandora box!..
_
__________________
if you ask a question and somebody give you the correct answer don't forget to leave a "thank you" note...
Visit The Land Of Dracula (Romania - EU)!
b66pak is offline  
Old 15th August 2010, 20:20   #10433  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,197
thanks for the new version again

a few questions: what would be the problem if you left all those small .m2ts files listed? a overly long amount of different playlists? is there maybe any way to say that eac3to should list, and not cut away, all small .m2ts files of certain playlists only, e.g. such playlists which contain the 2-3 biggest .m2ts files? (sometimes, there are extras on a BD which are bigger than the actual movie)

regarding audio, so dtsma mono tracks should work now. so whats still left that doesnt work properly? what about those 6.1 dtsma/truehd/lpcm tracks? 2.0 dtsma? anything with "strange setup"? dts express afaik was a problem of non-existing mkvmerge support.

what are those dts-hd tracks with additional header, what does it mean? again, do we have to do any re-demuxing of our dtsma track collection to have compability with hardware receivers when just bitstreaming the file?

thanks!

Last edited by Thunderbolt8; 15th August 2010 at 20:26.
Thunderbolt8 is offline  
Old 15th August 2010, 20:29   #10434  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by Thunderbolt8 View Post
a few questions: what would be the problem if you left all those small .m2ts files listed? a overly long amount of different playlists?
There are many Blu-Rays with literally hundreds of playlists. You'd be burried by useless information.

Quote:
Originally Posted by Thunderbolt8 View Post
is there maybe any way to say that eac3to should list, and not cut away, all small .m2ts files of certain playlists only
No.

Quote:
Originally Posted by Thunderbolt8 View Post
regarding audio, so dtsma mono tracks should work now. so whats still left that doesnt work properly? what about those 6.1 dtsma/truehd/lpcm tracks? 2.0 dtsma? anything with "strange setup"?
The only problem I'm aware of are those 7.1 tracks listed as "strange setup". Everything else, including mono, stereo and 6.1 should work perfectly, if you use the right ArcSoft decoder version (e.g. 1.1.0.0 works fine).

Quote:
Originally Posted by Thunderbolt8 View Post
what are those dts-hd tracks with additional header, what does it mean?
If you don't know what it means that you don't need it. No need to re-demux anything.
madshi is offline  
Old 15th August 2010, 20:48   #10435  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,197
Quote:
Originally Posted by madshi View Post
If you don't know what it means that you don't need to do it. No need to re-demux anything.
well, I dont have a HD receiver yet, so I wouldnt know if I needed it but if I had to redo something then I'd like to have done that by the time I have that kind of receiver, thats why I ask.

Quote:
Originally Posted by madshi View Post
There are many Blu-Rays with literally hundreds of playlists. You'd be burried by useless information.


No.
would it be possible that eac3to leaves a message when it cuts away some small parts of those playlists it displays? then you dont have to check the playlist of the main movie manually each time for those files, but only if they are really included in the list for that movie.

Last edited by Thunderbolt8; 15th August 2010 at 21:44.
Thunderbolt8 is offline  
Old 15th August 2010, 20:48   #10436  |  Link
mrr19121970
Registered User
 
Join Date: Mar 2008
Posts: 305
Quote:
Originally Posted by madshi View Post
Thoughts?

(BTW, the frame rate is not different, eac3to is more or less "guessing" the m2ts framerate, it's sometimes wrong. The video track framerate is reliable and it's identical.)
The answer would be 'depends' on what you want to do ultimately (have all streams separetly demuxed, have 1 .ts/.m2ts/.mkv file, or the full BD structure).

Are you (Atak_Snajpera) looking to simply demux the playlist, or recode the audio? There are a few options available currently:

Use 00014.m2ts instead of 00014.mpls for example
Use another tool (eg tsMuxeR) on each .m2ts and then correct the playlist.
mrr19121970 is offline  
Old 15th August 2010, 20:52   #10437  |  Link
Snowknight26
Registered User
 
Join Date: Aug 2007
Posts: 1,430
Quote:
Originally Posted by madshi View Post
I think I got a fix for this one. Could you please try with the next eac3to build and report back?
Seems to be working beautifully, thanks.
Snowknight26 is offline  
Old 15th August 2010, 21:19   #10438  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
eac3to v3.24 released

http://madshi.net/eac3to.zip

Code:
* fixed: m2ts framerate detection for h264 tracks was half of what it should be
Oooooops.
madshi is offline  
Old 16th August 2010, 02:39   #10439  |  Link
jj666
Registered User
 
Join Date: May 2003
Posts: 153
Hello Madshi,

I tested the new processing .DTSHD functionality, it seems to be working with all the files I threw at it so far.

However, I found that demuxing a .DTSHD file introduced a 21ms delay to the file.

I verified by demuxing the original WAV, demuxing the encoded WAV with DTS Stream Player (both matched perfectly) and demuxing with EAC3TO (+21ms added). Waveforms were checked with Adobe Audition.

FYI, before EAC3TO added this functionality, I was demuxing the .DTSHD files with TSMUXER, TSMUXER mentioned "bad frame found, resycning stream" - this also introduced the same +21ms delay.

Cheers,

-jj-
jj666 is offline  
Old 16th August 2010, 04:17   #10440  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,197
Quote:
Originally Posted by jj666 View Post
However, I found that demuxing a .DTSHD file introduced a 21ms delay to the file.
when you demux it from what? you also get a delay now when demuxing it from the original blu-ray source?
Thunderbolt8 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 21:25.


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