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 28th June 2010, 20:06   #10241  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,988
Hi Madshi,

Thanks for reading my bug report, and being willing to take the time to fix the problem!

Here's the samples you requested for Battleship Potemkin:
http://www.mediafire.com/?mxdznd5gumd

Thanks again!
Derek
__________________
These are all my personal statements, not those of my employer :)
Blue_MiSfit is offline  
Old 28th June 2010, 20:37   #10242  |  Link
Kurtnoise
Swallowed in the Sea
 
Kurtnoise's Avatar
 
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,191
Quote:
Originally Posted by b66pak View Post
this work perfect for me:

Code:
eac3to input.ts 2:audio.wav
the result:

Code:
General
Complete name                    : F:\test_eac3_spectral.ts.wav
Format                           : Wave
File size                        : 7.36 MiB
Duration                         : 10s 724ms
Overall bit rate                 : 5 760 Kbps

Audio
Format                           : PCM
Format settings, Endianness      : Little
Format settings, Sign            : Unsigned
Codec ID                         : 00001000-0000-0100-8000-00AA00389B71
Codec ID/Hint                    : Microsoft
Duration                         : 10s 724ms
Bit rate mode                    : Constant
Bit rate                         : 5 760 Kbps
Channel(s)                       : 5 channels
Channel positions                : Front: L C R, Side: L R
Sampling rate                    : 48.0 KHz
Stream size                      : 7.36 MiB (100%)
the error in encoding to .ac3 is related to 5.0 channels...
_
nope...as I said, all is fine with FFmpeg. I mean transcoding eac3 to ac3 of course.
Kurtnoise is offline  
Old 28th June 2010, 20:49   #10243  |  Link
Snowknight26
Registered User
 
Join Date: Aug 2007
Posts: 1,430
It's because its only 5 channels. The implementation of Aften that eac3to uses doesn't take non-standard channel masks. If you have eac3to output to stdout, you can pipe the data to standalone Aften and it'll work.

Last edited by Snowknight26; 28th June 2010 at 21:48.
Snowknight26 is offline  
Old 28th June 2010, 21:04   #10244  |  Link
mrr19121970
Registered User
 
Join Date: Mar 2008
Posts: 305
Quote:
Originally Posted by MikeEby View Post
I don't think that's the issue in this case. The problem might be because the 2 files do not contain the same track structure.

Mike
Will you test this for me with Mary & Max

http://forum.slysoft.com/showpost.ph...4&postcount=90
mrr19121970 is offline  
Old 28th June 2010, 23:13   #10245  |  Link
MikeEby
Registered User
 
Join Date: Apr 2010
Posts: 24
Quote:
Originally Posted by mrr19121970 View Post
Will you test this for me with Mary & Max

http://forum.slysoft.com/showpost.ph...4&postcount=90
Sure, I tested and it doesn't appear to work..It does not report a DTS-HD audio track in the playlist. I didn't see that madshi fixed it in his release notes.

Code:
eac3to v3.22
command line: "C:\eac3to\eac3to.exe" "D:\BDMV\STREAM" -log="C:\Program Files\ACD\Another EAC3to GUI\log.txt"
------------------------------------------------------------------------------
1) 00000.mpls, 00023.m2ts+00000.m2ts, 1:32:26
   - Chapters, 17 chapters
   - h264/AVC, 1080p24 /1.001 (16:9)
   - RAW/PCM, English, stereo, 48kHz
   - RAW/PCM, English, stereo, 48kHz
   - RAW/PCM, English, stereo, 48kHz
   - RAW/PCM, English, stereo, 48kHz

2) 00007.mpls, 00007.m2ts, 0:22:04
   - MPEG2, 480i60 /1.001 (16:9)
   - RAW/PCM, English, stereo, 48kHz
   - RAW/PCM, English, stereo, 48kHz
   - RAW/PCM, English, stereo, 48kHz
   - RAW/PCM, English, stereo, 48kHz

