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

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 5th February 2011, 00:09   #10961  |  Link
jj666
Registered User
 
Join Date: May 2003
Posts: 153
Given both tracks are lossless, can you hear a difference?

The way I'd do it would be to demux both tracks with EAC3TO, demux to .WAVs and waveform compare in Audition to verify either an initial +/- delay and/or cuts necessary to sync.

Cheers,

-jj-
jj666 is offline  
Old 5th February 2011, 01:21   #10962  |  Link
rapscallion
NY Frame of Mind
 
rapscallion's Avatar
 
Join Date: Dec 2005
Location: L.I.,NY
Posts: 586
Thanks, good suggestion jj.

Difference? I'm not sure, maybe it's just psycological but one track is ~1576 kps, 16 bit, while the other is ~ 3700 kbps, 24 bit. Hard to believe that the first one is truly lossless, but I guess when I demux to wavs I'll see.

I've been playing around with the track sync in VLC and +900 ms puts it just about spot on, even when I slow down playback. But if I can get it exact in Audition, I'll give it a shot.

Edit : pm sent
__________________
"Talk to me Goose"

Last edited by rapscallion; 6th February 2011 at 16:43.
rapscallion is offline  
Old 7th February 2011, 12:50   #10963  |  Link
kypec
User of free A/V tools
 
kypec's Avatar
 
Join Date: Jul 2006
Location: SK
Posts: 826
I usually open both video sources via Avisynth -> StackHorizontal(a,b) and time/scene shifts can be immediately seen. I then cut/append blank frames as necessary while leaving audio track untouched.
kypec is offline  
Old 7th February 2011, 23:24   #10964  |  Link
rapscallion
NY Frame of Mind
 
rapscallion's Avatar
 
Join Date: Dec 2005
Location: L.I.,NY
Posts: 586
Quote:
Originally Posted by kypec View Post
I usually open both video sources via Avisynth -> StackHorizontal(a,b) and time/scene shifts can be immediately seen.
Thanks, but that's something I don't know how to do.
__________________
"Talk to me Goose"
rapscallion is offline  
Old 8th February 2011, 07:47   #10965  |  Link
kypec
User of free A/V tools
 
kypec's Avatar
 
Join Date: Jul 2006
Location: SK
Posts: 826
Well, then it's about time to start learning
  1. Install Avisynth
  2. Download some universal source filter, I'd suggest FFMpegSource
  3. Download AvsPMod or VirtualDub
  4. Open AVS script
    Code:
    LoadPlugin("path\to\plugins\ffms2.dll")
    a=FFVideoSource("first video.mkv")
    b=FFVideoSource("second video.mkv")
    StackHorizontal(a,b)
kypec is offline  
Old 9th February 2011, 23:07   #10966  |  Link
rapscallion
NY Frame of Mind
 
rapscallion's Avatar
 
Join Date: Dec 2005
Location: L.I.,NY
Posts: 586
I apologize again for the OT of this subject.

Thanks for the info kypec.
Already use #'s 1 & 2.

I've heard of VirtualDub but never used it because it doesn't support *.m2ts video sources, which is the subject of my op.
__________________
"Talk to me Goose"
rapscallion is offline  
Old 10th February 2011, 01:51   #10967  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,480
Quote:
Originally Posted by rapscallion View Post
I've heard of VirtualDub but never used it because it doesn't support *.m2ts video sources,
I am sure phaeron won't mind if you write a .(M2)TS source plugin
Watches pelcome

Last edited by Midzuki; 10th February 2011 at 02:01. Reason: spelling
Midzuki is offline  
Old 10th February 2011, 06:52   #10968  |  Link
kypec
User of free A/V tools
 
kypec's Avatar
 
Join Date: Jul 2006
Location: SK
Posts: 826
Quote:
Originally Posted by rapscallion View Post
I've heard of VirtualDub but never used it because it doesn't support *.m2ts video sources, which is the subject of my op.
Well, VirtualDub supports AVS scripts, right?
AVS supports FFMS2 plugin, right?
Finally, FFMS2 supports M2TS & TS streams (maybe not frame-accurate when seeking though), or you can try DGDecNV if you have compatible nVidia GPU which is frame-accurate with all supported file formats.
kypec is offline  
Old 10th February 2011, 16:27   #10969  |  Link
Weirdo
Registered User
 
Join Date: Aug 2005
Posts: 231
Eac3to reports: "Haali Matroska Muxer (2010-11-07) is installed, There's a new version (2010-11-21) available". However, I have installed the latest 21/11/2010 version from http://haali.su/mkv/.
Weirdo is offline  
Old 12th February 2011, 14:51   #10970  |  Link
jeremy33
Registered User
 
Join Date: Jun 2009
Posts: 172
Madshi,

Can you add my little GUI eac3to ”GUI to your first post please ?

Last edited by jeremy33; 13th February 2011 at 16:32.
jeremy33 is offline  
Old 14th February 2011, 01:11   #10971  |  Link
afonic
DVD-Guides.com Author
 
afonic's Avatar
 
Join Date: Aug 2003
Posts: 28
Hi,

sorry to "hack" this thread, but it is kind of eac3to related.

