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

Reply
 
Thread Tools Search this Thread Display Modes
Old 6th March 2018, 22:28   #14601  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 989
Quote:
Originally Posted by Richard1485 View Post
You could pipe to ffmpeg and continue using eac3to.
Decoding is buggish too. How can I use ffmpeg for both decoding and encoding?
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 6th March 2018, 23:52   #14602  |  Link
Richard1485
Registered User
 
Join Date: Feb 2010
Posts: 229
I wasn't aware that decoding was buggy. In what way?
Richard1485 is offline   Reply With Quote
Old 7th March 2018, 20:00   #14603  |  Link
mtamimi
Registered User
 
Join Date: Jun 2007
Posts: 44
I tried to change an audio file from 29.970 to 25.000 using the following command

eac3to source29970.mp2 output25000.mp2 -29.970 -changeTo25.000

but the output file is identical to the source, nothing changed...am I doing it wrong?

Thnx
mtamimi is offline   Reply With Quote
Old 7th March 2018, 20:02   #14604  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 9,442
Audio doesn't really have a frame rate as such, its a video property. What exactly do you want to happen?
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 7th March 2018, 20:10   #14605  |  Link
mtamimi
Registered User
 
Join Date: Jun 2007
Posts: 44
Quote:
Originally Posted by nevcairiel View Post
Audio doesn't really have a frame rate as such, its a video property. What exactly do you want to happen?
So speedingup and down is just for video? Can I use the audio from 29.970 video in a 25.000 video?
mtamimi is offline   Reply With Quote
Old 7th March 2018, 20:59   #14606  |  Link
Richard1485
Registered User
 
Join Date: Feb 2010
Posts: 229
Code:
eac3to source29970.mp2 output25000.mp2 -speedup
Richard1485 is offline   Reply With Quote
Old 7th March 2018, 21:16   #14607  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 9,442
Quote:
Originally Posted by mtamimi View Post
So speedingup and down is just for video? Can I use the audio from 29.970 video in a 25.000 video?
It depends how those videos are made. Are they exactly the same length? Then yes, the audio doesn't need to be changed.

Often 29.97 to 25 would be IVTC'ed to 23.976 and then speed-up from there, so durations may differ slightly, but you would have to do that speedup step, and not a 29.97 -> 25 slowdown.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 23rd March 2018, 15:45   #14608  |  Link
thecoreyburton
Registered User
 
