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 15th February 2009, 19:31   #8261  |  Link
mrr19121970
Registered User
 
Join Date: Mar 2008
Posts: 305
I'm trying to demux the blu-ray 'While She Was Out'. This is what ea3to tells me about the stream:

Code:
eac3to v3.08
command line: "E:\TVIX\eac3to\eac3to.exe"  "R:\" 1) 1: "D:\DEMUX\New\Chapters_1.txt" 2: "D:\DEMUX\New\Video_2.*" -slowdown 4: "D:\DEMUX\New\Audio_4_English.AC3" -slowdown 3: "D:\DEMUX\New\Audio_3_German.AC3" -slowdown -LOG="D:\DEMUX\New\eac3to_PASS3_LOG.LOG"
------------------------------------------------------------------------------
M2TS, 1 video track, 2 audio tracks, 1 subtitle track, 1:22:24, 50i
1: Chapters, 17 chapters
2: VC-1, 1080i50 (16:9)
3: DTS Master Audio, German, 5.1 channels, 16 bits, 48khz
   (core: DTS, 5.1 channels, 16 bits, 1509kbps, 48khz)
4: DTS Master Audio, English, 5.1 channels, 16 bits, 48khz
   (core: DTS, 5.1 channels, 16 bits, 1509kbps, 48khz)
5: Subtitle (PGS), German
Creating file "D:\DEMUX\New\Chapters_1.txt"...
[a04] The ArcSoft and Sonic decoders don't seem to work, will use libav instead.
[a04] The libav DTS decoder doesn't decode the full DTS-HD information.  <WARNING>
[a03] The ArcSoft and Sonic decoders don't seem to work, will use libav instead.
[a03] The libav DTS decoder doesn't decode the full DTS-HD information.  <WARNING>
[v02] Extracting video track number 2...
[v02] Writing new framerate "24fps /1.001" to bitstream.
[a03] Extracting audio track number 3...
[a03] Extracting DTS core...
[a03] Decoding with libav/ffmpeg...
[a03] Remapping channels...
[a03] Changing FPS from 25.000 to 23.976...
[a04] Extracting audio track number 4...
[a04] Extracting DTS core...
[a04] Decoding with libav/ffmpeg...
[a04] Remapping channels...
[a04] Changing FPS from 25.000 to 23.976...
[a03] Encoding AC3 <640kbps> with libAften...
[a04] Encoding AC3 <640kbps> with libAften...
[v02] Creating file "D:\DEMUX\New\Video_2.vc1"...
[a03] Creating file "D:\DEMUX\New\Audio_3_German.AC3"...
[a04] Creating file "D:\DEMUX\New\Audio_4_English.AC3"...
[a04] The original audio track has a constant bit depth of 64 bits.
[a04] The processed audio track has a constant bit depth of 64 bits.
[a03] The original audio track has a constant bit depth of 64 bits.
[a03] The processed audio track has a constant bit depth of 64 bits.
Video track 2 contains 123601 frames.
eac3to processing took 20 minutes, 43 seconds.
Done.

However the resulting VC1 stream is 48000/1001, even if I give '-stripPulldown' the resulting stream still has the interlaced flag. Is this normal ?


Quote:
D:\DEMUX\While She Was Out _ 1>"E:\TVIX\eac3to\eac3to.exe" video_2.vc1
VC-1, 1080i48 /1.001 (16:9)

Last edited by mrr19121970; 15th February 2009 at 19:33.
mrr19121970 is offline  
Old 15th February 2009, 19:38   #8262  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by Snowknight26 View Post
Just a couple of issues:
Code:
C:\unzipped\eac3to>eac3to.exe "C:\temp\i'm on a boat.mkv" 1: C:\temp\boat.h264 -
changeto29.970
MKV, 1 video track, 1 audio track, 0:03:09, 29.989p
1: h264/AVC, 720p29.989
2: AAC, 2.0 channels, 44.1khz
v01 The video bitstream is encoded in a non-standard framerate.
Was asked to modify track 1: to 29.970, but the original FPS is not supported.

C:\unzipped\eac3to>eac3to.exe "C:\temp\i'm on a boat.mkv" 1: C:\temp\boat.h264
MKV, 1 video track, 1 audio track, 0:03:09, 29.989p
1: h264/AVC, 720p29.989
2: AAC, 2.0 channels, 44.1khz
v01 The video bitstream is encoded in a non-standard framerate.
v01 Extracting video track number 1...
v01 Creating file "C:\temp\boat.h264"...
v01 Video overlaps for 1 frames at playtime 0:00:00.
v01 Video overlaps for 1 frames at playtime 0:00:01.
v01 Video overlaps for 1 frames at playtime 0:00:01.
v01 Video overlaps for 1 frames at playtime 0:00:02.
[...]
v01 Video overlaps for 1 frames at playtime 0:03:09.
v01 Video overlaps for 1 frames at playtime 0:03:09.
v01 Video overlaps for 1 frames at playtime 0:03:10.
eac3to processing took 10 seconds.
Done.
These problems will be fixed in the next build. The problems were caused by the really strange framerate, which is really "29.989fps". Even the video bitstream contains exactly this framerate.

