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
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 30th October 2020, 18:13   #1  |  Link
NanoBot
Registered User
 
Join Date: Sep 2003
Posts: 209
Is it possible to remove the atmos metadata from an eac3 track without reencoding ?

Hi everbody,

the subject tells it all: I want to remove the atmos metadata extension from an eac3 track to save space, but without the need to reencode this track. The tracks looks like that:

Code:
Format                                   : E-AC-3 JOC
Format/Info                              : Enhanced AC-3 with Joint Object Coding
Commercial name                          : Dolby Digital Plus with Dolby Atmos
Could anyone give me a hint how to achieve that ?

Thx in advance, NanoBot
NanoBot is offline   Reply With Quote
Old 30th October 2020, 19:31   #2  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,227
Out of interest...

If it is possible to remove such meta-data, what would you intend to do with it. Or do you just want to delete it?
__________________
| 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   Reply With Quote
Old 30th October 2020, 20:45   #3  |  Link
NanoBot
Registered User
 
Join Date: Sep 2003
Posts: 209
I just want to get rid of the metadata to save space when archiving a tv series. The german 5.1 DD+ track without Atmos metadata has a bitrate of 256kBit/s, while the english 5.1 DD+ track with Atmos metadata has a bitrate of 768kBit/s. But I will never need the Atmos metadata, since I will never buy such an audio equipment.

Therefore I am looking for a software which is able to extract the "pure" DD+ without the metadata, but without reencoding it to avoid a quality loss. After that, I would remux the new track into a Matroska file. See the "-core" parameter of eac3to, which is able to extract the DTS core from an DTS MA track, as analogy.
NanoBot is offline   Reply With Quote
Old 30th October 2020, 22:15   #4  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
I tried with:

ffmpeg -i DD+Atmos.eac3 -bsf:a eac3_core -c:a copy output.eac3

but the output is still Atmos with the same size.
Work with thd and the filter -bsf:a truehd_core

BTW if you want save space you can recode it at desired bitrate:

ffmpeg -i DD+Atmos.eac3 -acodec eac3 -ab 256k output.eac3
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 30th October 2020, 23:40   #5  |  Link
NanoBot
Registered User
 
Join Date: Sep 2003
Posts: 209
Of course I could reencode, but reencoding from one lossy format to another is never a good idea.

Perhaps I should have a look into the sources of lav filters, because the LAV audio decoder is able to decode the DD+ stream while ignoring the Atmos metadata. Maybe that I am able to learn how to differentiate the eac3 core and the metadata.
NanoBot is offline   Reply With Quote
Old 31st October 2020, 11:45   #6  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
Quote:
Originally Posted by NanoBot View Post
Of course I could reencode, but reencoding from one lossy format to another is never a good idea.
Also lose 3D metadata is a bad idea.

Recode a Atmos eac3 5.1 768 Kb/s to 512 Kb/s if you want a transparent recode.

I challenge you to difference both in a blind test over a 2D audio equipment.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 31st October 2020, 12:00   #7  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,227
Keep the original audio and video streams and buy bigger HDD's
__________________
| 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   Reply With Quote
Old 31st October 2020, 14:39   #8  |  Link
NanoBot
Registered User
 
Join Date: Sep 2003
Posts: 209
First of all, the reason of my wish to reduce the size of the audio track is not that I am short on free hdd space. Instead the reason is, that on principle I want to keep only those components of a movie or tv series which are usefull for me, so I remove all audio and subtitle languages I don't understand and keep only the audio formats my equipment is capable to playback. And in fact, of course you are right, HDD space is very cheap this days, so normally there would be no need to be as frugal as possible.

But now I am wondering if I am on the wrong horse all the time. I thought that an eac3 track with atmos metadata could be seen like a DTS-MA track: A small DTS core and a much bigger MA extension to make it lossless and extend the channel number from 5.1 to 7.1. So when is comes to DTS-MA, removing the extension and just keeping the core is an easy way to save space. From your suggestions I now suppose, that things are different with eac3 + Atmos ? What I mean is, that removing the metadata will not save a noticeable amount of space ? If that assumption would be true, I will forget about removing the metadata and keep those audio tracks like they are.

Last edited by NanoBot; 31st October 2020 at 14:53.
NanoBot is offline   Reply With Quote
Old 31st October 2020, 15:23   #9  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,227
Like most people I remove any audio and subtitle streams I don't require. That being said, if the Dolby Digital Plus audio sources are from Blu-ray discs, it should be possible to extract and keep their Dolby Digital core!

Much depends on your sources and how they've been encoded.
__________________
| 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   Reply With Quote
Reply


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 06:38.


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