Join Date: Jul 2015
Posts: 103
Sometimes when dealing with AC3 tracks, I get the message "Reducing depth from 64 to 24 bits". The source audio in these cases is always reported by MediaInfo to be 16-bit. Is it practical to use "-down16" in these cases, or is it reducing (or increasing, rather?) the depth to 24 bit for a specific reason?
thecoreyburton is offline   Reply With Quote
Old 23rd March 2018, 15:59   #14609  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,135
You can ignore the MediaInfo information. AC3 tracks do not have any inherent bitdepth (TrueHD is different). The AC3 decoder decodes it at 64 bit. Then eac3to automatically dithers that down to 24 bit because humans cannot hear a difference anyways and 64 bit files would be huge (or the target format doesn't support 64 bit in the first place). You can reduce the bitdepth further to 16 bit if you want and will probably not hear any difference. But this only makes sense if you are compressing to a format that does have a set bitdepth (e.g. FLAC, wav), not if you target AC3, AAC, MP3, ...
sneaker_ger is offline   Reply With Quote
Old 23rd March 2018, 16:22   #14610  |  Link
thecoreyburton
Registered User
 
Join Date: Jul 2015
Posts: 103
Perfect! That not only resolves my question, but also also a few other nagging thoughts I had as well.
thecoreyburton is offline   Reply With Quote
Old 25th March 2018, 06:38   #14611  |  Link
wolflop
Registered User
 
Join Date: Sep 2009
Posts: 18
Can someone tell me how I can demux a Dolby Digital Plus 7.1 into individual wavs?

thanks

wolflop
wolflop is offline   Reply With Quote
Old 25th March 2018, 08:13   #14612  |  Link
Music Fan
Registered User
 
Join Date: May 2009
Location: Belgium
Posts: 1,651
This should work (add s after wav) to get 24 bit ;
eac3to input.ac3 output.wavs

Or add -down16 if you need 16 bit ;
eac3to input.ac3 output.wavs -down16

Last edited by Music Fan; 25th March 2018 at 08:17.
Music Fan is offline   Reply With Quote
Old 25th March 2018, 18:19   #14613  |  Link
wolflop
Registered User
 
Join Date: Sep 2009
Posts: 18
This does not work with DD. with other tracks that goes (I use the eac3togui) with DD aborts the program with error message

Last edited by wolflop; 25th March 2018 at 18:21.
wolflop is offline   Reply With Quote
Old 25th March 2018, 19:12   #14614  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,669
And why do you believe that we do not want to know the exact error message? Or even better, a whole console output log, if the GUI doesn't hide that from the user.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid

Last edited by LigH; 25th March 2018 at 19:14.
LigH is offline   Reply With Quote
Old 25th March 2018, 19:12   #14615  |  Link
Music Fan
Registered User
 
Join Date: May 2009
Location: Belgium
Posts: 1,651
Did you get an error message ?

edit : LigH was faster
Music Fan is offline   Reply With Quote
Old 26th March 2018, 00:10   #14616  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 5,416
Quote:
Originally Posted by wolflop View Post
Can someone tell me how I can demux a Dolby Digital Plus 7.1 into individual wavs?
EAC3 7.1 can't be decode to 7.1 channels with free soft.

ffmpeg can decode it to 5.1:

ffmpeg -i input.eac3 decoded.w64

and after to individual 6 wavs (maybe ffmpeg can do this directly):

eac3to decoded.w64 output.wavs
__________________
BeHappy, AviSynth audio transcoder, in Doom9 forums. NicAudio, BassAudio, audio decoders.
tebasuna51 is offline   Reply With Quote
Old 26th March 2018, 00:43   #14617  |  Link
BonumMonstrum
Registered User
 
Join Date: Mar 2018
Posts: 2
only subtitle demux

Hello everyone!

I'm using eac3to quite often, but by now i couldnt figure out how to ONLY demux subtitles.... maybe you guys can help me with that...? Demuxing the whole files only for the subtitles takes soo much time and I would love to reduce this ...


Thanks a lot in advance for your help!!!
BonumMonstrum is offline   Reply With Quote
Old 26th March 2018, 07:32   #14618  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,669
Well, the main purpose of eac3to is processing audio streams. To demultiplex subtitles only, you may find tools better specialized in this task. It would help to know your source format (DVD Video, Blu-ray?) to suggest accordingly.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 26th March 2018, 07:58   #14619  |  Link
richardpl
Registered User
 
Join Date: Jan 2012
Posts: 72
Quote:
Originally Posted by tebasuna51 View Post
EAC3 7.1 can't be decode to 7.1 channels with free soft.

ffmpeg can decode it to 5.1:

ffmpeg -i input.eac3 decoded.w64

and after to individual 6 wavs (maybe ffmpeg can do this directly):

eac3to decoded.w64 output.wavs
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.
richardpl is offline   Reply With Quote
Old 26th March 2018, 09:37   #14620  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,209
Quote:
Originally Posted by BonumMonstrum View Post
how to ONLY demux subtitles....
You can demux the subtitles exactly like any other stream.

Example: demux English subtitles from a BD playlist.

First, issue this command to inspect the content of the playlist (assuming angle 1):
Code:
path\to\eac3to.exe V:\BDMV\PLAYLIST\00200.mpls 1)
You will see something like this:
Code:
M2TS, 2 video tracks, 6 audio tracks, 4 subtitle tracks, 0:07:13, 24p /1.001
1: Chapters, 3 chapters
2: h264/AVC  (left eye), 1080p24 /1.001 (16:9)
3: h264/MVC (right eye), 1080p24 /1.001 (16:9)
4: DTS Master Audio, English, 7.1 channels, 24 bits, 48kHz
   (core: DTS, 5.1 channels, 1509kbps, 48kHz)
5: DTS Hi-Res, English, 5.1 channels, 2046kbps, 48kHz
   (core: DTS, 5.1 channels, 1509kbps, 48kHz)
6: AC3 Surround, English, 2.0 channels, 320kbps, 48kHz, -24ms
7: AC3 Surround, English, 2.0 channels, 320kbps, 48kHz, -24ms
8: AC3, French, 5.1 channels, 640kbps, 48kHz, -24ms
9: AC3, Spanish, 5.1 channels, 640kbps, 48kHz, -24ms
10: Subtitle (PGS), English
11: Subtitle (PGS), English
12: Subtitle (PGS), French
13: Subtitle (PGS), Spanish
Now, demux the subtitle streams 10 and 11:
Code:
path\to\eac3to.exe V:\BDMV\PLAYLIST\00200.mpls 1) 10: english1.sup 11: english2.sup
Works perfectly for a BD. I suppose that the same method works with any input file.
__________________
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:32. Reason: Added "1)" to specify angle 1 in the eac3to command examples
r0lZ is offline   Reply With Quote
Reply

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 04:22.


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