3) 00002.mpls, 00005.m2ts, 0:15:48
   - Chapters, 6 chapters
   - MPEG2, 480i60 /1.001 (4:3)
   - RAW/PCM, English, stereo, 48kHz
   - RAW/PCM, English, stereo, 48kHz
   - RAW/PCM, English, stereo, 48kHz
   - RAW/PCM, English, stereo, 48kHz
Code:
eac3to v3.22
command line: "C:\eac3to\eac3to.exe" 1) -log="C:\Program Files\ACD\Another EAC3to GUI\log.txt"
------------------------------------------------------------------------------
M2TS, 1 video track, 4 audio tracks, 2 subtitle tracks, 0:00:10, 24p /1.001
1: Chapters, 17 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: RAW/PCM, English, 2.0 channels, 16 bits, 48kHz
4: RAW/PCM, English, 2.0 channels, 16 bits, 48kHz
5: RAW/PCM, English, 2.0 channels, 16 bits, 48kHz
6: RAW/PCM, English, 2.0 channels, 16 bits, 48kHz
7: Subtitle (PGS), Spanish
8: Subtitle (PGS), English
Mike
__________________
Another EAC3to GUI Plus

Last edited by MikeEby; 28th June 2010 at 23:18.
MikeEby is offline  
Old 29th June 2010, 00:24   #10246  |  Link
Laurent
Registered User
 
Join Date: May 2010
Posts: 35
Quote:
Originally Posted by Kurtnoise View Post
nope...as I said, all is fine with FFmpeg. I mean transcoding eac3 to ac3 of course.
Transcoding 5.1 E-AC3 track with spectral extension to 5.1 AC3 track seems to work well now with eac3to.

Transcoding 5.0 E-AC3 track with spectral extension to 5.0 AC3 track does not work. But this is probably more a problem with encoding only 5 channels than deconding 5.0 E-AC3 track with spectral extension.
If we could have a fix to be able to encode 5.0 tracks in AC3, that would be great because in the past one of our french channels used 5.0 E-AC3 audio instead of 5.1 E-AC3. So currently some of our old recordings are not yet managed by eac3to.
Laurent is offline  
Old 29th June 2010, 00:39   #10247  |  Link
Laurent
Registered User
 
Join Date: May 2010
Posts: 35
Quote:
Originally Posted by b66pak View Post
this work perfect for me:

Code:
eac3to input.ts 2:audio.wav
the result:

Code:
General
Complete name                    : F:\test_eac3_spectral.ts.wav
Format                           : Wave
File size                        : 7.36 MiB
Duration                         : 10s 724ms
Overall bit rate                 : 5 760 Kbps

Audio
Format                           : PCM
Format settings, Endianness      : Little
Format settings, Sign            : Unsigned
Codec ID                         : 00001000-0000-0100-8000-00AA00389B71
Codec ID/Hint                    : Microsoft
Duration                         : 10s 724ms
Bit rate mode                    : Constant
Bit rate                         : 5 760 Kbps
Channel(s)                       : 5 channels
Channel positions                : Front: L C R, Side: L R
Sampling rate                    : 48.0 KHz
Stream size                      : 7.36 MiB (100%)
the error in encoding to .ac3 is related to 5.0 channels...
_
Yes, same result, converting to WAV is done by eac3to without errors and the produced WAV contains 5 channels.
Error occurs when trying to encode in AC3.
Laurent is offline  
Old 29th June 2010, 02:24   #10248  |  Link
Momber
Registered User
 
Join Date: Mar 2007
Posts: 217
Here is a 50MB sample of dtsma 3.0, as requested. The first 30 seconds are silent, this is normal.

Click me
Momber is offline  
Old 29th June 2010, 02:53   #10249  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,480
Quote:
Originally Posted by RainyDog View Post

<!-- SNIP -->

Code:
eac3to v3.22
command line: "C:\Program Files (x86)\eac3to\eac3to.exe" "S:\Temp\RipBot264temp\job2\2_audio_Japanese.dts" "S:\Temp\Profound.ac3" -192
------------------------------------------------------------------------------
DTS, 1.0 channels, 2:53:28, 24 bits, 768kbps, 48kHz
Decoding with ArcSoft DTS Decoder...
The ArcSoft DTS Decoder reported an error while decoding. <ERROR>
Aborted at file position 262144. <ERROR>
Apart from the "imperfections" of the ArcSoft Decoder,
and just as a side/"off-topic" note, :

