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 4th January 2018, 09:31   #14561  |  Link
stax76
staxrip & mpv.net
 
Join Date: Jun 2002
Posts: 5,247
Quote:
Originally Posted by Ripman View Post
I like ffmpeg too. But I ended up at mkvmerge years ago, and the developer is pretty accessible via doom9.

Are there specific ffmpeg mkv capabilities that you use or prefer? Any capabilities that exist in ffmpeg but not in mkvmerge? Thanks.
I think the discussion was meant about muxing libraries which mkvtoolnix probably don't expose, the ffmpeg library for muxing/demuxing is called libavformat I believe.
__________________
staxrip is in need of a new maintainer since I would like to retire.

Last edited by stax76; 4th January 2018 at 09:34.
stax76 is offline   Reply With Quote
Old 4th January 2018, 11:29   #14562  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 4,968
At what point does it become easier to add eac3to features to ffmpeg than vice versa?
sneaker_ger is offline   Reply With Quote
Old 4th January 2018, 14:28   #14563  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,506
Who said that?

If you're referring to me, I said that it would be easier to add mkv muxing with ffmpeg (libavformat), as eac3to already uses ffmpeg for decoding.
nautilus7 is offline   Reply With Quote
Old 4th January 2018, 16:30   #14564  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 4,968
No one. Just wondering...
sneaker_ger is offline   Reply With Quote
Old 4th January 2018, 23:58   #14565  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,301
Adding eac3to features to other tools will not be very easy as long as eac3to stays closed-source. That's no complaint, just my thoughts...
__________________

German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 7th January 2018, 19:18   #14566  |  Link
AYColumbia
Registered User
 
AYColumbia's Avatar
 
Join Date: Jun 2013
Posts: 46
@madshi,
I noticed that the haali splitter URL is outdated in the -test info and is now located at the link below if you want to update it.

https://haali.su/mkv/
AYColumbia is offline   Reply With Quote
Old 7th January 2018, 19:24   #14567  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,301
The whole Haali Media Splitter software as such is outdated. There are fortunately not many usage cases left where parts of it can still be useful...
__________________

German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 10th January 2018, 04:05   #14568  |  Link
Bandits
Registered User
 
Join Date: Feb 2015
Posts: 26
When demuxing a UHD disc I got an audio file with DELAY -5ms in the filename.

- Does this mean there was a delay placed on the file so it would line up correctly when remuxed?
- Does this mean I need to place a delay on the file when remuxing?
- Is there a way to stop eac3to.exe from changing the output filename when a delay is encountered?

A different disc has an issue with the video.

First pass:
1) 00000.mpls, 00001.m2ts, 2:13:12
- Chapters, 16 chapters
- h265/HEVC, 2160p24 /1.001 (16:9)
- DTS Master Audio, English, multi-channel, 48kHz
- AC3, Spanish, multi-channel, 48kHz
- AC3, French, multi-channel, 48kHz
- AC3, English, stereo, 48kHz
- DTS, English, stereo, 48kHz

Second pass:
M2TS, 1 video track, 5 audio tracks, 5 subtitle tracks, 2:13:12, 11.987p
1: Chapters, 16 chapters
2: h265/HEVC, unknown parameters
3: DTS Master Audio, English, 7.1 channels, 24 bits, 48kHz
(core: DTS, 5.1 channels, 1509kbps, 48kHz)
4: AC3, Spanish, 5.1 channels, 640kbps, 48kHz
5: AC3, French, 5.1 channels, 640kbps, 48kHz
6: AC3 Surround, English, 2.0 channels, 224kbps, 48kHz
7: DTS, English, 2.0 channels, 768kbps, 48kHz
8: Subtitle (PGS), English
9: Subtitle (PGS), French
10: Subtitle (PGS), English
11: Subtitle (PGS), French
12: Subtitle (PGS), Spanish

For some reason it cannot understand the video track on the second pass and will result in a corrupt file if demuxed. I get same result pointing straight at the M2TS also. Using version 3.34.
__________________
Blu-Ray Ripper 0.111

Last edited by Bandits; 10th January 2018 at 04:24.
Bandits is offline   Reply With Quote
Old 10th January 2018, 11:21   #14569  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 5,340
- eac3to can't apply delay only in TrueHD tracks, and add the string "DELAY -5ms" (I don't know how change this) to remember you add the delay when remux.

With other tracks, not TrueHD, eac3to cut audio frames or add silent audio frames. then can't be always exact, and show the remaining delay in log without modify the track name.

BTW delays smaller than a video frame duration (~40 ms) can be safely ignored.

- The problem with the video track with parameters detected in mpls but not in m2ts seems:

a) If the m2ts play fine maybe it is not supported by eac3to. Cut a sample and upload it to http://eac3to.bugs.madshi.net

b) Or maybe it is corrupt.
__________________
BeHappy, AviSynth audio transcoder, in Doom9 forums. NicAudio, BassAudio, audio decoders.
tebasuna51 is offline   Reply With Quote
Old 10th January 2018, 21:00   #14570  |  Link
Bandits
Registered User
 
