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 12th September 2007, 16:23   #801  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by VempX View Post
This is report of xport
=================================
D:\[DVDISO] AIR BDBOX VOL.1\BDMV\STREAM>xport -h 00003.m2ts 1 3 4
xport Transport Stream Demuxer 0.98
program = 1, video channel = 3, audio channel = 4
Program Number = 0 (0x0000), Program Map PID = 31 (0x001f)
Program Number = 1 (0x0001), Program Map PID = 256 (0x0100)
program descriptor = 0x05, 0x04, 0x48, 0x44, 0x4d, 0x56
program descriptor = 0x88, 0x04, 0x0f, 0xff, 0xff, 0xfe
ES descriptor for stream type 0x02 = 0x05, 0x08, 0x48, 0x44, 0x4d, 0x56, 0xff, 0
x02, 0x44, 0x3f
ES descriptor for stream type 0x81 = 0x05, 0x04, 0x41, 0x43, 0x2d, 0x33
ES descriptor for stream type 0x81 = 0x81, 0x04, 0x08, 0x3c, 0x0e, 0x00
ES descriptor for stream type 0x80 = 0x05, 0x08, 0x48, 0x44, 0x4d, 0x56, 0xff, 0
x80, 0x31, 0x7f
ES descriptor for stream type 0x81 = 0x05, 0x04, 0x41, 0x43, 0x2d, 0x33
ES descriptor for stream type 0x81 = 0x81, 0x04, 0x08, 0x3e, 0x04, 0x00
Audio PID = 4355 <0x1103>, type = 0x80
ES descriptor for stream type 0x80 = 0x05, 0x08, 0x48, 0x44, 0x4d, 0x56, 0xff, 0
x80, 0x61, 0x7f
LPCM Audio Mode = 3/2+lfe
LPCM Audio Bits/sample = 16
LPCM Audio Sample Rate = 48000
ts rate = unspecified
============================
With the xport demuxed audio file everything seems to work for me. Just use "eac3to xportdemuxed.pcm xportdemuxed.flac". I think the audio track you demuxed with TsRemux was corrupt.
madshi is offline  
Old 12th September 2007, 16:26   #802  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by yonta View Post
Code:
F:\>eac3to\eac3to.exe Innocence.LPCM16.8ch.pcm innocence.eac3to.ac3 -8 -16 -down6 -640
RAW, 7.1 channels, 0:01:00, 16 bits, 48khz
Converting the raw file to wav. Please wait...
Converting the wav file to ac3. Please wait...

Aften: A/52 audio encoder
Version 0.0.8
(c) 2006-2007 Justin Ruggles, Prakash Punnoor, et al.

input format: RAW Signed 16-bit little-endian 48000 Hz stereo
output format: 48000 Hz stereo (2/0)

SIMD usage: MMX SSE SSE2 SSE3
Threads: 2

progress: 100% | q: 306.6 | bw: 60.0 | bitrate: 640.0 kbps

Done.
innocence.eac3to.ac3 is just noise and 4 times bigger than the correct 5.1ch file.


tried converting the eac3to-generated wav file to ac3 using aften.exe.
Code:
F:\>eac3to\aften\aften.exe Innocence.LPCM16.8ch.wav innocence.aften.ac3 -b 640

Aften: A/52 audio encoder
Version 0.0.8
(c) 2006-2007 Justin Ruggles, Prakash Punnoor, et al.

input format: WAVE Signed 16-bit little-endian 48000 Hz 5.1-channel
output format: 48000 Hz 3/2 + LFE

SIMD usage: MMX SSE SSE2 SSE3
Threads: 2

progress: 100% | q: 255.5 | bw: 57.9 | bitrate: 640.0 kbps
innocence.aften.ac3 seems OK