It reports I have ArcSoft:

Code:
[a03] Extracting audio track number 3...
[a03] Decoding with ArcSoft DTS Decoder...
[a03] Encoding AC3 <448kbps> with libAften...
[a03] Creating file "D:\Movies\xxxx\1_3_audio.ac3"...
[a03] The original audio track has a constant bit depth of 24 bits.
Video track 2 contains 141706 frames.
eac3to processing took 11 minutes, 7 seconds.
Done.
And it appears I have. However I didn't install anything from them. Any idea what could have installed it? I have Nero, AnyDVD and DVD Fab from commercial applications.
afonic is offline  
Old 16th February 2011, 16:28   #10972  |  Link
Delta2
Registered User
 
Join Date: Feb 2006
Posts: 101
I don't know if this is a bug of eac3to or not, my current version is 3.17

In some sources I get this error log message :

eac3to v3.17
command line: "C:\eac3to\eac3to.exe" C:\SAMPLE~2\CTU-X2~1.MKV 1:"C:\AAA_TE~1\dolby_ac3_1.ac3" -448 -down6
------------------------------------------------------------------------------
MKV, 1 video track, 1 audio track, 0:01:05, 24p /1.001
1: h264/AVC, English, 720p24 /1.001
2: AC3, 5.1 channels, 448kbps, 48khz, dialnorm: -27dB, 2ms
This video conversion is not supported. <ERROR>


That's correct because I'm trying to reencode stream nș 1 that eac3to identifies as VIDEO H264, of course that is not supported

The problem is that Mediainfo and MKVToolnix identifies the streams as 1 = audio and 2 = video, i.e., the streams order are different

Here is the log of mkvinfo of that sample movie :