Join Date: Feb 2015
Posts: 26
Loading the mpls or the m2ts gives same result for the video file.

I will send a sample. What tool can cut the m2ts correctly?
__________________
Blu-Ray Ripper 0.111
Bandits is offline   Reply With Quote
Old 10th January 2018, 22:40   #14571  |  Link
Music Fan
Registered User
 
Join Date: May 2009
Location: Belgium
Posts: 1,634
Quote:
Originally Posted by Bandits View Post
What tool can cut the m2ts correctly?
Probably ffmpeg (in command line), and maybe TsMuxer.
Music Fan is offline   Reply With Quote
Old 11th January 2018, 01:45   #14572  |  Link
MeteorRain
紺野木綿季
 
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 468
I tend to hard cut m2ts using a binary file cutter -- it preserves the file structure.
You can just cut, for example, 200 megabytes from the beginning, reproduce against it and then upload.
MeteorRain is offline   Reply With Quote
Old 11th January 2018, 02:37   #14573  |  Link
hubblec4
Matroska Dev-Helper
 
Join Date: Apr 2008
Posts: 816
Quote:
Originally Posted by Bandits View Post
What tool can cut the m2ts correctly?

DGSplit is for me the best binary cut tool.
hubblec4 is offline   Reply With Quote
Old 22nd January 2018, 20:06   #14574  |  Link
rco133
Registered User
 
Join Date: Mar 2006
Posts: 8
Hi.

This is a general eac3to question, but also has to do with audioconversion.

I am using eac3to 3.34 and am trying to demux a disk with several audiotracks like this:

8: E-AC3, Czech, 7.1 channels, 768kbps, 48kHz, dialnorm: -27dB
(core: AC3, 5.1 channels, 448kbps, 48kHz, dialnorm: -27dB)

When I do "eac3to 1) -demux" it says:

a08 Applying (E-)AC3 delay failed.

Seems like eac3to can't demux audio streams like that. Maybe because it is 7.1?

I would then like to demux all other tracks than the e-ac3 tracks. Is there anyway to tell eac3to to ignore some tracks when using -demux? There is 20 subtitles or so on the disk, so making a manual command line including all tracks but the e-ac3 tracks is quite cumbersome.

When I have to name the tracks manually like 15: English.sup I also Loose all the information that eac3to usually uses for the filename. Number of subs in track, and if there is any forced subs in the track.

Any help will be much appreciated.

Thanks in advance.

rco133
rco133 is offline   Reply With Quote
Old 22nd January 2018, 22:51   #14575  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 5,340
Yes, is a bug already reported here: http://bugs.madshi.net/view.php?id=450

More info: https://forum.doom9.org/showthread.p...43#post1821743

I don't know how help you.
__________________
BeHappy, AviSynth audio transcoder, in Doom9 forums. NicAudio, BassAudio, audio decoders.
tebasuna51 is offline   Reply With Quote
Old 23rd January 2018, 17:58   #14576  |  Link
AlvoErrado2
Registered User
 
Join Date: Jul 2010
Posts: 2
Is it possible to change the "framerate" for eac3 audio without converting to ac3 using this tool??
AlvoErrado2 is offline   Reply With Quote
Old 23rd January 2018, 18:08   #14577  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 4,968
No, changing speed requires re-encoding and eac3to can only encode to the following formats:
(1) RAW, (L)PCM
(2) WAV (PCM only), W64, RF64, AGM
(3) WAVs (multiple mono WAV files, PCM only)
(4) AC3
(5) DTS
(6) AAC
(7) FLAC

You can output to WAV and encode that to eac3. But be aware there are different eac3 "flavors": https://forum.doom9.org/showthread.php?t=174418
sneaker_ger is offline   Reply With Quote
Old 23rd January 2018, 18:14   #14578  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,301
Video is a discrete medium, frames appear at specific times and stay for a specific while, therefore you can change quite easily their display duration; but audio is a rather continuous medium, changing the playing time (with or without preserving the pitch doesn't matter much) is always a substantial change of the whole content, usually requires decoding, resampling, and new encoding. There may be a quite simple AC3 encoder in eac3to, but E-AC3 is not supported, AFAIK.
__________________

German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 24th January 2018, 12:37   #14579  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,177
MkvMerge can shrink or stretch the audio streams by a specific factor without re-encoding. I don't know how it does it, and if the quality of the audio is less good after the operation. I suppose that it changes just the sampling rate (and therefore also the pitch), but I'm not sure.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline   Reply With Quote
Old 24th January 2018, 12:44   #14580  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 4,968
MkvMerge simply stretches/compresses the timecodes. In the end you either have all frames slightly overlapping with each other or tiny gaps between all of them. Players may react badly to this so I don't recommend it. Better to change video fps in case re-encoding is not desired.
sneaker_ger 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 08:55.


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