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 8th September 2018, 10:20   #14701  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 5,396
eac3to don't change the fps of video streams unless you specify a new one. For instance:

eac3to INPUT 1: output.h264 -changeTo23.976

and only fix values like -changeTo23.976, 24.000, 25.000, ... are available.
You never can change to 27.730 with eac3to.

Put a MediaInfo of your source.
__________________
BeHappy, AviSynth audio transcoder, in Doom9 forums. NicAudio, BassAudio, audio decoders.
tebasuna51 is offline   Reply With Quote
Old 8th September 2018, 22:04   #14702  |  Link
Megalith
Registered User
 
Join Date: Mar 2011
Posts: 92
Yes, "process" was probably a poor choice of words. But this is what I noticed when I looked at the log for "Deep Rising":

1) 00004.mpls, 00008.m2ts+00004.m2ts, 1:46:22
- Chapters, 8 chapters
- h264/AVC, 1080p24 /1.001 (16:9)

M2TS, 1 video track, 3 audio tracks, 1 subtitle track, 1:46:22, 27.730p
1: Chapters, 8 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: DTS Master Audio, 5.1 channels, 16 bits, 48kHz
(core: DTS, 5.1 channels, 1509kbps, 48kHz)
4: DTS Master Audio, 2.0 channels, 16 bits, 48kHz
(core: DTS, 2.0 channels, 1509kbps, 48kHz)
5: AC3, 2.0 channels, 192kbps, 48kHz, 32ms
6: Subtitle (PGS)
Creating file "H:\Mux\Chapters_1.txt"...
[a05] Extracting audio track number 5...
[v02] Extracting video track number 2...
[s06] Extracting subtitle track number 6...
[a04] Extracting audio track number 4...
[a03] Extracting audio track number 3...
[a05] Applying (E-)AC3 delay...
[v02] Creating file "H:\Mux\Video_2.h264"...
[a03] Creating file "H:\Mux\Audio_3_Undetermined.DTS"...
[a04] Creating file "H:\Mux\Audio_4_Undetermined.DTS"...
[a05] Creating file "H:\Mux\Audio_5_Undetermined.AC3"...
[s06] Creating file "H:\Mux\Subtitles_6_Undetermined.sup"...
Video track 2 contains 153012 frames.
Subtitle track 6 contains 1063 captions.
eac3to processing took 15 minutes, 2 seconds.
Done.

MediaInfo is showing that the video stream in the relevant playlist (.0004 mpls) is 23.976.

Video #1
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings : CABAC / 3 Ref Frames
Format settings, CABAC : Yes
Format settings, RefFrames : 3 frames
Format settings, GOP : M=3, N=12
Codec ID : 27
Duration : 11 s 11 ms
Bit rate mode : Variable
Bit rate : 492 kb/s
Maximum bit rate : 32.3 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 (24000/1001) FPS
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.010
Stream size : 662 KiB
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
format_identifier : HDMV
Source : 00008.m2ts

Video #2
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, RefFrames : 4 frames
Codec ID : 27
Duration : 1 h 46 min
Bit rate mode : Variable
Maximum bit rate : 35.0 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
format_identifier : HDMV
Source : 00004.m2ts

Audio #1
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : DTS XLL
Format/Info : Digital Theater Systems
Commercial name : DTS-HD Master Audio
Muxing mode : Stream extension
Codec ID : 134
Duration : 1 h 46 min
Bit rate mode : Variable
Channel(s) : 6 channels
Channel layout : C L R Ls Rs LFE
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 16 bits
Compression mode : Lossless
Language : English
Source : 00004.m2ts

Audio #2
ID : 4353 (0x1101)
Menu ID : 1 (0x1)
Format : DTS XLL
Format/Info : Digital Theater Systems
Commercial name : DTS-HD Master Audio
Muxing mode : Stream extension
Codec ID : 134
Duration : 1 h 46 min
Bit rate mode : Variable
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 16 bits
Compression mode : Lossless
Language : English
Source : 00004.m2ts

Audio #3
ID : 4354 (0x1102)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : 129
Duration : 1 h 46 min
Bit rate mode : Constant
Bit rate : 192 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 146 MiB
Language : English
Service kind : Complete Main
bsid : 8
dialnorm : -31
dialnorm : -31 dB
compr : -0.28
compr : -0.28 dB
dsurmod : 1
dsurmod : Not Dolby Surround encoded
acmod : 2
lfeon : 0
dialnorm_Average : -31
dialnorm_Average : -31 dB
dialnorm_Minimum : -31
dialnorm_Minimum : -31 dB
dialnorm_Maximum : -31
dialnorm_Maximum : -31 dB
dialnorm_Count : 777
format_identifier : AC-3
Source : 00004.m2ts
Megalith is offline   Reply With Quote
Old 9th September 2018, 02:53   #14703  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 5,396
And what is the fps of extracted video?:

[v02] Creating file "H:\Mux\Video_2.h264"...

Is 27.730p? Or 2: h264/AVC, 1080p 24 /1.001 (16:9)?

I think than the 27.730p is only a wrong info but the video is not changed.

Please use MediaInfo with the two 00008.m2ts and 00004.m2ts in Advanced Mode, to see durations in seconds, not only minutes.
Maybe the audio tracks are different.
__________________
BeHappy, AviSynth audio transcoder, in Doom9 forums. NicAudio, BassAudio, audio decoders.

Last edited by tebasuna51; 9th September 2018 at 03:07. Reason: Add info
tebasuna51 is offline   Reply With Quote
Old 9th September 2018, 08:10   #14704  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,083
The 27.730p comes from trying to interpret the m2ts packet time stamps. *Usually* this matches the video fps, but sometimes not. You can safely ignore this information. It's probably eac3to misunderstanding the timestamps somehow, or the timestamps containing unusually high jitter or something...
madshi is offline   Reply With Quote
Old 10th September 2018, 05:07   #14705  |  Link
Megalith
Registered User
 
Join Date: Mar 2011
Posts: 92
I've figured out why there's an incorrect audio delay. The problem is that the DTS track begins playing at the very beginning of the file (00008.m2ts, which is supposed to be a silent 11-second title card), even though it isn't supposed to start until the actual movie (00004.m2ts).

I'm not sure where the issue stems from, since the 00004.mpls file itself is fine. Could it actually be a problem with mkvmerge?
Megalith is offline   Reply With Quote
Old 10th September 2018, 10:08   #14706  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 5,396
When the first m2ts don't have the same audio streams, eac3to most the times crash.

If not you can forget the first 11-second credit and work only with the 00004.m2ts, or delay all streams not present in 00008.m2ts.

eac3to "H:\Mux\Audio_3_Undetermined.DTS" "H:\Mux\Audio_3_Delayed.DTS" +11100ms
...
__________________
BeHappy, AviSynth audio transcoder, in Doom9 forums. NicAudio, BassAudio, audio decoders.
tebasuna51 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 05:48.


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