Error with BluRay Disk: "TimecodeDelay"

Everything related to MakeMKV
Post Reply
bitbuerster
Posts: 5
Joined: Sun Oct 04, 2009 5:55 pm

Error with BluRay Disk: "TimecodeDelay"

Post by bitbuerster »

Hi all,

I tried out the 1.4.7beta of MakeMKV, on a Windows Vista 32bit system, against a Bluray ("Black Hawk Down", thai is).
First of all, the app doesn't recognize my BluRay-burner (external one, connected by USB) -I understand that there is an AHCI problem, but am surprised to see it applying to USB-connected external drives as well:

Code: Select all

Debug log started at Sun Oct 04 11:58:35 2009 , written by MakeMKV v1.4.7 beta win(x86-release)
001014:000000:0000 MakeMKV v1.4.7 beta win(x86-release) started
001013:000000:0000 Debug logging enabled, log will be saved as C:\Users\kr/MakeMKV_log.txt
001012:000000:0020 FAILURE: Code 3221225488 at 5x;g5XS1jQ]t ':213130927
001012:000000:0020 FAILURE: Code 3221225488 at 5x;g5XS1jQ]t ':213130927
001012:000000:0020 FAILURE: Code 3221225488 at [e:E$k?4N(2|+E"X:121263061
001012:000000:0020 FAILURE: Code 0 at [e:E$k?4N(2|+E"X:121262762
001012:000000:0020 FAILURE: Code 0 at Fc}`.}P?~e@>GHz1HPF)M~l-H~:29393516
005042:000000:0000 The program can't find any usable optical drives. The BETA version requires administrative privileges for drive access.
Anyway, that's what AnyDVD HD is for :? .. ..so I ripped the contents to HD and started MakeMKV on that:

Code: Select all

003006:000000:0000 Opening files on harddrive at C:/Video/57760311_BLACK_HAWK_DOWN/
003310:000000:0000 AACS directory not present, assuming unencrypted disc
003313:000000:0000 File 00009.mpls was added as title #0
003020:000000:0000 Title #00023.mpls has length of 60 seconds which is less than minimum title length of 120 seconds and was therefore skipped
003313:000000:0000 File 00025.mpls was added as title #1
003314:000000:0000 Title 00035.mpls is equal to title 00009.mpls and was skipped
003313:000000:0000 File 00042.mpls was added as title #2
003313:000000:0000 File 00002.m2ts was added as title #3
003313:000000:0000 File 00003.m2ts was added as title #4
003313:000000:0000 File 00004.m2ts was added as title #5
003313:000000:0000 File 00005.m2ts was added as title #6
003313:000000:0000 File 00006.m2ts was added as title #7
003020:000000:0000 Title #00009.m2ts has length of 14 seconds which is less than minimum title length of 120 seconds and was therefore skipped
003020:000000:0000 Title #00010.m2ts has length of 12 seconds which is less than minimum title length of 120 seconds and was therefore skipped
003020:000000:0000 Title #00011.m2ts has length of 6 seconds which is less than minimum title length of 120 seconds and was therefore skipped
003020:000000:0000 Title #00012.m2ts has length of 6 seconds which is less than minimum title length of 120 seconds and was therefore skipped
003020:000000:0000 Title #00013.m2ts has length of 6 seconds which is less than minimum title length of 120 seconds and was therefore skipped
003020:000000:0000 Title #00014.m2ts has length of 6 seconds which is less than minimum title length of 120 seconds and was therefore skipped
003020:000000:0000 Title #00015.m2ts has length of 6 seconds which is less than minimum title length of 120 seconds and was therefore skipped
003020:000000:0000 Title #00016.m2ts has length of 6 seconds which is less than minimum title length of 120 seconds and was therefore skipped
003020:000000:0000 Title #00017.m2ts has length of 6 seconds which is less than minimum title length of 120 seconds and was therefore skipped
003020:000000:0000 Title #00018.m2ts has length of 6 seconds which is less than minimum title length of 120 seconds and was therefore skipped
003020:000000:0000 Title #00019.m2ts has length of 6 seconds which is less than minimum title length of 120 seconds and was therefore skipped
003020:000000:0000 Title #00020.m2ts has length of 12 seconds which is less than minimum title length of 120 seconds and was therefore skipped
003020:000000:0000 Title #00021.m2ts has length of 6 seconds which is less than minimum title length of 120 seconds and was therefore skipped
003020:000000:0000 Title #00022.m2ts has length of 60 seconds which is less than minimum title length of 120 seconds and was therefore skipped
003020:000000:0000 Title #00027.m2ts has length of 6 seconds which is less than minimum title length of 120 seconds and was therefore skipped
003020:000000:0000 Title #00028.m2ts has length of 6 seconds which is less than minimum title length of 120 seconds and was therefore skipped
003020:000000:0000 Title #00029.m2ts has length of 6 seconds which is less than minimum title length of 120 seconds and was therefore skipped
003020:000000:0000 Title #00030.m2ts has length of 6 seconds which is less than minimum title length of 120 seconds and was therefore skipped
003020:000000:0000 Title #00031.m2ts has length of 6 seconds which is less than minimum title length of 120 seconds and was therefore skipped
003020:000000:0000 Title #00032.m2ts has length of 6 seconds which is less than minimum title length of 120 seconds and was therefore skipped
003020:000000:0000 Title #00033.m2ts has length of 6 seconds which is less than minimum title length of 120 seconds and was therefore skipped
003020:000000:0000 Title #00034.m2ts has length of 6 seconds which is less than minimum title length of 120 seconds and was therefore skipped
003020:000000:0000 Title #00035.m2ts has length of 6 seconds which is less than minimum title length of 120 seconds and was therefore skipped
003020:000000:0000 Title #00036.m2ts has length of 6 seconds which is less than minimum title length of 120 seconds and was therefore skipped
003020:000000:0000 Title #00037.m2ts has length of 6 seconds which is less than minimum title length of 120 seconds and was therefore skipped
003020:000000:0000 Title #00040.m2ts has length of 17 seconds which is less than minimum title length of 120 seconds and was therefore skipped
005011:000000:0000 Operation sucessfully completed
So far, so good. I end up with 8 titles; 7 out of these I can convert into MKVs and they play as they should afterwards.

The 8th one however is the main movie with 35,5GB and 15 chapters. This one ends with a "TimecodeDelay >= int16(0x8000) && TimecodeDelay <= int16(0x7FFF)" -anyone a clue on that?

Code: Select all

005014:000000:0000 Saving 1 titles into directory C:/Video/UNNAMED_DISC
001011:000000:0020 LIBMKV_TRACE: Exception: MKV_ASSERT: TimecodeDelay >= int16(0x8000) && TimecodeDelay <= int16(0x7FFF)
005003:000000:0000 Failed to save title 0 to file C:/Video/UNNAMED_DISC/title00.mkv
005004:000000:0000 0 titles saved, 1 failed
005037:000000:0204 Copy complete. 0 titles saved, 1 failed.
Thanks!
mike admin
Posts: 4075
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: Error with BluRay Disk: "TimecodeDelay"

Post by mike admin »

please try 1.4.8 and see if it chages anything.
bitbuerster
Posts: 5
Joined: Sun Oct 04, 2009 5:55 pm

Re: Error with BluRay Disk: "TimecodeDelay"

Post by bitbuerster »

mike admin wrote:please try 1.4.8 and see if it chages anything.
No, same behavior
bitbuerster
Posts: 5
Joined: Sun Oct 04, 2009 5:55 pm

Re: Error with BluRay Disk: "TimecodeDelay"

Post by bitbuerster »

No, same behavior
Just for the records, I have to quote myself here and add upon this: I gave it another try with v1.52beta -and now it worked. So: Whatever you changed: Thanks, it does its job now! :D

-Oh, BTW, anyone out there with a tip how to transcode a resulting ~35GB MKV into a (say) 8GB MKV without to much hazzles & quality losses?
skittle
Posts: 349
Joined: Thu Jan 14, 2010 4:23 am

Re: Error with BluRay Disk: "TimecodeDelay"

Post by skittle »

If you want gui: Pick one of the many [free] gui's featured here: http://forum.doom9.org/forumdisplay.php?f=78
handbrake is also popular: http://handbrake.fr/
otherwise make an avisynth script and feed directly to x264

Just do note that all the gui's are simply frontends to x264/ffmpeg (ie they dont do anything magical ;) the encoder is x264 regardless of the gui you choose )
NomadCF
Posts: 125
Joined: Tue Jun 30, 2009 7:38 pm

Re: Error with BluRay Disk: "TimecodeDelay"

Post by NomadCF »

skittle wrote: do note that all the gui's are simply frontends to x264/ffmpeg (ie they dont do anything magical ;) the encoder is x264 regardless of the gui you choose )
While I agree with the "They don't do anything magical", The gui's do tend to allow you to add in filtering, resizing and a few other odds and ends that the straight x265 encoder Just can't give you. now the guis for ffmpeg, those can be questionable. As ffmpeg can itself do some filtering,resizing,etc. But it doesn't support batching jobs.
bitbuerster wrote:-Oh, BTW, anyone out there with a tip how to transcode a resulting ~35GB MKV into a (say) 8GB MKV without to much hazzles & quality losses?
First, look at what you have in your MKV, Does it have an HD Audio stream in it (TrueHD,Dolby,etc). From these you way want to conver them to there non HD version. But this depends alot on what you have for an audio system. Way to often I find people saving the complete DTS, AC3 or worse yet HD audio stream. When they only intend to play the movie using only a 2.1 or less setup. Downgrade the audio to fit your system/setup.

Second, 35 gigs to 8gigs. While it'll still look good is going to lose ALOT of definition. Regardless of what you use to encode it. The Closest/best compress to definition your going to get it a 2 to 1 (or half the size). And that is only going to be if the Bluray had a mpeg2 video stream. Now this is not to say you can't get alot better then 2 to 1 (or 1/2 the size) of the org, But you are going to lose definition quickly. Remember in "most" cases the video is already "highly" compress into a h264 (or vc-1,etc) stream already. So your only option is to lose the definition. Think of it like re-compressing a compressed file or "zip'ing" a zip file. But in this case re-compressing requires the loss of data compared to compressing a file with 7zip,winrar,etc.

But heres come thing that can help,
1. Resize down to 720P. This makes the most sense if your TV/Monitor only does 720P anyways.
2. Run it though an editor, remove opening logos/credits and ending credits.
skittle
Posts: 349
Joined: Thu Jan 14, 2010 4:23 am

Re: Error with BluRay Disk: "TimecodeDelay"

Post by skittle »

Although this is off topic: you have no idea what your talking about.
1.) 8gb is very reasonable, try an encode with CRF 18 ;)
2.) I didnt say feed 'directly' to x264. You create an avisynth script and feed that to x264 (this is what the gui helps you with), or pipe to x264 with mplayer/ffmpeg, or use the new x264 filter+ffms2 patch and actually feed the source to x264.
NomadCF
Posts: 125
Joined: Tue Jun 30, 2009 7:38 pm

Re: Error with BluRay Disk: "TimecodeDelay"

Post by NomadCF »

Although this is off topic: you have no idea what your talking about.
1.) 8gb is very reasonable, try an encode with CRF 18
2.) I didnt say feed 'directly' to x264. You create an avisynth script and feed that to x264 (this is what the gui helps you with), or pipe to x264 with mplayer/ffmpeg, or use the new x264 filter+ffms2 patch and actually feed the source to x264.
Agreed about the off topic part. But lets looks at some basic math, The average bluray Video Stream Ranged in size from +/- 12 (KungFu Panda) gigs to ~34 gigs. And the Average Mbps for that Video stream is between 20 and 35 Mbps. And the Average DTS audio stream is about 1 to 1.5 gigs. Sure you could use the AC3 stream stream and save a few more MB's (~325 MB savings). But I personally prefer the sound of DTS stream to AC3 stream.

So to make a 8 gigs HD movie file, while retaining the audio stream. That leaves you with space for a 7 gig Video stream. And to maintain the 1080P in that limited size your going only be able to do a MAX of about ~3500 Kbps (again thats Kbps, not Mbps). But thats not to good as a standard DVD has about ~4700 Kbps for a heavy action movie. But lets say you where willing to downgrade to ~720P (the ~ is because 720 with good cropping comes in under 720). Then you'd have just enough room for about ~6000 Kbps.

Heres and example of Transformers I just brought down to ~8 Gigs

Code: Select all

General
Complete name                    : Tranformers (2007).mkv
Format                           : Matroska
File size                        : 7.95 GiB
Duration                         : 2h 23mn
Overall bit rate                 : 7 929 Kbps
Movie name                       : Tranformers (2007)

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High@L4.1
Format settings, CABAC           : Yes
Format settings, ReFrames        : 5 frames
Muxing mode                      : Container profile=Unknown@4.1
Codec ID                         : V_MPEG4/ISO/AVC
Duration                         : 2h 23mn
Bit rate                         : 6 070 Kbps
Nominal bit rate                 : 6 225 Kbps
Width                            : 1 280 pixels
Height                           : 532 pixels
Display aspect ratio             : 2.40:1
Frame rate                       : 23.976 fps
Resolution                       : 24 bits
Colorimetry                      : 4:2:0
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.372
Stream size                      : 6.08 GiB (76%)
Title                            : x264 @ 6225kbps
Writing library                  : x264 core 61 r956M 7b71d58
Encoding settings                : cabac=1 / ref=5 / deblock=1:-3:-3 / analyse=0x3:0x113 / me=umh / subme=7 / psy_rd=1.0:0.0 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=2 / deadzone=8,6 / chroma_qp_offset=-2 / threads=6 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=6225 / ratetol=1.0 / qcomp=1.00 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=2:1.10
Language                         : English

Audio #1
ID                               : 2
Format                           : DTS
Format/Info                      : Digital Theater Systems
Codec ID                         : A_DTS
Duration                         : 2h 23mn
Bit rate mode                    : Constant
Bit rate                         : 1 510 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Surround: L R, LFE
Sampling rate                    : 48.0 KHz
Resolution                       : 24 bits
Stream size                      : 1.51 GiB (19%)
Title                            : DTS 5.1 @ 1.5mbit
Language                         : English

Audio #2
ID                               : 3
Format                           : AC-3
Format/Info                      : Audio Coding 3
Format profile                   : Dolby Digital
Codec ID                         : A_AC3
Duration                         : 2h 23mn
Bit rate mode                    : Constant
Bit rate                         : 192 Kbps
Channel(s)                       : 2 channels
Channel positions                : L R
Sampling rate                    : 48.0 KHz
Stream size                      : 197 MiB (2%)
Title                            : English Commentary AC3 2.0 @ 192kbps
Language                         : English
But now lets look at DVD example, and in this case I'll use Lord of the rings. Now Remember the EE version of each movie us 2 DVD. So heres the before:

Code: Select all

General
Complete name                    : The Lord of the Rings The Two Towers (2002).mkv
Format                           : Matroska
File size                        : 9.81 GiB
Duration                         : 3h 34mn
Overall bit rate                 : 6 558 Kbps

Video
ID                               : 1
Format                           : MPEG Video
Format version                   : Version 2
Format profile                   : Main@Main
Format settings, Matrix          : Default
Codec ID                         : V_MPEG2
Codec ID/Info                    : MPEG 1 or 2 Video
Duration                         : 3h 34mn
Bit rate mode                    : Variable
Bit rate                         : 4 905 Kbps
Width                            : 720 pixels
Height                           : 480 pixels
Display aspect ratio             : 16:9
Original display aspect ratio    : 16:9
Frame rate                       : 29.970 fps
Original frame rate              : 23.976 fps
Standard                         : NTSC
Colorimetry                      : 4:2:0
Scan type                        : Progressive
Scan order                       : 2:3 Pulldown
Bits/(Pixel*Frame)               : 0.474
Stream size                      : 7.33 GiB (75%)
Title                            : The Lord of the Rings - The Two Towers Special Extended Edition
Language                         : English

Audio #1
ID                               : 2
Format                           : DTS
Format/Info                      : Digital Theater Systems
Format profile                   : ES
Codec ID                         : A_DTS
Duration                         : 3h 34mn
Bit rate mode                    : Constant
Bit rate                         : 755 Kbps
Channel(s)                       : 7 channels
Channel positions                : Front: L C R, Rear: L C R, LFE
Sampling rate                    : 48.0 KHz
Resolution                       : 24 bits
Video delay                      : -327ms
Stream size                      : 1.13 GiB (12%)
Title                            : DTS Surround Sound 5.1
Language                         : English

Audio #2
ID                               : 3
Format                           : AC-3
Format/Info                      : Audio Coding 3
Codec ID                         : A_AC3
Duration                         : 3h 34mn
Bit rate mode                    : Constant
Bit rate                         : 192 Kbps
Channel(s)                       : 2 channels
Channel positions                : L R
Sampling rate                    : 48.0 KHz
Video delay                      : -252ms
Stream size                      : 294 MiB (3%)
Title                            : Commentary track by writer-director Peter Jackson and writers Fran Walsh and Philippa Boyens
Language                         : English

Audio #3
ID                               : 4
Format                           : AC-3
Format/Info                      : Audio Coding 3
Codec ID                         : A_AC3
Duration                         : 3h 34mn
Bit rate mode                    : Constant
Bit rate                         : 192 Kbps
Channel(s)                       : 2 channels
Channel positions                : L R
Sampling rate                    : 48.0 KHz
Video delay                      : -252ms
Stream size                      : 294 MiB (3%)
Title                            : Commentary track by the design team
Language                         : English

Audio #4
ID                               : 5
Format                           : AC-3
Format/Info                      : Audio Coding 3
Codec ID                         : A_AC3
Duration                         : 3h 34mn
Bit rate mode                    : Constant
Bit rate                         : 192 Kbps
Channel(s)                       : 2 channels
Channel positions                : L R
Sampling rate                    : 48.0 KHz
Video delay                      : -252ms
Stream size                      : 294 MiB (3%)
Title                            : Commentary track by the production/post-production team
Language                         : English

Audio #5
ID                               : 6
Format                           : AC-3
Format/Info                      : Audio Coding 3
Codec ID                         : A_AC3
Duration                         : 3h 34mn
Bit rate mode                    : Constant
Bit rate                         : 192 Kbps
Channel(s)                       : 2 channels
Channel positions                : L R
Sampling rate                    : 48.0 KHz
Video delay                      : -252ms
Stream size                      : 294 MiB (3%)
Title                            : Commentary track by 16 cast members, including Elijah Wood, Sean Astin, Andy Serkis, John Rhys-Davies, Orlando Bloom, Christopher Lee, Bernard Hill, and Miranda Otto
Language                         : English
And the after encoding:

Code: Select all

General
Complete name                    : The Lord of the Rings The Two Towers (2002).mkv
Format                           : Matroska
File size                        : 5.67 GiB
Duration                         : 3h 34mn
Overall bit rate                 : 3 792 Kbps

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High@L4.1
Format settings, CABAC           : Yes
Format settings, ReFrames        : 3 frames
Muxing mode                      : Container profile=Unknown@4.1
Codec ID                         : V_MPEG4/ISO/AVC
Duration                         : 3h 34mn
Bit rate                         : 2 194 Kbps
Width                            : 720 pixels
Height                           : 304 pixels
Display aspect ratio             : 2.35:1
Frame rate                       : 29.970 fps
Resolution                       : 24 bits
Colorimetry                      : 4:2:0
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.334
Stream size                      : 3.28 GiB (58%)
Title                            : The Lord of the Rings The Two Towers (2002)
Writing library                  : x264 core 65 r999kMod cc51047
Encoding settings                : cabac=1 / ref=3 / deblock=1:-2:-1 / analyse=0x3:0x133 / me=umh / subme=7 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=4 / thread_queue=4 / nr=0 / decimate=0 / mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=crf / crf=18.0000 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00
Language                         : English

Audio #1
ID                               : 2
Format                           : DTS
Format/Info                      : Digital Theater Systems
Format profile                   : ES
Codec ID                         : A_DTS
Duration                         : 3h 34mn
Bit rate mode                    : Constant
Bit rate                         : 755 Kbps
Channel(s)                       : 7 channels
Channel positions                : Front: L C R, Rear: L C R, LFE
Sampling rate                    : 48.0 KHz
Resolution                       : 24 bits
Stream size                      : 1.13 GiB (20%)
Title                            : DTS 6.1 channels
Language                         : English

Audio #2
ID                               : 3
Format                           : AC-3
Format/Info                      : Audio Coding 3
Codec ID                         : A_AC3
Duration                         : 3h 34mn
Bit rate mode                    : Constant
Bit rate                         : 192 Kbps
Channel(s)                       : 2 channels
Channel positions                : L R
Sampling rate                    : 48.0 KHz
Stream size                      : 294 MiB (5%)
Title                            : Commentary track by writer-director Peter Jackson and writers Fran Walsh and Philippa Boyens
Language                         : English

Audio #3
ID                               : 4
Format                           : AC-3
Format/Info                      : Audio Coding 3
Codec ID                         : A_AC3
Duration                         : 3h 34mn
Bit rate mode                    : Constant
Bit rate                         : 192 Kbps
Channel(s)                       : 2 channels
Channel positions                : L R
Sampling rate                    : 48.0 KHz
Stream size                      : 294 MiB (5%)
Title                            : Commentary track by the design team
Language                         : English

Audio #4
ID                               : 5
Format                           : AC-3
Format/Info                      : Audio Coding 3
Codec ID                         : A_AC3
Duration                         : 3h 34mn
Bit rate mode                    : Constant
Bit rate                         : 192 Kbps
Channel(s)                       : 2 channels
Channel positions                : L R
Sampling rate                    : 48.0 KHz
Stream size                      : 294 MiB (5%)
Title                            : Commentary track by the productionpost-production team
Language                         : English

Audio #5
ID                               : 6
Format                           : AC-3
Format/Info                      : Audio Coding 3
Codec ID                         : A_AC3
Duration                         : 3h 34mn
Bit rate mode                    : Constant
Bit rate                         : 192 Kbps
Channel(s)                       : 2 channels
Channel positions                : L R
Sampling rate                    : 48.0 KHz
Stream size                      : 294 MiB (5%)
Title                            : 'Commentary track by 16 cast members, including Elijah Wood, Sean Astin, Andy Serkis, John Rhys-Davies, Orlando Bloom, Christopher Lee, Bernard Hill, and Miranda Otto
Language                         : English
Now with the DVD you'll note the Kbps dropped down to about 1/2 of the DVD to 2194. So if you can only aford to have a video stream with about ~3000 Kbps. Your really gaining any thing verses just using the standard DVD.
Post Reply