whoever has created a DTS mono stream at 768kbps is a...

(place your favorite derogatory-expression here);

255kbps would have been more-than-adequate.

P.S.:

try "-libav" instead of the ArcSoft filter,
or (as a "last resort") ffmpeg.

Last edited by Midzuki; 29th June 2010 at 03:48.
Midzuki is offline  
Old 29th June 2010, 06:24   #10250  |  Link
Kurtnoise
Swallowed in the Sea
 
Kurtnoise's Avatar
 
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,191
Quote:
Originally Posted by Snowknight26 View Post
It's because its only 5 channels. The implementation of Aften that eac3to uses doesn't take non-standard channel masks. If you have eac3to output to stdout, you can pipe the data to standalone Aften and it'll work.
something like this ?

Code:
eac3to.exe input.ts 2:output.stdout | aften.exe -readtoeof 1 - aften.ac3
if yes, this doesn't seem to work...
Kurtnoise is offline  
Old 29th June 2010, 06:45   #10251  |  Link
Snowknight26
Registered User
 
Join Date: Aug 2007
Posts: 1,430
Try something like this instead:
Quote:
eac3to input.ts 2: stdout.wav | aften -b 320 - output.ac3
Snowknight26 is offline  
Old 29th June 2010, 06:55   #10252  |  Link
jasonwc
Registered User
 
Join Date: May 2006
Posts: 70
I found odd behavior with eac3to 3.22 and the Slumdog Millionaire US AVC DTS-HD MA Blu-Ray. I converted the DTS-HD MA 24 bit track to a 16 bit FLAC with eac3to 3.22 and got a FLAC with a bitrate of 1331 Kbps. I used MKVMerge to create a MKV, and found that the video stalled on playback using ffdshow (libavcodec) to decode the FLAC. I had no such issue with madFLAC or the internal MPC-HC decoder. However, I was able to replicate the behavior in MPC-HC and Mediaporal using the ffdshow FLAC decoder.

I thought the issue might be corruption in the outputted FLAC because the video stream without audio played fine. Therefore, I demuxed the BD again and got an identically sized FLAC. Same problem.

I decided to redo the remux with eac3to 3.19 and identical settings. The FLAC now had a bitrate of 1393 Kbps. After remuxing with MKVMerge, I discovered the problem was gone. The remuxed video played back perfectly without stalling upon MPC-HC startup. I'm not sure if this is an ffdshow or eac3to problem, but it's weird that the FLAC bitrate changed, and the problem was fixed. The FLAC track was identical after both demuxes with 3.22, and all three demuxes used the same version of the FLAC encoder (1.2.1).

eac3to 3.22 log:

