Weird Duration of Encoded File

HandBrake for Windows support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
DrXenos
Bright Spark User
Posts: 278
Joined: Sat Mar 16, 2013 1:19 pm

Weird Duration of Encoded File

Post by DrXenos »

I'm trying to transcode some videos (DVD special features). Sometimes, I get one that, although successful, displays a very large duration when played (over 500 hrs.). I tried first extracting the title with MakeMKV, but I get the samething. I opened it in MediaInfo and it has this oddity "Time code of first frame : 01:21:35;24." Could that be the issue? If so, is there a tool to fix it?

Thanks,

DrX

Encode Log:

Code: Select all

HandBrake svn7201 (Nightly Build) - 64bit Version
OS: Microsoft Windows NT 6.1.7601 Service Pack 1 - 64bit
CPU: Intel(R) Core(TM) i7-3820 CPU @ 3.60GHz
Ram: 32717 MB, 
GPU Information:
  AMD Radeon HD 7900 Series - 14.301.1001.0
Screen: 1920x1200
Temp Dir: C:\Users\Xenos\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\Xenos\AppData\Roaming\HandBrake\HandBrake\0.0.0.7201

-------------------------------------------

# Starting Encode ...
[19:58:45] 1 job(s) to process
[19:58:45] CPU: Intel(R) Core(TM) i7-3820 CPU @ 3.60GHz
[19:58:45]  - Intel microarchitecture Sandy Bridge
[19:58:45]  - logical processor count: 8
[19:58:45] OpenCL device #1: Advanced Micro Devices, Inc. Tahiti
[19:58:45]  - OpenCL version: 1.2 AMD-APP (1573.4)
[19:58:45]  - driver version: 1573.4 (VM)
[19:58:45]  - device type:    GPU
[19:58:45]  - supported:      YES
[19:58:45] Intel Quick Sync Video support: no
[19:58:45] hb_scan: path=D:\Download\Staging\Sandbox\Alien Quadrilogy Boxed Set\D8\title10.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:251: failed opening UDF image D:\Download\Staging\Sandbox\Alien Quadrilogy Boxed Set\D8\title10.mkv
src/libbluray/disc/disc.c:332: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:332: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2373: nav_get_title_list(D:\Download\Staging\Sandbox\Alien Quadrilogy Boxed Set\D8\title10.mkv\) failed
[19:58:45] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[19:58:45] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'D:\Download\Staging\Sandbox\Alien Quadrilogy Boxed Set\D8\title10.mkv':
  Duration: 00:26:23.88, start: 0.000000, bitrate: N/A
    Stream #0.0(eng): Video: mpeg2video (Main), yuv420p, 720x480 [PAR 8:9 DAR 4:3], 9800 kb/s, 29.97 fps, 1k tbn, 59.94 tbc
    Stream #0.1(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s (default)
    Metadata:
      title           : Stereo
