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 1st March 2009, 19:33   #8441  |  Link
glood1
Registered User
 
Join Date: Feb 2009
Posts: 17
Problem remuxing a bluray


eac3to v3.11
command line: "D:\utils\BLURAY\Tools\eac3to\eac3to.exe" "T:\SOURCE_BLURAY\THE_SIGNAL\THE_SIGNAL\" 1) 2: "T:\temp\RipBot264temp\job1\video.mkv" -seekToIFrames 4: "T:\temp\RipBot264temp\job1\audio.1.dts" -core 1: "T:\temp\RipBot264temp\job1\chapters.txt" -progressnumbers
------------------------------------------------------------------------------
M2TS, 1 video track, 3 audio tracks, 3 subtitle tracks, 1:43:16, 24p
1: Chapters, 12 chapters
2: h264/AVC, 1080p24 (16:9)
3: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz
(core: DTS, 5.1 channels, 24 bits, 1509kbps, 48khz)
4: DTS Master Audio, French, 5.1 channels, 16 bits, 48khz
(core: DTS, 5.1 channels, 16 bits, 1509kbps, 48khz)
5: AC3, English, 2.0 channels, 224kbps, 48khz
6: Subtitle (PGS), French
7: Subtitle (PGS), French
8: Subtitle (PGS), French
[v02] The video framerate is correct, but rather unusual. <WARNING>
Creating file "T:\temp\RipBot264temp\job1\chapters.txt"...
[a04] Extracting audio track number 4...
[v02] Extracting video track number 2...
[v02] Muxing video to Matroska...
[a04] Extracting DTS core...
[a04] Patching bitdepth to 24 bits...
[a04] Creating file "T:\temp\RipBot264temp\job1\audio.1.dts"...
Added fps value to MKV header.
Video track 2 contains 148699 frames.
eac3to processing took 17 minutes, 45 seconds.
Done.


the framerate is not stable (speedup the video track is bad)
a few moment there is shifting frames (lost frames)
it s working with another movie whith 23.XXX

thanks for you help

Last edited by glood1; 1st March 2009 at 19:37.
glood1 is offline  
Old 1st March 2009, 20:57   #8442  |  Link
zeropc
Registered User
 
Join Date: Mar 2007
Posts: 114
madshi,

say, can you add a "set progressive flag" option into eac3to for slowdown clips/movies?

that would make some pal to ntsc conversions proper.

here is why...

source is 1080i50 (film) and doesnt show any interlacing. slowing it down to 23.976fps works fine but the output file is not 1080/24p, it's 1080i48/1001.
this gives playback problems on the ps3 for example. it's all jerky, like frame-dropping.

Last edited by zeropc; 1st March 2009 at 20:59.
zeropc is offline  
Old 2nd March 2009, 04:48   #8443  |  Link
FoxRacR17
Registered User
 
Join Date: Jan 2007
Posts: 66
I am having a problem and I cannot figure it out. I'm trying to encode a dts master audio file to wma pro 5.1 but the audio keeps coming out all garbled when I play it on my 360. I have arcsoft total media theater 2.1.6.125 installed, and nero 7 installed. It is coming from a .m2ts files, I have tried demuxing using both xport and tsmuxer, and then I even tried doing the ac3 audio that is in the .m2ts file so that the nero codec would be used but the resulting .wma file was still garbled. I also even tried using the sonic dts decoder but I still get messed up sounds. I'm running on Vista x64 sp1, and i'm using eac3to to change the dts-ma file into a single .wav (the resulting file is ALWAYS 4.50 gigs exactly, shouldnt it be bigger?) then i use tranzcode .40 to split it up into individual .wavs for each channel, then I combine them into a .avi using wavavimux, then i use csscript to convert it to a wma pro file. Please someone help me figure this out. I have been trying all day and its getting on my last nerve.
FoxRacR17 is offline  
Old 2nd March 2009, 13:03   #8444  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
@madshi
To my request:
Quote:
Originally Posted by tebasuna51 View Post
There are a problem with 'stdout.wav' and automatic second pass for overflow.
When this occurs the output is duplicated but the corrected second part is out of sync (because the second header) with garbage result.