converting to the other formats than ac3 works correctly.
That was a bug in eac3to. Thanks for reporting it. I'll upload a new build in a moment. Btw, "-down6" and "-640" are default when converting to ac3.
madshi is offline  
Old 12th September 2007, 16:26   #803  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by Schotenhüter View Post
whats that
You need to download GraphEdit. The file "dump.ax" is shipping with GraphEdit. Then run "regsvr32 dump.ax" in the command line to register the "dump" filter.
madshi is offline  
Old 12th September 2007, 16:28   #804  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
eac3to v1.15 released

http://madshi.net/eac3to.zip

This time there are only a few bugfixes.
madshi is offline  
Old 12th September 2007, 16:34   #805  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
Quote:
Originally Posted by madshi View Post
I think there are different kinds of corruption. The usual kind is probably that the length of the audio file is correct but that some of the data is corrupt. In that case "Silence" should maintain the sync. However, if the source container is corrupt (or if the demuxing routine has a bug) there could be additional invalid data in the source file. As a result the final repaired audio file could be too long. In that case "Skip" might maintain sync while "Silence" could lose sync.
Well, you are the author of last version I can't discuss with you (I'm busy with ffmpeg to analyze your version)

But with previous DelayCut versions, see the post all short frames are skipped and only full erroneus frames are replaced by silence then never the output can be long than input. But with 'Skip' option always the output is short than input because short and full frames are ignored.
tebasuna51 is offline  
Old 12th September 2007, 16:53   #806  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by tebasuna51 View Post
Well, you are the author of last version I can't discuss with you
Heh! No, actually I think you know more about delaycut than I do. I just copied every AC3 function and changed it to E-AC3 without really diving too deep into how it all really works. I definitely didn't change anything about how "skip", "silence" and "fix" work.

Quote:
Originally Posted by tebasuna51 View Post
I'm busy with ffmpeg to analyze your version
That's good!

Quote:
Originally Posted by tebasuna51 View Post
But with previous DelayCut versions, see the post all short frames are skipped and only full erroneus frames are replaced by silence then never the output can be long than input.
The output can't be longer than the input. But it can be longer than the correct result would be (and that is what I meant). Let me give you an example:

Blu-Ray TrueHD tracks have AC3 frames + TrueHD blocks. delaycut in "Silence" mode will extract all correct frames just fine. But it might find the AC3 sync word in some TrueHD blocks. The CRC will not fit, but "silence" mode will then add silent frames instead. As a result you'll get an audio track which is too long. Agreed? So there are situations where "skip" is the better choice compared to "silence".
madshi is offline  
Old 12th September 2007, 20:36   #807  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
Quote:
Originally Posted by madshi View Post
Blu-Ray TrueHD tracks have AC3 frames + TrueHD blocks.
Then you are right one more time.

In standard ac3 streams only ac3 frames (goods or corrupted) can be present.
tebasuna51 is offline  
Old 12th September 2007, 21:07   #808  |  Link
Schotenhüter
Registered User
 
Schotenhüter's Avatar
 
Join Date: Feb 2007
Location: Germany
Posts: 10
Quote:
Originally Posted by madshi View Post
You need to download GraphEdit. The file "dump.ax" is shipping with GraphEdit. Then run "regsvr32 dump.ax" in the command line to register the "dump" filter.
i`am test it
Schotenhüter is offline  
Old 12th September 2007, 21:33   #809  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by tebasuna51 View Post
In standard ac3 streams only ac3 frames (goods or corrupted) can be present.
One thing I'm not sure about: Can a recorded TS stream be so corrupt that a video packet is mistakingly interpreted as an audio packet? If that's possible and if you then demux the AC3 stream, it might also contain too much data, I think.
madshi is offline  
Old 13th September 2007, 03:34   #810  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
Quote:
Originally Posted by madshi View Post
One thing I'm not sure about: Can a recorded TS stream be so corrupt that a video packet is mistakingly interpreted as an audio packet?
Well, is possible but improbable, not only the header must match but also the CRC frame.
tebasuna51 is offline  
Old 13th September 2007, 07:50   #811  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by tebasuna51 View Post
Well, is possible but improbable, not only the header must match but also the CRC frame.
Ah, ok. Don't know much about TS yet. One of the things I still need to look into...
madshi is offline  
Old 14th September 2007, 11:58   #812  |  Link
Schotenhüter
Registered User
 
Schotenhüter's Avatar
 
Join Date: Feb 2007
Location: Germany
Posts: 10
next prob

Quote:
the audio decoder didn`t accept the input stream
Schotenhüter is offline  
Old 14th September 2007, 14:34   #813  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by Schotenhüter View Post
next prob
I don't have a telepathical connection to your computer. So if you don't give me any more details I can not help you. I need the full eac3to output and information about the source audio file you fed to eac3to.
madshi is offline  
Old 14th September 2007, 15:04   #814  |  Link
Icemaan
Registered User
 