+ EBML head
|+ Doc type: matroska
|+ Doc type version: 1
|+ Doc type read version: 1
+ Segment, size 28039868
|+ Seek head (subentries will be
|+ EbmlVoid (size: 4027)
|+ Segment information
| + Timecode scale: 1000000
| + Muxing application: libebml
| + Writing application: mkvmerg
7 09:35:09
| + Duration: 64.610s (00:01:04.
| + Date: Fri Feb 22 04:21:20 20
| + Segment UID: 0x66 0x07 0x99
7 0xfe 0xd0 0xd0
|+ Segment tracks
| + A track
| + Track number: 1
| + Track UID: 376306038
| + Track type: audio
| + Enabled: 1
| + Default flag: 1
| + Forced flag: 0
| + Lacing flag: 1
| + MinCache: 0
| + Timecode scale: 1
| + Max BlockAddition ID: 0
| + Codec ID: A_AC3
| + Codec decode all: 1
| + Default duration: 32.000ms
| + Language: und
| + Audio track
| + Sampling frequency: 48000
| + Channels: 6
| + A track
| + Track number: 2
| + Track UID: 1
| + Track type: video
| + Enabled: 1
| + Default flag: 1
| + Forced flag: 0
| + Lacing flag: 0
| + MinCache: 1
| + Timecode scale: 1
| + Max BlockAddition ID: 0
| + Codec ID: V_MPEG4/ISO/AVC
| + Codec decode all: 1
| + CodecPrivate, length 39 (h.
| + Default duration: 41.708ms
| + Language: eng
| + Video track
| + Pixel width: 1280
| + Pixel height: 720
| + Interlaced: 0
| + Display width: 16
| + Display height: 9
|+ EbmlVoid (size: 1024)
|+ Cluster
Delta2 is offline  
Old 16th February 2011, 16:51   #10973  |  Link
nurbs
Registered User
 
Join Date: Dec 2005
Posts: 1,460
I guess eac3to always uses the same order (chapter,video,audio,subtitles) regardless of what the track order in the container is. If eac3to lists the audio as track 2 then that's what you'll have to use in your command line.
nurbs is offline  
Old 16th February 2011, 16:59   #10974  |  Link
Delta2
Registered User
 
Join Date: Feb 2006
Posts: 101
Quote:
Originally Posted by nurbs View Post
I guess eac3to always uses the same order (chapter,video,audio,subtitles) regardless of what the track order in the container is. If eac3to lists the audio as track 2 then that's what you'll have to use in your command line.
but if you make a gui that uses eac3to how do you know the track order, i.e., if there is more than 1 audio type ?

Last edited by Delta2; 16th February 2011 at 17:03.
Delta2 is offline  
Old 16th February 2011, 17:19   #10975  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
First run:

eac3to v3.17
command line: "C:\eac3to\eac3to.exe" C:\SAMPLE~2\CTU-X2~1.MKV
------------------------------------------------------------------------------
MKV, 1 video track, 1 audio track, 0:01:05, 24p /1.001
1: h264/AVC, English, 720p24 /1.001
2: AC3, 5.1 channels, 448kbps, 48khz, dialnorm: -27dB, 2ms

and analize the log.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline  
Old 18th February 2011, 20:09   #10976  |  Link
sl1pkn07
Pajas Mentales...
 
Join Date: Dec 2004
Location: Spanishtán
Posts: 496
Quote:
Originally Posted by Weirdo View Post
Eac3to reports: "Haali Matroska Muxer (2010-11-07) is installed, There's a new version (2010-11-21) available". However, I have installed the latest 21/11/2010 version from http://haali.su/mkv/.
same here
__________________
[AUR] Vapoursynth Stuff
[AUR] Avisynth Stuff
sl1pkn07 is offline  
Old 18th February 2011, 21:14   #10977  |  Link
GRKNGLR
Registered User
 
Join Date: Feb 2009
Posts: 30
Quote:
Originally Posted by Weirdo View Post
Eac3to reports: "Haali Matroska Muxer (2010-11-07) is installed, There's a new version (2010-11-21) available". However, I have installed the latest 21/11/2010 version from http://haali.su/mkv/.
I have same problem too.
GRKNGLR is offline  
Old 18th February 2011, 21:57   #10978  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,480
@ madshi (feature request) :

why not make eac3to look for mkvtoolnix in the folders covered by the "PATH" envinronment-variable? In the same way it looks for neroaacenc.exe. I am sure I'm not the only one who uses mmg.exe without the help from an "installer".
Midzuki is offline  
Old 19th February 2011, 06:56   #10979  |  Link
ketchup318
Registered User
 
Join Date: Feb 2011
Posts: 5
extraction problem?

Hi

I'm trying to extract DTS-HD audio from a m2ts file so that I can mux it with my compressed video stream (MKV).

Using MediaInfo, the original m2ts file displays this for audio
Code:
Audio #1
ID                               : 4352 (0x1100)
Menu ID                          : 1 (0x1)
Format                           : DTS
Format/Info                      : Digital Theater Systems
Format profile                   : MA / Core
Muxing mode                      : Stream extension
Codec ID                         : 134
Duration                         : 50mn 23s
Bit rate mode                    : Variable
Bit rate                         : 3 688 Kbps / 1 510 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Side: L R, LFE
Sampling rate                    : 48.0 KHz
Bit depth                        : 24 bits
Compression mode                 : Lossless / Lossy
Language                         : English
But using eac3to, I only get this in my converted file
Code:
Audio
Format                           : DTS
Format/Info                      : Digital Theater Systems
Format profile                   : MA / Core
Duration                         : 1h 47mn
Bit rate mode                    : Variable
Bit rate                         : 1 747 Kbps / 1 510 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Side: L R, LFE
Sampling rate                    : 48.0 KHz
Bit depth                        : 24 bits
Compression mode                 : Lossless / Lossy
This is what I input for eac3to. The funny thing is that it doesn't seem to be using the Arcsoft Decoder that I bought with TMT.

Code:
eac3to.exe C:\makin.m2ts 2: C:\test.dts
M2TS, 1 video track, 4 audio tracks, 6 subtitle tracks, 0:50:23, 24p /1.001
1: VC-1, 1080p24 /1.001 (16:9)
2: DTS Master Audio, English, 5.1 channels, 24 bits, 48kHz
   (core: DTS, 5.1 channels, 24 bits, 1509kbps, 48kHz)
3: AC3, French, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB
4: AC3, Spanish, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB
5: AC3, Portuguese, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB
6: Subtitle (PGS), English
7: Subtitle (PGS), French
8: Subtitle (PGS), Spanish
a02 Extracting audio track number 2...
a02 Creating file "C:\test.dts"
When I convert it to flac, it says this. It seems like now it's using the decoder.
Code:
eac3to.exe C:\makin.m2ts 2: C:\test.dts
M2TS, 1 video track, 4 audio tracks, 6 subtitle tracks, 0:50:23, 24p /1.001
1: VC-1, 1080p24 /1.001 (16:9)
2: DTS Master Audio, English, 5.1 channels, 24 bits, 48kHz
   (core: DTS, 5.1 channels, 24 bits, 1509kbps, 48kHz)
3: AC3, French, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB
4: AC3, Spanish, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB
5: AC3, Portuguese, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB
6: Subtitle (PGS), English
7: Subtitle (PGS), French
8: Subtitle (PGS), Spanish
a02 Extracting audio track number 2...
a02 Decoding with ArcSoft DTS Decoder...
a02 Encoding FLAC with libFlac...
a02 Creating file "test.flac"...
Is it not possible to extract the full DTS-HD track in it's pure form? Is flac the only way to get the lossless track out or is reduced DTS track all I can get? Thanks in advance

Last edited by ketchup318; 19th February 2011 at 18:36.
ketchup318 is offline  
Old 19th February 2011, 11:10   #10980  |  Link
TinTime
Registered User
 
Join Date: Jan 2009
Location: UK
Posts: 403
Quote:
Originally Posted by ketchup318 View Post
The funny thing is that it doesn't seem to be using the Arcsoft Decoder that I bought with TMT.
If you're demuxing then the decoder won't be used.

As for the bitrate discrepancy, perhaps Mediainfo isn't reporting it correctly. As you know the length and size of your demuxed file you can work out the actual bitrate and check against what Mediainfo says. 1747Kbps sounds very low for a 6 channel, 24 bit lossless track.

EDIT: nurbs beat me to it!
TinTime is offline  
Closed Thread

Tags
eac3to


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 14:58.


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