eac3to v3.22
command line: "C:\Users\Jason\Downloads\eac3to\eac3to.exe" "F:\In Process\Slumdog Millionaire 2008 Blu-ray 1080p AVC DTS-HD 5.1\" 1) 2: "D:\In Process\video.2.mkv" -seekToIFrames 3: "D:\In Process\audio.english.3.flac" -down16 4: "D:\In Process\audio.english.4.ac3" 5: "D:\In Process\audio.english.5.ac3" 1: "D:\In Process\chapters.txt" 7: "D:\In Process\subtitle.english.7.sup" -log="L:\Movies\Slumdog Millionaire 2008 1080p BluRay AVC FLAC-Remux\Slumdog Millionaire 2008 1080p BluRay AVC FLAC-Remux.log.txt" -progressnumbers
------------------------------------------------------------------------------
M2TS, 1 video track, 4 audio tracks, 3 subtitle tracks, 2:00:38, 24p /1.001
1: Chapters, 28 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: DTS Master Audio, English, 5.1 channels, 24 bits, 48kHz
(core: DTS, 5.1 channels, 24 bits, 1509kbps, 48kHz)
4: AC3, English, 2.0 channels, 224kbps, 48kHz, dialnorm: -27dB
5: AC3, English, 2.0 channels, 224kbps, 48kHz, dialnorm: -27dB
6: AC3, French, 5.1 channels, 448kbps, 48kHz, dialnorm: -27dB
7: Subtitle (PGS), English
8: Subtitle (PGS), French
9: Subtitle (PGS), Spanish
Creating file "D:\In Process\chapters.txt"...
[a04] Extracting audio track number 4...
[a05] Extracting audio track number 5...
[s07] Extracting subtitle track number 7...
[a05] Removing AC3 dialog normalization...
[v02] Extracting video track number 2...
[a04] Removing AC3 dialog normalization...
[a03] Extracting audio track number 3...
[v02] Muxing video to Matroska...
[a03] Decoding with ArcSoft DTS Decoder...
[a03] Reducing depth from 24 to 16 bits...
[a03] Encoding FLAC with libFlac...
[a03] Creating file "D:\In Process\audio.english.3.flac"...
[a05] Creating file "D:\In Process\audio.english.5.ac3"...
[a04] Creating file "D:\In Process\audio.english.4.ac3"...
[s07] Creating file "D:\In Process\subtitle.english.7.sup"...
[a03] The original audio track has a constant bit depth of 24 bits.
[a03] The processed audio track has a constant bit depth of 16 bits.
Added fps value (24 /1.001) to MKV header.
Video track 2 contains 173544 frames.
Subtitle track 7 contains 1385 captions.
eac3to processing took 17 minutes, 37 seconds.
Done.

eac3to 3.19 log:

eac3to v3.19
command line: "C:\Users\Jason\Downloads\eac3to\eac3to.exe" "F:\In Process\Slumdog Millionaire 2008 Blu-ray 1080p AVC DTS-HD 5.1\" 1) 2: "D:\In Process\video.2.mkv" -seekToIFrames 3: "D:\In Process\audio.english.3.flac" -down16 4: "D:\In Process\audio.english.4.ac3" 5: "D:\In Process\audio.english.5.ac3" 1: "D:\In Process\chapters.txt" 7: "D:\In Process\subtitle.english.7.sup" -log="K:\Movies\Slumdog Millionaire 2008 1080p BluRay AVC FLAC-Remux\Slumdog Millionaire 2008 1080p BluRay AVC FLAC-Remux.log.txt" -progressnumbers
------------------------------------------------------------------------------
M2TS, 1 video track, 4 audio tracks, 3 subtitle tracks, 2:00:38, 24p /1.001
1: Chapters, 28 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: DTS Master Audio, English, 5.1 channels, 24 bits, 48kHz
(core: DTS, 5.1 channels, 24 bits, 1509kbps, 48kHz)
4: AC3, English, 2.0 channels, 224kbps, 48kHz, dialnorm: -27dB
5: AC3, English, 2.0 channels, 224kbps, 48kHz, dialnorm: -27dB
6: AC3, French, 5.1 channels, 448kbps, 48kHz, dialnorm: -27dB
7: Subtitle (PGS), English
8: Subtitle (PGS), French
9: Subtitle (PGS), Spanish
Creating file "D:\In Process\chapters.txt"...
[s07] Extracting subtitle track number 7...
[v02] Extracting video track number 2...
[v02] Muxing video to Matroska...
[a05] Extracting audio track number 5...
[a05] Removing AC3 dialog normalization...
[a04] Extracting audio track number 4...
[a04] Removing AC3 dialog normalization...
[a03] Extracting audio track number 3...
[a03] Decoding with ArcSoft DTS Decoder...
[a03] Reducing depth from 24 to 16 bits...
[a03] Encoding FLAC with libFlac...
[a03] Creating file "D:\In Process\audio.english.3.flac"...
[a04] Creating file "D:\In Process\audio.english.4.ac3"...
[a05] Creating file "D:\In Process\audio.english.5.ac3"...
[s07] Creating file "D:\In Process\subtitle.english.7.sup"...
[a03] The original audio track has a constant bit depth of 24 bits.
[a03] The processed audio track has a constant bit depth of 16 bits.
Added fps value (24 /1.001) to MKV header.
Video track 2 contains 173544 frames.
Subtitle track 7 contains 1385 captions.
eac3to processing took 17 minutes, 57 seconds.
Done.