Quote:
Originally Posted by mrr19121970 View Post
I'm trying to demux the blu-ray 'While She Was Out'. This is what ea3to tells me about the stream:

Code:
eac3to v3.08
command line: "E:\TVIX\eac3to\eac3to.exe"  "R:\" 1) 1: "D:\DEMUX\New\Chapters_1.txt" 2: "D:\DEMUX\New\Video_2.*" -slowdown 4: "D:\DEMUX\New\Audio_4_English.AC3" -slowdown 3: "D:\DEMUX\New\Audio_3_German.AC3" -slowdown -LOG="D:\DEMUX\New\eac3to_PASS3_LOG.LOG"
------------------------------------------------------------------------------
M2TS, 1 video track, 2 audio tracks, 1 subtitle track, 1:22:24, 50i
1: Chapters, 17 chapters
2: VC-1, 1080i50 (16:9)
3: DTS Master Audio, German, 5.1 channels, 16 bits, 48khz
   (core: DTS, 5.1 channels, 16 bits, 1509kbps, 48khz)
4: DTS Master Audio, English, 5.1 channels, 16 bits, 48khz
   (core: DTS, 5.1 channels, 16 bits, 1509kbps, 48khz)
5: Subtitle (PGS), German
Creating file "D:\DEMUX\New\Chapters_1.txt"...
[a04] The ArcSoft and Sonic decoders don't seem to work, will use libav instead.
[a04] The libav DTS decoder doesn't decode the full DTS-HD information.  <WARNING>
[a03] The ArcSoft and Sonic decoders don't seem to work, will use libav instead.
[a03] The libav DTS decoder doesn't decode the full DTS-HD information.  <WARNING>
[v02] Extracting video track number 2...
[v02] Writing new framerate "24fps /1.001" to bitstream.
[a03] Extracting audio track number 3...
[a03] Extracting DTS core...
[a03] Decoding with libav/ffmpeg...
[a03] Remapping channels...
[a03] Changing FPS from 25.000 to 23.976...
[a04] Extracting audio track number 4...
[a04] Extracting DTS core...
[a04] Decoding with libav/ffmpeg...
[a04] Remapping channels...
[a04] Changing FPS from 25.000 to 23.976...
[a03] Encoding AC3 <640kbps> with libAften...
[a04] Encoding AC3 <640kbps> with libAften...
[v02] Creating file "D:\DEMUX\New\Video_2.vc1"...
[a03] Creating file "D:\DEMUX\New\Audio_3_German.AC3"...
[a04] Creating file "D:\DEMUX\New\Audio_4_English.AC3"...
[a04] The original audio track has a constant bit depth of 64 bits.
[a04] The processed audio track has a constant bit depth of 64 bits.
[a03] The original audio track has a constant bit depth of 64 bits.
[a03] The processed audio track has a constant bit depth of 64 bits.
Video track 2 contains 123601 frames.
eac3to processing took 20 minutes, 43 seconds.
Done.
However the resulting VC1 stream is 48000/1001, even if I give '-stripPulldown' the resulting stream still has the interlaced flag. Is this normal ?
eac3to can not make truely interlaced content progressive. Such a thing is not possible without fully reencoding the video track. eac3to can only remove the pulldown from an HD DVD style video track. Such HD DVD style tracks are progressively encoded, but contain additional pulldown flags. The Blu-Ray you have seems to be native interlaced. No way to fix that. However, playback of "1080i48 /1.001" should work fairly well, too.

AFAIK Blu-Ray does not support 1080p25 content. If you want PAL framerate, you have to use 1080i50. Don't ask me why the Blu-Ray companies have made such a stupid decision...
madshi is offline  
Old 15th February 2009, 19:39   #8263  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
eac3to v3.09 released

http://madshi.net/eac3to.zip