Join Date: Mar 2006
Posts: 39
Hallo

By me your great Tool works fine. But only with 1536kps Dts.When I want downsample to 768kps it not work.The Sound looks horrible with 1536 all ok
Any Idea because I am new may be I made somethinh not correct
Thanks for help

Icemaan
Icemaan is offline  
Old 15th September 2007, 03:26   #815  |  Link
VempX
Registered User
 
Join Date: Mar 2006
Posts: 31
Sorry,I have to go to school Orz
I demux the audio track from m2ts by tsremux then I get a .pcm file.
I try to use eac3to to convert it to flac,but I get a strange .flac file which I gave you~
Does eac3to can't convert .wav file?
I demux the audio by gdsmux so I get a .wav file.But eac3to can't convert it =A=
VempX is offline  
Old 15th September 2007, 03:37   #816  |  Link
VempX
Registered User
 
Join Date: Mar 2006
Posts: 31
Sorry,I have to go to school Orz
I demux the audio track from m2ts by tsremux then I get a .pcm file.
I try to use eac3to to convert it to flac,but I get a strange .flac file which I gave you~
Does eac3to can't convert .wav file?
I demux the audio by gdsmux so I get a .wav file.But eac3to can't convert it =A=
VempX is offline  
Old 15th September 2007, 03:37   #817  |  Link
VempX
Registered User
 
Join Date: Mar 2006
Posts: 31
sorry
net hava a wrong
please delete this post
VempX is offline  
Old 16th September 2007, 01:27   #818  |  Link
markrb
Old fart
 
markrb's Avatar
 
Join Date: Oct 2001
Posts: 3,589
Strange problem and sorry if it's been discussed before. I did try and find it.

After converting an EVO to ac3 the file is small (165mb) and plays way too fast. I checked the wav file and it is 1.74gb, but it also plays way too fast.

There is no indication of anything wrong. The screen looks exactly like the successful screen shots I have seen here.
It even says 100% done at the end when aften is finished.

I did check the EVO with the single dd+ stream and that plays fine. I have tried it both command line and using the Gui with the same results.

2 Discs with the same issue. So I don't think it's the discs.

EDIT: I think my Nero was hosed. I reinstalled and I am testing it now.

Yep that was it. Un-install Nero. Use clean tool. Re-install. Seems to work fine.

Mark
__________________
Oh no Mr. Bill!

Last edited by markrb; 16th September 2007 at 17:01.
markrb is offline  
Old 16th September 2007, 16:23   #819  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,518
Quote:
Originally Posted by madshi View Post
You need to download GraphEdit. The file "dump.ax" is shipping with GraphEdit. Then run "regsvr32 dump.ax" in the command line to register the "dump" filter.
Where can i download graphedit?
nautilus7 is offline  
Old 16th September 2007, 17:01   #820  |  Link
markrb
Old fart
 
markrb's Avatar
 
Join Date: Oct 2001
Posts: 3,589
Quote:
Originally Posted by nautilus7 View Post
Where can i download graphedit?
Try Google. Then look for the register.bat file and run that.

Mark
__________________
Oh no Mr. Bill!
markrb 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 22:08.


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