Seems the problem is solved when add -2pass or -normalize parameters. Now seems the first ouput is inhibited and only the second pass is really output.
...
you answer with:
Code:
v3.09
...
* fixed: clipping removal 2nd pass was executed even for "stdout"
But now, when a 2nd pass is needed, I get a WARNING:
The 2nd pass can't be started due to "stdout".

And with the 'normalize' parameter (or '2pass', working ok before 2.09) now I get:
Code:
eac3to v3.12
command line: "D:\Programa\eac3to\eac3to.exe" "D:\Test\VideoS\VDPrueba\10.ac3" stdout.wav -down2 -normalize
------------------------------------------------------------------------------
AC3, 5.1 channels, 0:01:00, 448kbps, 48khz
The Nero decoder doesn't seem to work, will use libav instead.
Decoding with libav/ffmpeg...
Remapping channels...
Downmixing multi channel audio to stereo...
Writing WAV...
Creating file "stdout.pass1.wav"...
The 2nd pass can't be started due to "stdout".  <WARNING>
eac3to processing took 2 seconds.
Done.
The "stdout.pass1.wav" is created but nothing is sended by STDOUT to encoder.
__________________
BeHappy, AviSynth audio transcoder.

Last edited by tebasuna51; 2nd March 2009 at 13:13.
tebasuna51 is offline  
Old 2nd March 2009, 14:15   #8445  |  Link
TinTime
Registered User
 
Join Date: Jan 2009
Location: UK
Posts: 403
Quote:
Originally Posted by FoxRacR17 View Post
I'm trying to encode a dts master audio file to wma pro 5.1...It is coming from a .m2ts files, I have tried demuxing using both xport and tsmuxer...and i'm using eac3to to change the dts-ma file into a single .wav...then i use tranzcode .40 to split it up into individual .wavs for each channel, then I combine them into a .avi using wavavimux, then i use csscript to convert it to a wma pro file.
Why not just use eac3to for your first three steps?
eac3to input.m2ts(s) trackno: output.wavs

Anyway, at what stage in your process does the audio become garbled? If the wav file produced by eac3to is ok then it's not an eac3to problem. What happens if you play it?
TinTime is offline  
Old 2nd March 2009, 18:43   #8446  |  Link
monotube
Registered User
 
Join Date: Oct 2008
Posts: 8
Sorry, but I have not understood how to use Eac3to to get the sequence in a seamless branching BD.

I write : eac3to folder/wall-e and I get various Mpls which show video info and ALL THE LANGUAGES. In effect I would like to know what is the correct sequence for one language to obtain one m2ts with only one language

Many thanks in advance
monotube is offline  
Old 2nd March 2009, 21:13   #8447  |  Link
anode
Registered User
 
Join Date: Jan 2009
Posts: 8
Quote:
Originally Posted by laserfan View Post
Is this only for certain types of subs? When I tried comparing the output of eac3to and tsMuxeR with HxD Hex Editor, its Compare feature says they are bit-for-bit identical...?
I tried it with a few subtitles from various Blu-Ray titles and eac3to's demuxed .sup and tsMuxeR demuxed .sup are different.

The difference is that tsMuxeR .sup Versions contain PTS and DTS timing (Bytes 5-8 after the "PG" identifier), while the eac3to .sup contains only PTS (Bytes 1-4 after "PG"), DTS info is always zero.

I had one subtitle track from Day after Tomorrow (info tables, graphical bitmaps) which doesn't display without DTS info.
anode is offline  
Old 2nd March 2009, 23:20   #8448  |  Link
Snowknight26
Registered User
 
