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 7th March 2018, 20:00   #14601  |  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  
Old 7th March 2018, 20:02   #14602  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,342
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 online now  
Old 7th March 2018, 20:10   #14603  |  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  
Old 7th March 2018, 20:59   #14604  |  Link
Richard1485
Guest
 
Posts: n/a
Code:
eac3to source29970.mp2 output25000.mp2 -speedup
 
Old 7th March 2018, 21:16   #14605  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,342
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 online now  
Old 23rd March 2018, 15:45   #14606  |  Link
thecoreyburton
Guest
 
Posts: n/a
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?
 
Old 23rd March 2018, 15:59   #14607  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
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  
Old 23rd March 2018, 16:22   #14608  |  Link
thecoreyburton
Guest
 
Posts: n/a
Perfect! That not only resolves my question, but also also a few other nagging thoughts I had as well.
 
Old 25th March 2018, 06:38   #14609  |  Link
wolflop
Registered User
 
Join Date: Sep 2009
Posts: 45
Can someone tell me how I can demux a Dolby Digital Plus 7.1 into individual wavs?

thanks

wolflop
wolflop is offline  
Old 25th March 2018, 08:13   #14610  |  Link
Music Fan
Registered User
 
Join Date: May 2009
Location: Belgium
Posts: 1,743
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  
Old 25th March 2018, 18:19   #14611  |  Link
wolflop
Registered User
 
Join Date: Sep 2009
Posts: 45
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  
Old 25th March 2018, 19:12   #14612  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
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  
Old 25th March 2018, 19:12   #14613  |  Link
Music Fan
Registered User
 
Join Date: May 2009
Location: Belgium
Posts: 1,743
Did you get an error message ?

edit : LigH was faster
Music Fan is offline  
Old 26th March 2018, 00:10   #14614  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
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.
tebasuna51 is offline  
Old 26th March 2018, 00:43   #14615  |  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  
Old 26th March 2018, 07:32   #14616  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
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  
Old 26th March 2018, 07:58   #14617  |  Link
richardpl
Registered User
 
Join Date: Jan 2012
Posts: 272
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  
Old 26th March 2018, 09:37   #14618  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,469
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  
Old 26th March 2018, 09:38   #14619  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Finland
Posts: 5,718
Quote:
Originally Posted by LigH View Post
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.
And as the subtitles are muxed into the corresponding files (m2ts, VOB, mkv etc.), eac3to needs to process the whole stream anyway so extracting only the subs is not much faster than extracting audio and subs.
__________________
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 26th March 2018, 13:35   #14620  |  Link
BonumMonstrum
Registered User
 
Join Date: Mar 2018
Posts: 2
Quote:
Originally Posted by r0lZ View Post
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:
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
Track 4 is used for destination file "1".
This audio conversion is not supported.
Now, demux the subtitle streams 10 and 11:
Code:
path\to\eac3to.exe V:\BDMV\PLAYLIST\00200.mpls 10: english1.sup 11: english2.sup
Works perfectly for a BD. I suppose that the same method works with any input file.
Thanks a lot, it works, but not perfectly for my goal: My problem was, that I couldn't get the subtitles from some sources due to some audio streams that wasn't supported - and I always only wanted the subtitles. 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

At least I can get the subtitles now, thanks a lot for your help!!!!
BonumMonstrum 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 15:50.


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