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 26th March 2018, 14:18   #14621  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
Quote:
Originally Posted by richardpl View Post
Have you found actual EAC3 7.1 which are not test streams?

Maybe if you report such streams, there is higher chance of it being supported in FFmpeg.
There is several Blu-ray discs which use this channel setup. If you need more samples, let me know.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline  
Old 27th March 2018, 07:37   #14622  |  Link
FrasierCrane
Registered User
 
Join Date: Mar 2018
Posts: 2
Issue with E-AC3 tracks?

Hi!

Whenever I try to demux a BluRay (m2ts files) containing an E-AC3 (7.1) audio track, eac3to fails. It can not even extract the core and it just aborts. See the log:

eac3to v3.34
command line: "F:\Clown_BD\eac3to\eac3to.exe" "V:" 1) 6: "T:\Clown_BD\Audio_6_German.AC3" -progressnumbers -LOG="T:\Clown_BD\LOGS\eac3to_PASS3_LOG.LOG"
------------------------------------------------------------------------------
M2TS, 1 video track, 6 audio tracks, 7 subtitle tracks, 1:45:00, 72p /1.001
1: Chapters, 28 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: DTS Master Audio, English, 7.1 channels, 24 bits, 48kHz, dialnorm: -3dB
(core: DTS, 5.1 channels, 1509kbps, 48kHz, dialnorm: -3dB)
4: DTS Hi-Res, English, 5.1 channels, 2046kbps, 48kHz, dialnorm: -3dB
(core: DTS, 5.1 channels, 1509kbps, 48kHz, dialnorm: -3dB)
5: AC3, English, 2.0 channels, 320kbps, 48kHz, dialnorm: -28dB
6: E-AC3, German, 7.1 channels, 896kbps, 48kHz, dialnorm: -27dB
(core: AC3, 5.1 channels, 512kbps, 48kHz, dialnorm: -27dB)
7: E-AC3, Italian, 7.1 channels, 896kbps, 48kHz, dialnorm: -27dB
(core: AC3, 5.1 channels, 512kbps, 48kHz, dialnorm: -27dB)
8: AC3, English, 2.0 channels, 320kbps, 48kHz, dialnorm: -27dB
9: Subtitle (PGS), English
10: Subtitle (PGS), German
11: Subtitle (PGS), Italian
12: Subtitle (PGS), English
13: Subtitle (PGS), German
14: Subtitle (PGS), Italian
15: Subtitle (PGS), English
[v02] The video bitstream framerate field doesn't seem to match the timestamps. <WARNING>
[a06] Extracting audio track number 6...
[a06] Removing AC3 dialog normalization...
[a06] Extracting E-AC3 core...
[a06] Decoding with libav/ffmpeg...
[a06] The libav decoder reported error -22 while decoding. <ERROR>
Aborted at file position 1048576. <ERROR>


What is the problem and how do I fix it? When demuxxing the other tracks, they are mostly damaged as well (especially the subtitle tracks) - this only happens when there is such an E-AC3 track present in the m2ts file.

Cheers!
FrasierCrane is offline  
Old 27th March 2018, 10:17   #14623  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
The issue is already reported to madshi.

The eac3 7.1 tracks reported by eac3to like:

Quote:
6: E-AC3, German, 7.1 channels, XXXkbps, 48kHz, dialnorm: -27dB
(core: AC3, 5.1 channels, YYYkbps, 48kHz, dialnorm: -27dB)
Fails when try to extract to EAC3 with:

Quote:
eac3to "INPUT" 1) 6: output.eac3
...
[a06] Extracting audio track number 6...
[a06] Removing AC3 dialog normalization...
[a06] Applying (E-)AC3 delay failed. <ERROR>
Aborted at file position ... <ERROR>
Also fails when try to recode to AC3 (seems than can't extract the core):

Quote:
eac3to "INPUT" 1) 6: output.ac3
...
[a06] Extracting audio track number 6...
[a06] Removing AC3 dialog normalization...
[a06] Extracting E-AC3 core...
[a06] Decoding with libav/ffmpeg...
[a06] The libav decoder reported error -22 while decoding. <ERROR>
Aborted at file position ... <ERROR>
The unique workaround than work is recode the core to AC3 with a explicit -core parameter:

Quote:
eac3to "INPUT" 1) 6: output.ac3 -core
...
[a06] Extracting audio track number 6...
[a06] Extracting E-AC3 core...
[a06] Removing AC3 dialog normalization...
[a06] Decoding with libav/ffmpeg...
[a06] Remapping channels...
[a06] Encoding AC3 <640kbps> with libAften...
[a06] Creating file "output.ac3"...
Video track 1 contains X frames.
eac3to processing took Z seconds.
Done.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline  
Old 27th March 2018, 10:24   #14624  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
So it is one of the usual "notorious" Blu-ray E-AC3 streams with 5.1 AC3 core + 2 differential E-AC3 channels as substream?
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline  
Old 27th March 2018, 10:27   #14625  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,469
Quote:
Originally Posted by BonumMonstrum View Post
BUT I also would like to know whether there are forced subtitles or not. Normally eac3to creates a file like

"00125 - 7 - Subtitle (PGS), English, 1080 captions" or "1080 captions, 3 Forced captions"

So the automatic naming of eac3to for files would be nice now
I'm not sure I understand. eac3to (and all M2TS demuxers) cannot know if there are forced subtitles without analysing the content of the M2TS file, because that information is not stored in a header or in the MPLS file. So, you have to launch the analysis anyway, then inspect the output and manually give proper file names for the demuxed tracks. I suppose that a good GUI should be able to automate that, but with a GUI, you will have to select manually the streams you want to demux. So, unless you write yourself a tool to do exactly what you want, there will always be things to do manually.