Join Date: Aug 2007
Posts: 1,430
Quote:
Originally Posted by monotube View Post
Sorry, but I have not understood how to use Eac3to to get the sequence in a seamless branching BD.
Example:
Quote:
eac3to v3.12
command line: eac3to.exe "G:\Blu-rays\Die Another Day"
------------------------------------------------------------------------------
1) 00001.mpls, 2:12:34
[130+131+133+134+136+137+139+140+142+143+145+146+148+149+151+152+154+155+157+158+160+161+163+164+166+167+169+170+172+173+175+176+178].m2ts
- Chapters, 33 chapters
- h264/AVC, 1080p24 /1.001 (16:9)
- DTS Master Audio, English, multi-channel, 48khz
- AC3, Spanish, stereo, 48khz
- AC3, French, multi-channel, 48khz
- AC3, English, stereo, 48khz
- AC3, English, stereo, 48khz
- AC3, English, stereo, 48khz

2) 00099.mpls (angle 2), 2:12:34
[130+132+133+135+136+138+139+141+142+144+145+147+148+150+151+153+154+156+157+159+160+162+163+165+166+168+169+171+172+174+175+177+178].m2ts
- Chapters, 33 chapters
- h264/AVC, 1080p24 /1.001 (16:9)
- DTS Master Audio, English, multi-channel, 48khz
- AC3, Spanish, stereo, 48khz
- AC3, French, multi-channel, 48khz
- AC3, English, stereo, 48khz
- AC3, English, stereo, 48khz
- AC3, English, stereo, 48khz
Snowknight26 is offline  
Old 3rd March 2009, 08:30   #8449  |  Link
mrr19121970
Registered User
 
Join Date: Mar 2008
Posts: 305
Quote:
Originally Posted by monotube View Post
Sorry, but I have not understood how to use Eac3to to get the sequence in a seamless branching BD.

I write : eac3to folder/wall-e and I get various Mpls which show video info and ALL THE LANGUAGES. In effect I would like to know what is the correct sequence for one language to obtain one m2ts with only one language

Many thanks in advance

you could try Clown_BD GUI, ideal for newcomers.
mrr19121970 is offline  
Old 3rd March 2009, 09:46   #8450  |  Link
tvjunky
Registered User
 
Join Date: Aug 2007
Posts: 9
Hi Madshi,
while copying my last few Blu-rays i saw something like this:

Code:
sXX Subtitle stream XX contains XX normal and XX forced captions
Would it be much work to automatically create a second file containing only the forced captions while extracting this stream?

Thanks for your great work again!
S.
tvjunky is offline  
Old 3rd March 2009, 11:07   #8451  |  Link
mrr19121970
Registered User
 
Join Date: Mar 2008
Posts: 305
I'll second that request.
mrr19121970 is offline  
Old 3rd March 2009, 11:22   #8452  |  Link
avivahl
Registered User
 
Join Date: Dec 2007
Posts: 215
Quote:
Originally Posted by tvjunky View Post
Hi Madshi,
while copying my last few Blu-rays i saw something like this:

Code:
sXX Subtitle stream XX contains XX normal and XX forced captions
Would it be much work to automatically create a second file containing only the forced captions while extracting this stream?

Thanks for your great work again!
S.
+1 on that request.
avivahl is offline  
Old 3rd March 2009, 14:52   #8453  |  Link
DoomBot
Registered User
 
Join Date: Jan 2008
Posts: 98
That would be a great thing added to this already awesome software
DoomBot is offline  
Old 3rd March 2009, 15:16   #8454  |  Link
jmonier
Registered User
 
Join Date: Oct 2008
Posts: 187
Quote:
Originally Posted by tvjunky View Post
Hi Madshi,
while copying my last few Blu-rays i saw something like this:

Code:
sXX Subtitle stream XX contains XX normal and XX forced captions
Would it be much work to automatically create a second file containing only the forced captions while extracting this stream?

Thanks for your great work again!
S.
SupRip has an option to only do forced subtitles.
jmonier is offline  
Old 3rd March 2009, 18:28   #8455  |  Link
TinTime
Registered User
 