Last edited by jasonwc; 29th June 2010 at 06:57.
jasonwc is offline  
Old 29th June 2010, 07:26   #10253  |  Link
Laurent
Registered User
 
Join Date: May 2010
Posts: 35
I noticed yesterday a similar problem with many macroblocks in video if I demux video in MKV file rather than a H.264 file. As my process is a 2 steps process using first eac3to and then TsMuxer to produce a M2TS file, I cannot be sure if the problem with video in MKV container is due to eac3to or TsMuxer.
Laurent is offline  
Old 29th June 2010, 07:38   #10254  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,480
@ jasonwc:

if neither MPC-HC's decoder nor madFlac complained, but ffdshow stumbled, then the problem is in ffdshow, not in eac3to, IMHO.
BTW, you didn't mention what version of ffdshow you're using.

{
Anyway, and JMNSHO again, ffdshow became even-buggier with the advent of the "DXVA-era". And I don't intend to talk again with people who believe certain *design flaws* "must be preserved" for "historical reasons".
}

Last edited by Midzuki; 29th June 2010 at 07:45.
Midzuki is offline  
Old 29th June 2010, 08:09   #10255  |  Link
jasonwc
Registered User
 
Join Date: May 2006
Posts: 70
Quote:
Originally Posted by Midzuki View Post
@ jasonwc:

if neither MPC-HC's decoder nor madFlac complained, but ffdshow stumbled, then the problem is in ffdshow, not in eac3to, IMHO.
BTW, you didn't mention what version of ffdshow you're using.

{
Anyway, and JMNSHO again, ffdshow became even-buggier with the advent of the "DXVA-era". And I don't intend to talk again with people who believe certain *design flaws* "must be preserved" for "historical reasons".
}
I used two recent SVN builds - the problem persists with the latest build - 3488, released yesterday. I am using the software decoder, specifically ffmpeg-mt.
jasonwc is offline  
Old 29th June 2010, 08:53   #10256  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
Quote:
Originally Posted by Kurtnoise View Post
something like this ?

Code:
eac3to.exe input.ts 2:output.stdout | aften.exe -readtoeof 1 - aften.ac3
if yes, this doesn't seem to work...
Quote:
Originally Posted by Snowknight26 View Post
Try something like this instead:
Code:
eac3to input.ts 2: stdout.wav | aften -b 320 - output.ac3
Donīt forget the -readtoeof 1 because a wav 5.0 24 bits can be > 4GB.
Code:
eac3to.exe input.ts 2: stdout.wav | Aften.exe -readtoeof 1 - aften.ac3
The default aften bitrate for 5.0 is 448 Kb/s.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline  
Old 29th June 2010, 08:57   #10257  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,480
Quote:
Originally Posted by tebasuna51 View Post
The default aften bitrate for 5.0 is 448 Kb/s.
Probably he was thinking of NeroAacEnc when he wrote the Aften command-line...
Midzuki is offline  
Old 29th June 2010, 13:58   #10258  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
No, the parameter -b 320 is correct. And maybe recommended because:
Quote:
2: E-AC3, French, 5.0 channels, 256kbps, 48kHz, dialnorm: -27dB, -2140ms
We can select between ...,192,224,256,320,384,448,512,576,640 Kb/s.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline  
Old 29th June 2010, 14:11   #10259  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,462
Using eac3to, any way I can downconvert a ~25GB 192 Khz (!) LPCM track (Akira Blu-Ray) to something more human, like, say, 48 Khz?
__________________
Gorgeous, delicious, deculture!
asarian is offline  
Old 29th June 2010, 14:41   #10260  |  Link
nurbs
Registered User
 
Join Date: Dec 2005
Posts: 1,460
Yes you can do that. See the manual or the first post as to how.
nurbs 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 17:30.


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