Code:
* added support for MKV "SRT/UTF8", "SRT/ASCII", "ASS" and "SSA" subtitles
* increased some internal buffers to avoid AC3 overflow in the "thd ac3 joiner"
* fixed: frame counting didn't work for MKV video tracks
* fixed: video tracks FPS change was sometimes declined
* fixed: video tracks with "strange" FPS were sometimes handled incorrectly
* fixed: clipping removal 2nd pass was executed even for "stdout"
* fixed: "eac3to -test" displayed an outdated Nero download link
* fixed: specifying a specific playlist still used default playlist's chapters
madshi is offline  
Old 15th February 2009, 19:51   #8264  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,806
Quote:
AFAIK Blu-Ray does not support 1080p25 content. If you want PAL framerate, you have to use 1080i50. Don't ask me why the Blu-Ray companies have made such a stupid decision...
Officially you are right. However I believe that players which have AVCHD label should play those files without any problems. There are HD-camcorder like Canon HF10/100 (AVCHD structure) which can record in 25p. PS3 proves my theory and plays without any complaints

Last edited by Atak_Snajpera; 15th February 2009 at 19:53.
Atak_Snajpera is offline  
Old 15th February 2009, 19:59   #8265  |  Link
mrr19121970
Registered User
 
Join Date: Mar 2008
Posts: 305
the 1080i50 is a shop bought blu-ray. i guess it's tsMuxeR that's wrecking it, but thankfully a straight copy of the main stream onto my TVIX HDD is playable.

tsMuxeR GUI doesn't even reckognise the VC1 stream, and the CLI accepts it and chews it up. I'll try again with manually setting the framerate to see if that helps.
mrr19121970 is offline  
Old 15th February 2009, 20:06   #8266  |  Link
Snowknight26
Registered User
 
Join Date: Aug 2007
Posts: 1,430
Thanks madshi! The youtube video works now.

One thing I noticed, though, is that the language for subtitles is no longer displayed.
Snowknight26 is offline  
Old 15th February 2009, 20:14   #8267  |  Link
magic144
Registered User
 
Join Date: May 2005
Posts: 395
Quote:
Originally Posted by madshi View Post
And how is eac3to supposed to know that playlist 4 is the right one instead of playlist 1?

There's a bug which result in eac3to always listing the default playlist's chapters, even if you manually specify a playlist. This will be fixed in the next build.
cheers for the fix madshi - just tested 3.09 on X-Files 2 and it now lists and extracts 27 chapters for title 2 - thanks!!

as to identifying which title/playlist is the "right" title, I wouldn't know how to figure that out programatically, I guess the easiest way for now is just manually, i.e. to try the disc in a standalone player or software player and see what the chapters are there and then see which title eac3to identifies that matches

presumably, to do this programatically, you'd have to do what a player does and navigate through the disc's playback logic, taking into account user menu choices and such-like along the way - no doubt far more than eac3to was ever envisioned as doing! - I think the way it is right now is perfectly fine!!
magic144 is offline  
Old 15th February 2009, 20:15   #8268  |  Link
laserfan
Aging Video Hobbyist
 
Join Date: Dec 2004
Location: Off the Map
Posts: 2,461
Quote:
Originally Posted by madshi View Post
eac3to v3.09 released

Code:
* fixed: specifying a specific playlist still used default playlist's chapters
I just tried this on Groundhog Day, and although it still selects the 00221.mpls playlist with (incorrect) 31 chapters, I can now direct it to 00001.mpls with (correct) 16 chapters shown!

Thanks madshi for the update!
laserfan is offline  
Old 15th February 2009, 20:47   #8269  |  Link
itsancho
Registered User
 
Join Date: Jan 2004
Location: Sofia, Bulgaria
Posts: 29
oops, no languages with 3.09
Quote:
C:\Users\iTSAN>z\eac3to "H:\Lost (2004) (TV series) The Complete Fourth Season
2007) Blu-ray AVC PCM\Disc 1" 2)
M2TS, 1 video track, 7 audio tracks, 22 subtitle tracks, 0:43:09, 24p /1.001
1: Chapters, 8 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: AC3, 5.1 channels, 640kbps, 48khz
4: RAW/PCM, 5.1 channels, 16 bits, 48khz
5: DTS, 5.1 channels, 24 bits, 1509kbps, 48khz
6: AC3, 5.1 channels, 640kbps, 48khz
7: DTS, 5.1 channels, 24 bits, 1509kbps, 48khz
8: AC3, 5.1 channels, 640kbps, 48khz
9: AC3, 2.0 channels, 192kbps, 48khz, dialnorm: -30dB
10: Subtitle (PGS)
11: Subtitle (PGS)
12: Subtitle (PGS)
13: Subtitle (PGS)
14: Subtitle (PGS)
15: Subtitle (PGS)
16: Subtitle (PGS)
17: Subtitle (PGS)
18: Subtitle (PGS)
19: Subtitle (PGS)
20: Subtitle (PGS)
21: Subtitle (PGS)
22: Subtitle (PGS)
23: Subtitle (PGS)
24: Subtitle (PGS)
25: Subtitle (PGS)
26: Subtitle (PGS)
27: Subtitle (PGS)
28: Subtitle (PGS)
29: Subtitle (PGS)
30: Subtitle (PGS)
31: Subtitle (PGS)
itsancho is offline  
Old 15th February 2009, 21:41   #8270  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,197
Quote:
Originally Posted by madshi View Post
* fixed: frame counting didn't work for MKV video tracks
does this refer to the frame adding of the video file after remuxing or was this only a display bug? would we have to redo some files because of that if fluent playback is possibly not given?
Thunderbolt8 is offline  
Old 15th February 2009, 21:47   #8271  |  Link
DrNein
Registered User
 