Join Date: Jan 2009
Location: UK
Posts: 403
Madshi

eac3to seems to occasionally use the wrong title number when it's specified in the command.

For example I get the following results getting all titles with Twelve Monkeys on HDDVD:

Code:
eac3to v3.12
command line: "D:\Vtemp\programs\eac3to\eac3to.exe" "E:\Vtemp\12_MONKEYS_HDDVD" -log=main.txt
------------------------------------------------------------------------------
1) feature_01.EVO+feature_02.EVO, 2:09:32
   "feature"
   - VC-1, 1080p (16:9)
   - E-AC3, English, 5.1, 48khz
   - E-AC3, Italian, 5.1, 48khz
   - E-AC3, Spanish, 5.1, 48khz
   - E-AC3, English, 2.0, 48khz

2) 12_monkeys_archives.EVO, 0:39:30
   "Bonus3"
   - VC-1, 1080p (16:9)

3) MAKINGOF12MONKEYSN6LE_HD.EVO, 1:27:28
   "Bonus1"
   - MPEG2, 480i (4:3)
   - E-AC3, English, 2.0, 48khz

4) 12MONKEYSTRAILERN4FE_HD.EVO, 0:02:24
   "Bonus2"
   - MPEG2, 480i (4:3)
   - E-AC3, English, 2.0, 48khz
However if I then specify title 3 I get details back for title 2:

Code:
eac3to v3.12
command line: "D:\Vtemp\programs\eac3to\eac3to.exe" "E:\Vtemp\12_MONKEYS_HDDVD" 3) -log=3.txt
------------------------------------------------------------------------------
EVO, 1 video track, 0:39:32
1: Chapters, 237 chapters
2: VC-1, 1080p24 /1.001 (16:9) with pulldown flags
Also specifying title 2 brings back details for title 3. Titles 1 and 4 are ok though.

Is this related to this change back in 2.84?
* title sorting criteria changed: resolution is more important than runtime

It seems that when using eac3to to display all titles then it gives priority to resolution as per the change, but when specifying the title in the command line it's still sorting by runtime.

Thanks.
TinTime is offline  
Old 3rd March 2009, 22:50   #8456  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,197
seems like the "a remaining delay of Xms could not be fixed" message is missing when using -slowdown:

Code:
eac3to v3.12
command line: G:\eac3to\eac3to D:\movie.ts G:\movie.mkv
------------------------------------------------------------------------------
TS, 1 video track, 1 audio track, 1:29:41, 50i
1: h264/AVC, 1080i50 (16:9)
2: AC3, 2.0 channels, 384kbps, 48khz, dialnorm: -22dB, -2332ms
[v01] The video track contains the (probably incorrect) "full range" flag.  <WARNING>
[a02] Extracting audio track number 2...
[a02] Removing AC3 dialog normalization...
[v01] Extracting video track number 1...
[a02] Applying (E-)AC3 delay...
[v01] Removing "full range" flag from video bitstream.
[a02] A remaining delay of +4ms could not be fixed.
[v01] Muxing video to Matroska...
[a02] Creating file "G:\belle - 2 - AC3, 2.0 channels, 384kbps, 48khz.ac3"...
[v01] Detected PTS overflow...
[a02] Detected PTS overflow...
[a02] The last (E-)AC3 frame is incomplete and thus gets skipped.  <WARNING>
Added fps value to MKV header.
Video track 1 contains 269074 frames.
eac3to processing took 3 minutes, 6 seconds.
Done.
Code:
eac3to v3.12
command line: G:\eac3to\eac3to D:\movie.ts G:\movie.mkv -slowdown
------------------------------------------------------------------------------
TS, 1 video track, 1 audio track, 1:29:41, 50i
1: h264/AVC, 1080i50 (16:9)
2: AC3, 2.0 channels, 384kbps, 48khz, dialnorm: -22dB, -2332ms
[v01] The video track contains the (probably incorrect) "full range" flag.  <WARNING>
Disabling DRC for Nero (E-)AC3 decoding...
[a02] Extracting audio track number 2...
[v01] Extracting video track number 1...
[a02] Removing AC3 dialog normalization...
[a02] Decoding with DirectShow (Nero Audio Decoder 2)...
[v01] Removing "full range" flag from video bitstream.
[v01] Writing new framerate "24fps /1.001" to bitstream.
[v01] Muxing video to Matroska...
[a02] DirectShow reports 2.0 channels, 24 bits, 48khz
[a02] Applying RAW/PCM delay...
[a02] Changing FPS from 25.000 to 23.976...
[a02] Encoding AC3 <448kbps> with libAften...
[a02] Creating file "G:\belleslowed - 2 - AC3, 2.0 channels, 384kbps, 48khz.ac3"...
[v01] Detected PTS overflow...
[a02] Detected PTS overflow...
[a02] The last (E-)AC3 frame is incomplete and thus gets skipped.  <WARNING>
Added fps value to MKV header.
Video track 1 contains 269074 frames.
eac3to processing took 5 minutes, 26 seconds.
Done.
Thunderbolt8 is offline  
Old 4th March 2009, 10:37   #8457  |  Link
Mark_A_W
3 eyed CRT supporter
 