[19:58:45] scan: decoding previews for title 1
[19:58:45] scan: audio 0x1: ac3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch) (Dolby Surround)
[19:58:46] scan: 10 previews, 720x480, 29.970 fps, autocrop = 0/0/0/2, aspect 4:3, PAR 8:9
[19:58:46] libhb: scan thread found 1 valid title(s)
[19:58:46] starting job
[19:58:46] yadif thread started for segment 0
[19:58:46] yadif thread started for segment 1
[19:58:46] yadif thread started for segment 2
[19:58:46] yadif thread started for segment 3
[19:58:46] yadif thread started for segment 4
[19:58:46] yadif thread started for segment 5
[19:58:46] yadif thread started for segment 6
[19:58:46] yadif thread started for segment 7
[19:58:46] decomb filter thread started for segment 0
[19:58:46] decomb filter thread started for segment 1
[19:58:46] decomb filter thread started for segment 2
[19:58:46] decomb filter thread started for segment 3
[19:58:46] decomb filter thread started for segment 4
[19:58:46] decomb filter thread started for segment 5
[19:58:46] decomb filter thread started for segment 6
[19:58:46] decomb filter thread started for segment 7
[19:58:46] decomb check thread started for segment 1
[19:58:46] decomb check thread started for segment 0
[19:58:46] decomb check thread started for segment 2
[19:58:46] decomb check thread started for segment 3
[19:58:46] decomb check thread started for segment 4
[19:58:46] decomb check thread started for segment 5
[19:58:46] decomb check thread started for segment 6
[19:58:46] decomb check thread started for segment 7
[19:58:46] mask filter thread started for segment 0
[19:58:46] mask filter thread started for segment 1
[19:58:46] mask filter thread started for segment 2
[19:58:46] mask filter thread started for segment 3
[19:58:46] mask filter thread started for segment 4
[19:58:46] mask filter thread started for segment 5
[19:58:46] mask filter thread started for segment 6
[19:58:46] mask filter thread started for segment 7
[19:58:46] mask erode thread started for segment 0
[19:58:46] mask erode thread started for segment 1
[19:58:46] mask erode thread started for segment 2
[19:58:46] mask erode thread started for segment 3
[19:58:46] mask erode thread started for segment 4
[19:58:46] mask erode thread started for segment 5
[19:58:46] mask erode thread started for segment 6
[19:58:46] mask erode thread started for segment 7
[19:58:46] mask dilate thread started for segment 3
[19:58:46] mask dilate thread started for segment 1
[19:58:46] mask dilate thread started for segment 2
[19:58:46] mask dilate thread started for segment 0
[19:58:46] mask dilate thread started for segment 4
[19:58:46] mask dilate thread started for segment 5
[19:58:46] work: sanitizing track 1 mixdown Dolby Pro Logic II to Dolby Surround
[19:58:46] mask dilate thread started for segment 6
[19:58:46] work: track 1, dithering not supported by codec
[19:58:46] mask dilate thread started for segment 7
[19:58:46] sync: expecting 47468 video frames
[19:58:46] work: only 1 chapter, disabling chapter markers
[19:58:46] job configuration:
[19:58:46]  * source
[19:58:46]    + D:\Download\Staging\Sandbox\Alien Quadrilogy Boxed Set\D8\title10.mkv
[19:58:46]    + title 1, chapter(s) 1 to 1
[19:58:46]    + container: matroska,webm
[19:58:46]  * destination
[19:58:46]    + M:\Media\Movies\A\Alien (1979)\Special Features\Alien Quadrilogy Boxed Set\D8-11 - Unnatural Mutation - Creature Design.mkv
[19:58:46]    + container: Matroska (libavformat)
[19:58:46]  * video track
[19:58:46]    + decoder: mpeg2video
[19:58:46]      + bitrate 9800 kbps
[19:58:46]    + filters
[19:58:46]      + Detelecine (pullup) (default settings)
[19:58:46]      + Decomb (default settings)
[19:58:46]      + Framerate Shaper (1:27000000:900900)
[19:58:46]        + frame rate: 29.970 fps -> constant 29.970 fps
[19:58:46]      + Crop and Scale (718:480:0:0:0:2)
[19:58:46]        + source: 720 * 480, crop (0/0/0/2): 718 * 480, scale: 718 * 480
[19:58:46]    + Output geometry
[19:58:46]      + storage dimensions: 718 x 480
[19:58:46]      + pixel aspect ratio: 8 : 9
[19:58:46]      + display dimensions: 638 x 480
[19:58:46]    + encoder: H.264 (libx264)
[19:58:46]      + preset:  slow
[19:58:46]      + tune:    film
[19:58:46]      + profile: high
[19:58:46]      + level:   4.1
[19:58:46]      + quality: 20.00 (RF)
[19:58:46]  * audio track 1
[19:58:46]    + decoder: English (AC3) (2.0 ch) (Dolby Surround) (track 1, id 0x1)
[19:58:46]      + bitrate: 192 kbps, samplerate: 48000 Hz
[19:58:46]    + mixdown: Dolby Surround
[19:58:46]    + encoder: AAC (libavcodec)
[19:58:46]      + bitrate: 192 kbps, samplerate: 48000 Hz
[19:58:46]  * audio track 2
[19:58:46]    + decoder: English (AC3) (2.0 ch) (Dolby Surround) (track 1, id 0x1)
[19:58:46]      + bitrate: 192 kbps, samplerate: 48000 Hz
[19:58:46]    + AC3 Passthru
[19:58:46] reader: first SCR -2970 id 0x0 DTS -2970
[19:58:46] encx264: min-keyint: 30, keyint: 300
[19:58:46] encx264: encoding at constant RF 20.000000
[19:58:46] encx264: unparsed options: vbv-bufsize=78125:level=4.1:b-adapt=2:ref=5:deblock=-1,-1:subme=8:direct=auto:me=umh:psy-rd=1,0.15:vbv-maxrate=62500:rc-lookahead=50
x264 [info]: using SAR=8/9
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High, level 4.1
Scan Log:

Code: Select all

HandBrake svn7201 (Nightly Build) - 64bit Version
OS: Microsoft Windows NT 6.1.7601 Service Pack 1 - 64bit
CPU: Intel(R) Core(TM) i7-3820 CPU @ 3.60GHz
Ram: 32717 MB, 
GPU Information:
  AMD Radeon HD 7900 Series - 14.301.1001.0
Screen: 1920x1200
Temp Dir: C:\Users\Xenos\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\Xenos\AppData\Roaming\HandBrake\HandBrake\0.0.0.7201