BTW, I forgot to specify that if your M2TS is multi-angle, you have to specify the angle to demux with this (assuming angle 1):
Code:
path\to\eac3to.exe V:\BDMV\PLAYLIST\00200.mpls 1) 10: english1.sup 11: english2.sup
(I have edited my previous post accordingly.)
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV

Last edited by r0lZ; 27th March 2018 at 10:33.
r0lZ is offline  
Old 27th March 2018, 16:43   #14626  |  Link
mbcd
Registered User
 
Join Date: Dec 2008
Location: Germany
Posts: 173
This is right, if you have a single forced subtitle at the end of the stream / film, you can not recognize it at beginning of the stream, so you have parse the whole stream to find it. If you dont have some addition file which contains a listing of all streams, you have to decode the complete stream.
mbcd is offline  
Old 28th March 2018, 21:23   #14627  |  Link
Smithy
Registered User
 
Join Date: Apr 2015
Location: Germany
Posts: 20
Quote:
Originally Posted by LigH View Post
So it is one of the usual "notorious" Blu-ray E-AC3 streams with 5.1 AC3 core + 2 differential E-AC3 channels as substream?
The NEW DD+ @ BD have 4 (EAC3) Surround Ch's that replace the 2 Surrounds of the 5.1 AC3 Core Track when 7.1 DD+ is playing !
__________________
32bit Vista SP2 (DX11 Platform Update), Nvidia GTX960 4GB AMP (365.19), 1. 27' FHD Benq / 2. 65' UHD HDR Sony XE93, madVR 0.92.17, LAV 0.73.1, MPC-HC 1.8.3

Last edited by Smithy; 28th March 2018 at 22:05.
Smithy is offline  
Old 29th March 2018, 09:18   #14628  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,219
After a stalled start with HD-DVD there's no doubt that Dolby Digital Plus is back and expanding it's feature-set, especially as more streaming services embrace object-based (Atmos) audio.

With Atmos in mind... Have any of you guys downloaded Dolby's 7.1.4 and 9.1.6 (DD+ with Atmos) samples, that were muxed into the .mp4 container?
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline  
Old 29th March 2018, 09:22   #14629  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
Quote:
Originally Posted by Smithy View Post
The NEW DD+ @ BD have 4 (EAC3) Surround Ch's that replace the 2 Surrounds of the 5.1 AC3 Core Track when 7.1 DD+ is playing !
This is not exactly "new", this setup has been allowed on Blu-ray since forever, it was just rarely used. Still is somewhat rare, but it occurs sometimes.

All that said, FFmpeg should be able to handle this very soon. The patch is basically ready for inclusion. It should come to FFmpeg based players and tools then eventually.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 29th March 2018 at 09:40.
nevcairiel is offline  
Old 29th March 2018, 10:05   #14630  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
Quote:
Originally Posted by nevcairiel View Post
...FFmpeg should be able to handle this very soon.
Nice to know.

BTW, I suggest a parameter to extract/decode only the 5.1 part for users of 5.1 audio equipment (like me) without need downmix.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline  
Old 29th March 2018, 10:18   #14631  |  Link
richardpl
Registered User
 
Join Date: Jan 2012
Posts: 272
Yes, there is already eac3_core bitstream filter in git master.
richardpl is offline  
Old 29th March 2018, 14:26   #14632  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
Only loosely related: After more than a year, the ffmpeg trac ticket #3595 is active again ... its title got renamed.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline  
Old 29th March 2018, 15:24   #14633  |  Link
richardpl
Registered User
 
Join Date: Jan 2012
Posts: 272
And everybody donated single penny.
richardpl is offline  
Old 29th March 2018, 20:21   #14634  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
If I knew it would certainly accelerate something, I would even donate more.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline  
Old 14th April 2018, 05:37   #14635  |  Link
pstn
Registered User
 
Join Date: Sep 2017
Posts: 12
does anyone know which command to use to demux a 3d bluray but isolate the 2d part?
pstn is offline  
Old 14th April 2018, 08:31   #14636  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Finland
Posts: 5,718
Quote:
Originally Posted by pstn View Post
does anyone know which command to use to demux a 3d bluray but isolate the 2d part?
Isn't the video for both eyes as its own track? IIRC the left eye stream is the "main" one to demux.
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline  
Old 14th April 2018, 08:47   #14637  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
This is true when the one eye's content is encoded as AVC video stream, and the other eye's content as MVC substream.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline  
Old 14th April 2018, 09:04   #14638  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
That is the case for 3DBDs, always. Although left/right could be swapped and the AVC stream actually be the right eye, but there is always one main AVC stream you can just take without the MVC stream to get 2D.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline  
Old 14th April 2018, 12:02   #14639  |  Link
pstn
Registered User
 
Join Date: Sep 2017
Posts: 12
Quote:
Originally Posted by nevcairiel View Post
That is the case for 3DBDs, always. Although left/right could be swapped and the AVC stream actually be the right eye, but there is always one main AVC stream you can just take without the MVC stream to get 2D.
yes that's what I'm talking about, is there any specific command?

thanks
pstn is offline  
Old 15th April 2018, 08:55   #14640  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,469
To grab the 2D movie, you have to demux the MPLS, and select the AVC video stream and the audio and subtitle streams you are interested in, and drop the MVC. If you want to demux directly the M2TS file(s), you have to locate the one that contains the AVC stream. It's easy with a good player. The M2TS files with the MVC stream cannot be played directly.

The command to demux is exactly identical to the command to demux a 2D BD, just omit the MVC stream. But personally, I would use tsMuxeR instead of eac3to to demux a BD. It has a good GUI, easy to use.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV

Last edited by r0lZ; 15th April 2018 at 09:00.
r0lZ 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 00:53.


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