Join Date: Jan 2008
Location: Or-strayl-ya
Posts: 563
Madshi, a little feature request:

I'm trying to convert a mono 32 bit IEEE Float, 96khz .pcm file generated from DRC (Digital Room Correction software), to a mono 32bit IEEE Float 96khz .wav file.

Eac3to works, but only up to 24 bit (if I put "-32", it gives the specify info error).


If I could get eac3to to do this, then I can incorporate it in a giant .bat file which measures all 6 channels in my HT, then processes the measurement files with DRC, then converts to .wav format, ready for use in Convolver directshow plugin (or ffdshow, or foobar). All I do is place the microphone, turn it on, double click the shortcut to the .bat file, and it would all just happen.

I've been searching for ages for a program to do the conversion (other than Audition, which is major overkill), it just occured to me that the program I use to convert my BDs to MKV might do it But at the the moment it's close but no cigar..


If it's only a little change...please?

If it's a biggie, no problems, I'll keep hunting for something else.

Thanks

Mark
Mark_A_W is offline  
Old 4th March 2009, 11:08   #8458  |  Link
TinTime
Registered User
 
Join Date: Jan 2009
Location: UK
Posts: 403
Quote:
Originally Posted by Mark_A_W View Post
I'm trying to convert a mono 32 bit IEEE Float, 96khz .pcm file generated from DRC (Digital Room Correction software), to a mono 32bit IEEE Float 96khz .wav file.
Have you tried sox?
TinTime is offline  
Old 4th March 2009, 11:18   #8459  |  Link
Mark_A_W
3 eyed CRT supporter
 
Join Date: Jan 2008
Location: Or-strayl-ya
Posts: 563
Quote:
Originally Posted by TinTime View Post
Have you tried sox?

Yes.

I tried:

sox leftspeaker.pcm leftspeaker.wav

and got:

"sox formats: no handler for file extension 'pcm' "

(I would expect that sox, like eac3to would need me to specify the bit depth, etc, but it doesn't even seem to recognise pcm at all).

Any other suggestions are welcome (and sorry for the kinda OT..well, it is an audio conversion). I tried Audacity (16 bit it seems). Cooledit pro/audition will do it, but I'd prefer opensource, and command line...not that I'm picky

Mark
Mark_A_W is offline  
Old 4th March 2009, 12:28   #8460  |  Link
TinTime
Registered User
 
Join Date: Jan 2009
Location: UK
Posts: 403
Rename the .pcm files to .raw and sox should recognise them. As you said you'll have to specify bitrate, bit depth, etc.
TinTime 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 01:11.


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