Join Date: Sep 2002
Posts: 145
Quote:
Originally Posted by madshi View Post
The Nero Audio Decoder works just fine for me in v3.08.
Hmm, this is odd. I retested and it is "not working correctly" in versions 3.06 through 3.09 but with earlier versions it "works fine". The problem is not just in reporting either as it actually falls back to libav/ffmpeg.
DrNein is offline  
Old 15th February 2009, 22:18   #8272  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by Thunderbolt8 View Post
does this refer to the frame adding of the video file after remuxing or was this only a display bug?
Just a display bug.

Quote:
Originally Posted by DrNein View Post
Hmm, this is odd. I retested and it is "not working correctly" in versions 3.06 through 3.09 but with earlier versions it "works fine". The problem is not just in reporting either as it actually falls back to libav/ffmpeg.
A while ago I tested the Nero decoder by feeding it an E-AC3 test frame. Then I thought about adding support for the Nero 9 AC3 decoder, which however can't decode E-AC3, anymore, but only AC3. So I changed the Nero decoder test to decode an AC3 test frame. But in the meanwhile I've decided that adding Nero 9 decoder support doesn't make much sense without E-AC3 support, so I recently switched back to testing E-AC3 decoding instead of AC3 decoding. I don't remember exactly in which version I changed that (it's not in the changelog, I think), but it could have been v3.06. So my best guess would be that AC3 decoding works on your PC, but E-AC3 decoding does not produce the expected results. Don't ask me why, though. As I said, on my PC it works just fine.
madshi is offline  
Old 15th February 2009, 22:21   #8273  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
eac3to v3.10 released

http://madshi.net/eac3to.zip

Code:
* Blu-Ray title listing now includes chapter information
* fixed: v3.09 didn't show track languages for Blu-Rays
madshi is offline  
Old 15th February 2009, 22:32   #8274  |  Link
Snowknight26
Registered User
 
Join Date: Aug 2007
Posts: 1,430
Quote:
Originally Posted by madshi View Post
Code:
* fixed: v3.09 didn't show track languages for Blu-Rays
Still doesn't show them for mkv files.
Snowknight26 is offline  
Old 15th February 2009, 22:34   #8275  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by Snowknight26 View Post
Still doesn't show them for mkv files.
Does for me. Does the MKV file you're testing actually have language information in it?
madshi is offline  
Old 15th February 2009, 22:38   #8276  |  Link
Snowknight26
Registered User
 
Join Date: Aug 2007
Posts: 1,430
Code:
Microsoft Windows [Version 6.0.6001]
Copyright (c) 2006 Microsoft Corporation.  All rights reserved.

C:\unzipped\eac3to>eac3to.exe "Z:\Movies\Chungking Express\Chung Hing sam lam.mkv" -logmkv
EBML
  DocTypeId: "matroska"
  DocTypeVersion: 1
  DocTypeReadVersion: 1
Segment
  Meta Seek Information
    Seek
      SeekID: (binary, len: 4)
      SeekPosition: 4099
    Seek
      SeekID: (binary, len: 4)
      SeekPosition: 4249
    Seek
      SeekID: (binary, len: 4)
      SeekPosition: 13110584910
    Seek
      SeekID: (binary, len: 4)
      SeekPosition: 13110552269
  Void: (binary, len: 4025)
  Segment Information
    TimecodeScale: 1000000
    MuxingApp: "libebml v0.7.7 + libmatroska v0.8.1"
    WritingApp: "mkvmerge v2.4.2 ('Oh My God') built on Jan 18 2009 17:30:28"
    Duration: 1:42:56.160
    DateUTC: 2/2/2009 3:48:18 AM
    SegmentUID: (binary, len: 16)
  Track
    Track Entry
      TrackNumber: 1
      TrackUID: 1
      TrackType: video
      FlagEnabled: 1
      FlagDefault: 1
      FlagForced: 0
      FlagLacing: 0
      MinCache: 1
      TrackTimecodeScale: 1
      MaxBlockAdditionID: 0
      CodecID: "V_MPEG4/ISO/AVC"
      CodecDecodeAll: 1
      CodecPrivate: (binary, len: 41)
      DefaultDuration: 41708299
      Language: "chi"
      Video
        PixelWidth: 1800
        PixelHeight: 1080
        FlagInterlaced: 0
        DisplayWidth: 5
        DisplayHeight: 3
    Track Entry
      TrackNumber: 2
      TrackUID: 707616952
      TrackType: audio
      FlagEnabled: 1
      FlagDefault: 1
      FlagForced: 0
      FlagLacing: 1
      MinCache: 0
      TrackTimecodeScale: 1
      MaxBlockAdditionID: 0
      CodecID: "A_DTS"
      CodecDecodeAll: 1
      Language: "chi"
      Audio
        SamplingFrequency: 48000
        Channels: 6
    Track Entry
      TrackNumber: 3
      TrackUID: 4182481851
      TrackType: subtitle
      FlagEnabled: 1
      FlagDefault: 1
      FlagForced: 0
      FlagLacing: 0
      MinCache: 0
      TrackTimecodeScale: 1
      MaxBlockAdditionID: 0
      CodecID: "S_TEXT/ASS"
      CodecDecodeAll: 1
      CodecPrivate: (binary, len: 912)
      Language: "eng"
  Void: (binary, len: 1024)
  Cluster
MKV, 1 video track, 1 audio track, 1 subtitle track, 1:42:56, 24p /1.001
1: h264/AVC, Chinese, 1800x1080 23.976p
2: DTS, Chinese, 5.1 channels, 24 bits, 1509kbps, 48khz
3: Subtitle (ASS)
v01 The video bitstream is encoded in a non-standard framerate.

C:\unzipped\eac3to>
It does.
Snowknight26 is offline  
Old 15th February 2009, 22:41   #8277  |  Link
itsancho
Registered User
 
Join Date: Jan 2004
Location: Sofia, Bulgaria
Posts: 29
1st is 3.10, 2nd - 3.08
Quote:
C:\Users\iTSAN>z\eac3to "L:\Firefly (2002) (TV series 2002-2003) The Complete Se
ries Blu-ray AVC dts-HD MA [107]\13 Heart of Gold.mkv"
MKV, 1 video track, 1 audio track, 2 subtitle tracks, 0:42:28, 24p /1.001
1: h264/AVC, English, 1080p24 /1.001 (16:9)
"AVC 18.9"
2: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz
(core: DTS, 5.1 channels, 24 bits, 1509kbps, 48khz)
"dts-HD MA 5.1 24-Bit 3648"
3: Subtitle (SRT)
4: Subtitle (SRT)

C:\Users\iTSAN>zz\eac3to "L:\Firefly (2002) (TV series 2002-2003) The Complete S
eries Blu-ray AVC dts-HD MA [107]\13 Heart of Gold.mkv"
MKV, 1 video track, 1 audio track, 2 subtitle tracks, 0:42:28, 24p /1.001
1: h264/AVC, English, 1080p24 /1.001 (16:9)
"AVC 18.9"
2: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz
(core: DTS, 5.1 channels, 24 bits, 1509kbps, 48khz)
"dts-HD MA 5.1 24-Bit 3648"
3: TEXT/UTF8, Bulgarian
4: TEXT/UTF8, English
Bitstream parsing for tracks 3 and 4 failed.
Demuxing these tracks may still produce correct results - or not.
itsancho is offline  
Old 15th February 2009, 22:48   #8278  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by Snowknight26 View Post
Code:
eac3to.exe "Z:\Movies\Chungking Express\Chung Hing sam lam.mkv" -logmkv
Ouch. Proven wrong by my own debug switch...

Video and audio track languages did work, but subtitle track languages not.
madshi is offline  
Old 15th February 2009, 22:49   #8279  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
eac3to v3.11

http://madshi.net/eac3to.zip

Code:
* fixed: MKV subtitle track language wasn't shown
<sigh> Hopefully this will be the last build for this week. Please don't find any more bugs, guys...
madshi is offline  
Old 15th February 2009, 23:10   #8280  |  Link
itsancho
Registered User
 
Join Date: Jan 2004
Location: Sofia, Bulgaria
Posts: 29
thank u, madshi! great support, quick response! thanks again!
itsancho 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 09:45.


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