-------------------------------------------
# Starting Scan ...
[19:54:54] CPU: Intel(R) Core(TM) i7-3820 CPU @ 3.60GHz
[19:54:54]  - Intel microarchitecture Sandy Bridge
[19:54:54]  - logical processor count: 8
[19:54:54] OpenCL device #1: Advanced Micro Devices, Inc. Tahiti
[19:54:54]  - OpenCL version: 1.2 AMD-APP (1573.4)
[19:54:54]  - driver version: 1573.4 (VM)
[19:54:54]  - device type:    GPU
[19:54:54]  - supported:      YES
[19:54:54] Intel Quick Sync Video support: no
[19:54:54] hb_scan: path=D:\Download\Staging\Sandbox\title23 (1).mkv, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:251: failed opening UDF image D:\Download\Staging\Sandbox\title23 (1).mkv
src/libbluray/disc/disc.c:332: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:332: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2373: nav_get_title_list(D:\Download\Staging\Sandbox\title23 (1).mkv\) failed
[19:54:54] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[19:54:54] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'D:\Download\Staging\Sandbox\title23 (1).mkv':
  Duration: 00:01:16.13, start: 0.000000, bitrate: N/A
    Stream #0.0(eng): Video: mpeg2video (Main), yuv420p, 720x480 [PAR 32:27 DAR 16:9], 9800 kb/s, PAR 186:157 DAR 279:157, 29.97 fps, 1k tbn, 59.94 tbc
    Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, fltp, 448 kb/s (default)
    Metadata:
      title           : Surround 5.1
    Stream #0.2(eng): Audio: dca (DTS), 48000 Hz, 5.1, fltp, 768 kb/s
    Metadata:
      title           : Surround 5.1
    Stream #0.3(eng): Audio: ac3, 48000 Hz, stereo, fltp, 96 kb/s
    Metadata:
      title           : Stereo
    Stream #0.4(eng): Audio: ac3, 48000 Hz, stereo, fltp, 96 kb/s
    Metadata:
      title           : Stereo
    Stream #0.5(fre): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
    Metadata:
      title           : Stereo
    Stream #0.6(eng): Subtitle: dvdsub (default)
    Stream #0.7(fre): Subtitle: dvdsub
    Stream #0.8(eng): Subtitle: dvdsub
[19:54:54] scan: decoding previews for title 1
[19:54:54] scan: audio 0x2: dca, rate=48000Hz, bitrate=768000 English (DTS) (5.1 ch)
[19:54:54] scan: audio 0x1: ac3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[19:54:54] scan: audio 0x3: ac3, rate=48000Hz, bitrate=96000 English (AC3) (2.0 ch) (Dolby Surround)
[19:54:54] scan: audio 0x4: ac3, rate=48000Hz, bitrate=96000 English (AC3) (2.0 ch) (Dolby Surround)
[19:54:54] scan: audio 0x5: ac3, rate=48000Hz, bitrate=192000 Francais (AC3) (2.0 ch) (Dolby Surround)
[19:54:55] scan: 60 previews, 720x480, 23.976 fps, autocrop = 54/58/8/0, aspect 16:9, PAR 32:27
[19:54:55] libhb: scan thread found 1 valid title(s)
# Scan Finished ...
DrXenos
Bright Spark User
Posts: 278
Joined: Sat Mar 16, 2013 1:19 pm

Re: Weird Duration of Encoded File

Post by DrXenos »

FYI: I was able to transcode these same videos a few years ago with HandBrake without issue.
mduell
Veteran User
Posts: 8198
Joined: Sat Apr 21, 2007 8:54 pm

Re: Weird Duration of Encoded File

Post by mduell »

You posted an incomplete encode log.

Also forcing the framerate to constant with detelecine active is not likely to produce the output you want.
DrXenos
Bright Spark User
Posts: 278
Joined: Sat Mar 16, 2013 1:19 pm

Re: Weird Duration of Encoded File

Post by DrXenos »

mduell wrote:You posted an incomplete encode log.

Also forcing the framerate to constant with detelecine active is not likely to produce the output you want.
I apologize for the incomplete log. I don't know how that happened.

I haven't ever had a problem setting a constant frame rate with detelecine before. Regardless, whether I do or not, the issue remains.
mduell
Veteran User
Posts: 8198
Joined: Sat Apr 21, 2007 8:54 pm

Re: Weird Duration of Encoded File

Post by mduell »

I should have been more clear. We can't help you without a complete encode log.
DrXenos
Bright Spark User
Posts: 278
Joined: Sat Mar 16, 2013 1:19 pm

Re: Weird Duration of Encoded File

Post by DrXenos »

Sigh. You'd think I'd learn not to even bother. I withdraw the complaint. I'll just find an old version that still works.
mduell
Veteran User
Posts: 8198
Joined: Sat Apr 21, 2007 8:54 pm

Re: Weird Duration of Encoded File

Post by mduell »

If we don't know what happened with the encode, we have nothing to work from.

Also posting the entire MediaInfo would be useful.
Post Reply