VERY long encode times for ripped blu-ray

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
ryan88
Posts: 2
Joined: Wed Dec 29, 2010 4:03 pm

VERY long encode times for ripped blu-ray

Post by ryan88 »

Hi,

I have been using Handbrake for some time to encode my DVDs to mkv with no problems. However, I have just got a Blu-Ray recorder for my computer and now wish to encode Blu-Rays to mkv. I have searched on google for ways of doing this and one that seemed fairly simple was to use MakeMKV and then Handbrake to resize the file.

I tried this but Handbrake seems to take forever to encode the file (I stopped the encoding when the estimated time reached 7+ hours, but it was still going up). Encoding DVDs to MKV usually takes me 45-60 minutes, but I expected the Blu-Ray rip to take longer, but not an extra 6 hours. Do this kind of time seem reasonable?

I am using Windows 7 x64 and I have tried both Handbrake 0.9.4 and svn3717, but both gave the same times.

Here is the activity log:

Code: Select all

# Windows GUI svn3717 2010122901
# Running: Microsoft Windows NT 6.1.7600.0
# CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5200+
# Ram: 4094 MB
# Screen: 1680x1050
# Temp Dir: C:\Users\Ryan\AppData\Local\Temp\
# Install Dir: C:\Program Files (x86)\Handbrake
# Data Dir: C:\Users\Ryan\AppData\Roaming\HandBrake\HandBrake\0.9.5.3705

# CLI Query:  -i "C:\Users\Ryan\Videos\title00.mkv" -t 1 -c 1-20 -o "C:\Users\Ryan\Videos\kill bill.mkv"  -f mkv --decomb --strict-anamorphic  -e x264 -q 20 -a 1 -E copy:ac3 -6 auto -R Auto -B auto -D 0.0 --markers="C:\Users\Ryan\AppData\Local\Temp\kill bill-1-chapters.csv" -x ref=2:bframes=2:subq=6:mixed-refs=0:weightb=0:8x8dct=0:trellis=0 --verbose=1
# User Query: False
-------------------------------------------

[18:58:00] hb_init: checking cpu count
[18:58:00] hb_init: starting libhb thread
HandBrake svn3717 (2010122901) - MinGW i386 - http://handbrake.fr
2 CPUs detected
Opening C:\Users\Ryan\Videos\title00.mkv...
[18:58:00] hb_scan: path=C:\Users\Ryan\Videos\title00.mkv, title_index=1
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening C:\Users\Ryan\Videos\title00.mkv/BDMV/index.bdmv
libbluray/bluray.c:960: nav_get_title_list(C:\Users\Ryan\Videos\title00.mkv) failed (0x1a42ed0)
[18:58:00] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[18:58:00] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'C:\Users\Ryan\Videos\title00.mkv':
  Duration: 01:50:43.63, start: 0.000000, bitrate: 640 kb/s
    Chapter #0.0: start 0.000000, end 147.856022
    Metadata:
      title           : Chapter 00
    Chapter #0.1: start 147.856022, end 308.141156
    Metadata:
      title           : Chapter 01
    Chapter #0.2: start 308.141156, end 590.214600
    Metadata:
      title           : Chapter 02
    Chapter #0.3: start 590.214600, end 968.592578
    Metadata:
      title           : Chapter 03
    Chapter #0.4: start 968.592578, end 1192.024111
    Metadata:
      title           : Chapter 04
    Chapter #0.5: start 1192.024111, end 1512.135556
    Metadata:
      title           : Chapter 05
    Chapter #0.6: start 1512.135556, end 1939.062044
    Metadata:
      title           : Chapter 06
    Chapter #0.7: start 1939.062044, end 2157.655422
    Metadata:
      title           : Chapter 07
    Chapter #0.8: start 2157.655422, end 2702.407933
    Metadata:
      title           : Chapter 08
    Chapter #0.9: start 2702.407933, end 3030.861044
    Metadata:
      title           : Chapter 09
    Chapter #0.10: start 3030.861044, end 3519.724400
    Metadata:
      title           : Chapter 10
    Chapter #0.11: start 3519.724400, end 3875.121111
    Metadata:
      title           : Chapter 11
    Chapter #0.12: start 3875.121111, end 4392.221022
    Metadata:
      title           : Chapter 12
    Chapter #0.13: start 4392.221022, end 4899.436044
    Metadata:
      title           : Chapter 13
    Chapter #0.14: start 4899.436044, end 5405.733489
    Metadata:
      title           : Chapter 14
    Chapter #0.15: start 5405.733489, end 5917.077644
    Metadata:
      title           : Chapter 15
    Chapter #0.16: start 5917.077644, end 6106.099800
    Metadata:
      title           : Chapter 16
    Chapter #0.17: start 6106.099800, end 6199.401333
    Metadata:
      title           : Chapter 17
    Chapter #0.18: start 6199.401333, end 6642.635800
    Metadata:
      title           : Chapter 18
    Chapter #0.19: start 6642.635800, end 6643.637000
    Metadata:
      title           : Chapter 19
    Stream #0.0(eng): Video: h264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
    Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, s16, 640 kb/s
    Metadata:
      title           : 3/2+1
    Stream #0.2(eng): Subtitle: pgssub
    Stream #0.3(eng): Subtitle: pgssub
    Stream #0.4(eng): Subtitle: pgssub
[18:58:01] add_ffmpeg_subtitle: unknown subtitle stream type: 0x17006
[18:58:01] add_ffmpeg_subtitle: unknown subtitle stream type: 0x17006
[18:58:01] add_ffmpeg_subtitle: unknown subtitle stream type: 0x17006
[18:58:01] scan: decoding previews for title 1
[18:58:01] scan: audio 0x1: AC-3, rate=48000Hz, bitrate=640000 English (AC3) (5.1 ch)
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
[18:58:04] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 128/136/0/0, aspect 16:9, PAR 1:1
[18:58:04] scan: title (0) job->width:1920, job->height:816
[18:58:04] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: C:\Users\Ryan\Videos\title00.mkv
  + duration: 01:50:43
  + size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
  + autocrop: 128/136/0/0
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:02:27
    + 2: cells 0->0, 0 blocks, duration 00:02:40
    + 3: cells 0->0, 0 blocks, duration 00:04:42
    + 4: cells 0->0, 0 blocks, duration 00:06:18
    + 5: cells 0->0, 0 blocks, duration 00:03:43
    + 6: cells 0->0, 0 blocks, duration 00:05:20
    + 7: cells 0->0, 0 blocks, duration 00:07:06
    + 8: cells 0->0, 0 blocks, duration 00:03:38
    + 9: cells 0->0, 0 blocks, duration 00:09:04
    + 10: cells 0->0, 0 blocks, duration 00:05:28
    + 11: cells 0->0, 0 blocks, duration 00:08:08
    + 12: cells 0->0, 0 blocks, duration 00:05:55
    + 13: cells 0->0, 0 blocks, duration 00:08:37
    + 14: cells 0->0, 0 blocks, duration 00:08:27
    + 15: cells 0->0, 0 blocks, duration 00:08:26
    + 16: cells 0->0, 0 blocks, duration 00:08:31
    + 17: cells 0->0, 0 blocks, duration 00:03:09
    + 18: cells 0->0, 0 blocks, duration 00:01:33
    + 19: cells 0->0, 0 blocks, duration 00:07:23
    + 20: cells 0->0, 0 blocks, duration 00:00:01
  + audio tracks:
    + 1, English (AC3) (5.1 ch) (iso639-2: eng), 48000Hz, 640000bps
  + subtitle tracks:
Reading chapter markers from file C:\Users\Ryan\AppData\Local\Temp\kill bill-1-chapters.csv
[18:58:04] 1 job(s) to process
[18:58:04] starting job
[18:58:04] sync: expecting 159311 video frames
[18:58:04] job configuration:
[18:58:04]  * source
[18:58:04]    + C:\Users\Ryan\Videos\title00.mkv
[18:58:04]    + title 1, chapter(s) 1 to 20
[18:58:04]    + container: matroska,webm
[18:58:04]    + data rate: 640 kbps
[18:58:04]  * destination
[18:58:04]    + C:\Users\Ryan\Videos\kill bill.mkv
[18:58:04]    + container: Matroska (.mkv)
[18:58:04]      + chapter markers
[18:58:04]  * video track
[18:58:04]    + decoder: h264
[18:58:04]    + frame rate: same as source (around 23.976 fps)
[18:58:04]    + strict anamorphic
[18:58:04]      + storage dimensions: 1920 * 1080 -> 1920 * 816, crop 128/136/0/0, mod 0
[18:58:04]      + pixel aspect ratio: 1 / 1
[18:58:04]      + display dimensions: 1920 * 816
[18:58:04]    + filter
[18:58:04]      + Decomb (default settings)
[18:58:04]    + encoder: x264
[18:58:04]      + options: ref=2:bframes=2:subq=6:mixed-refs=0:weightb=0:8x8dct=0:trellis=0
[18:58:04]      + quality: 20.00 (RF)
[18:58:04]  * audio track 0
[18:58:04]    + decoder: English (AC3) (5.1 ch) (track 1, id 1)
[18:58:04]      + bitrate: 640 kbps, samplerate: 48000 Hz
[18:58:04]    + AC3 passthrough
[18:58:04] yadif thread started for segment 0
[18:58:04] yadif thread started for segment 1
[18:58:04] decomb thread started for segment 0
[18:58:04] encx264: min-keyint: auto (23), keyint: 240
[18:58:04] encx264: encoding with stored aspect 1/1
[18:58:04] encx264: Encoding at constant RF 20.000000
x264 [info]: [18:58:04] decomb thread started for segment 1
using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Slow SlowCTZ
x264 [info]: profile Main, level 4.0
No accelerated IMDCT transform found
[18:58:04] reader: first SCR 0 id 1 DTS 0
I would be very grateful if someone could offer some advice.

Thanks,

Ryan
User avatar
s55
HandBrake Team
Posts: 10358
Joined: Sun Dec 24, 2006 1:05 pm

Re: VERY long encode times for ripped blu-ray

Post by s55 »

Do this kind of time seem reasonable?
Yup, it does. Bare in mind, you don't have a particularly powerful cpu.
Also bare in mind, your going from 0.4M to >2M pixels
ryan88
Posts: 2
Joined: Wed Dec 29, 2010 4:03 pm

Re: VERY long encode times for ripped blu-ray

Post by ryan88 »

Ok thanks, I just wanted to check to make sure I wasn't doing anything wrong.

Ryan
mduell
Veteran User
Posts: 8202
Joined: Sat Apr 21, 2007 8:54 pm

Re: VERY long encode times for ripped blu-ray

Post by mduell »

RF 20 is a bit low for full resolution HD encodes... I'd bump up to 22 or so and enjoy the file size savings.
TedC
Experienced
Posts: 76
Joined: Sun Dec 13, 2009 1:44 am

Re: VERY long encode times for ripped blu-ray

Post by TedC »

I also found some long encode times on mkvs created from blu-rays that I didn't expect. These are roughly hour long episodes of Generation Kill with a speedy processor. 10:50 to 15:11 - about 4.5 hours.

Code: Select all

# Windows GUI svn3467 2010080301
# Running: Microsoft Windows NT 6.1.7600.0
# CPU: Intel(R) Core(TM) i7 CPU         950  @ 3.07GHz
# Ram: 2039 MB
# Screen: 1360x768
# Temp Dir: d:\Users\ted\AppData\Local\Temp\
# Install Dir: C:\Program Files (x86)\Handbrake
# Data Dir: d:\Users\ted\AppData\Roaming\HandBrake\HandBrake\0.9.4.3463

# CLI Query:  -i "d:\Users\ted\RIPS\GK_D1\e1\Video_2.mkv" -t 1 -c 1-7 -o "D:\Users\ted\RIPS\Movies\01 - Get Some.m4v"  -f mp4 -4  --strict-anamorphic  -e x264 -q 21 -a 1,1 -E faac,ac3 -6 dpl2,auto -R Auto,Auto -B 320,auto -D 0.0,0.0 --markers="d:\Users\red\AppData\Local\Temp\01 - Get Some-1-chapters.csv" -x b-adapt=2:rc-lookahead=50:no-dct-decimate=1:me=umh:ref=6:bframes=4 -v 1
# User Query: False
-------------------------------------------

[10:50:47] hb_init: checking cpu count
[10:50:47] hb_init: starting libhb thread
HandBrake svn3467 (2010080301) - MinGW i386 - http://handbrake.fr
8 CPUs detected
Opening d:\Users\ted\RIPS\GK_D1\e1\Video_2.mkv...
[10:50:47] hb_scan: path=d:\Users\tclaypool\RIPS\GK_D1\e1\Video_2.mkv, title_index=1
[10:50:47] scan: trying to open with libdvdread
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[10:50:47] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska, from 'd:\Users\tclaypool\RIPS\GK_D1\e1\Video_2.mkv':
  Duration: 01:08:23.68, start: 0.000000, bitrate: 640 kb/s
    Chapter #0.0: start 0.000000, end 697.947000
    Metadata:
      title           : 00:00:00.000
    Chapter #0.1: start 697.947000, end 1396.270000
    Metadata:
      title           : 00:11:37.947
    Chapter #0.2: start 1396.270000, end 1987.110000
    Metadata:
      title           : 00:23:16.270
    Chapter #0.3: start 1987.110000, end 2627.500000
    Metadata:
      title           : 00:33:07.110
    Chapter #0.4: start 2627.500000, end 3269.141000
    Metadata:
      title           : 00:43:47.500
    Chapter #0.5: start 3269.141000, end 3913.660000
    Metadata:
      title           : 00:54:29.141
    Chapter #0.6: start 3913.660000, end 4103.683000
    Metadata:
      title           : 01:05:13.660
    Stream #0.0(eng): Video: h264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 24 tbr, 1k tbn, 47.95 tbc
    Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, s16, 640 kb/s
[10:50:51] scan: decoding previews for title 1
[10:50:51] scan: audio 0x1: AC-3, rate=48000Hz, bitrate=640000 English (AC3) (5.1 ch)
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
[10:51:00] scan: 10 previews, 1920x1080, 24.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[10:51:00] scan: title (0) job->width:1920, job->height:1072
[10:51:00] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: d:\Users\tclaypool\RIPS\GK_D1\e1\Video_2.mkv
  + angle(s) 0
  + duration: 01:08:23
  + size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 24.000 fps
  + autocrop: 0/0/0/0
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:11:37
    + 2: cells 0->0, 0 blocks, duration 00:11:38
    + 3: cells 0->0, 0 blocks, duration 00:09:50
    + 4: cells 0->0, 0 blocks, duration 00:10:40
    + 5: cells 0->0, 0 blocks, duration 00:10:41
    + 6: cells 0->0, 0 blocks, duration 00:10:44
    + 7: cells 0->0, 0 blocks, duration 00:03:10
  + audio tracks:
    + 1, English (AC3) (5.1 ch) (iso639-2: eng), 48000Hz, 640000bps
  + subtitle tracks:
Reading chapter markers from file d:\Users\tclaypool\AppData\Local\Temp\01 - Get Some-1-chapters.csv
Invalid sample rate 0, using input rate 48000
Invalid sample rate 0, using input rate 48000
[10:51:00] 1 job(s) to process
[10:51:00] starting job
[10:51:00] sync: expecting 98512 video frames
[10:51:00] job configuration:
[10:51:00]  * source
[10:51:00]    + d:\Users\tclaypool\RIPS\GK_D1\e1\Video_2.mkv
[10:51:00]    + title 1, chapter(s) 1 to 7
[10:51:00]    + container: matroska
[10:51:00]    + data rate: 640 kbps
[10:51:00]  * destination
[10:51:00]    + D:\Users\tclaypool\RIPS\Movies\01 - Get Some.m4v
[10:51:00]    + container: MPEG-4 (.mp4 and .m4v)
[10:51:00]      + 64-bit formatting
[10:51:00]      + chapter markers
[10:51:00]  * video track
[10:51:00]    + decoder: h264
[10:51:00]    + frame rate: same as source (around 24.000 fps)
[10:51:00]    + strict anamorphic
[10:51:00]      + storage dimensions: 1920 * 1080 -> 1920 * 1080, crop 0/0/0/0, mod 0
[10:51:00]      + pixel aspect ratio: 1 / 1
[10:51:00]      + display dimensions: 1920 * 1080
[10:51:00]    + encoder: x264
[10:51:00]      + options: b-adapt=2:rc-lookahead=50:no-dct-decimate=1:me=umh:ref=6:bframes=4
[10:51:00]      + quality: 21.00 (RF)
[10:51:00]  * audio track 0
[10:51:00]    + decoder: English (AC3) (5.1 ch) (track 1, id 1)
[10:51:00]      + bitrate: 640 kbps, samplerate: 48000 Hz
[10:51:00]    + mixdown: Dolby Pro Logic II
[10:51:00]    + encoder: faac
[10:51:00]      + bitrate: 320 kbps, samplerate: 48000 Hz
[10:51:00]  * audio track 1
[10:51:00]    + decoder: English (AC3) (5.1 ch) (track 1, id 1)
[10:51:00]      + bitrate: 640 kbps, samplerate: 48000 Hz
[10:51:00]    + AC3 passthrough
[10:51:00] encx264: min-keyint: 24, keyint: 240
[10:51:00] encx264: encoding with stored aspect 1/1
[10:51:00] encx264: Encoding at constant RF 21.000000
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
[10:51:00] reader: first SCR 0 id 0 DTS 0
x264 [info]: profile High, level 5.0
No accelerated IMDCT transform found
No accelerated IMDCT transform found
[11:37:52] h264: "Chapter 2" (2) at frame 16742 time 62815230
[12:24:06] h264: "Chapter 3" (3) at frame 33485 time 125664300
[13:02:45] h264: "Chapter 4" (4) at frame 47651 time 178839900
[13:44:10] h264: "Chapter 5" (5) at frame 63005 time 236475000
[14:23:26] h264: "Chapter 6" (6) at frame 78389 time 294222690
[15:06:13] h264: "Chapter 7" (7) at frame 93842 time 352229400
[15:11:14] reader: done. 1 scr changes
[15:11:22] work: average encoding speed for job is 6.299275 fps
[15:11:22] sync: got 98390 frames, 98512 expected
[15:11:22] h264-decoder done: 98390 frames, 0 decoder errors, 0 drops
[15:11:22] render: lost time: 0 (0 frames)
[15:11:22] render: gained time: 0 (0 frames) (0 not accounted for)
x264 [info]: frame I:769   Avg QP:19.82  size:198239  PSNR Mean Y:46.35 U:52.22 V:53.36 Avg:47.51 Global:47.03
x264 [info]: frame P:27115 Avg QP:22.61  size: 73493  PSNR Mean Y:43.44 U:50.19 V:51.35 Avg:44.74 Global:44.18
x264 [info]: frame B:70506 Avg QP:23.75  size: 48263  PSNR Mean Y:42.38 U:49.02 V:50.51 Avg:43.70 Global:43.04
x264 [info]: consecutive B-frames:  1.0%  2.7% 32.0% 38.4% 25.9%
x264 [info]: mb I  I16..4:  5.0% 90.3%  4.7%
x264 [info]: mb P  I16..4:  0.9% 21.8%  1.0%  P16..4: 45.5% 15.4%  7.0%  0.0%  0.0%    skip: 8.3%
x264 [info]: mb B  I16..4:  0.1%  6.1%  0.1%  B16..8: 50.2% 10.4%  1.7%  direct: 9.6%  skip:21.9%  L0:47.0% L1:49.4% BI: 3.6%
x264 [info]: 8x8 transform intra:93.9% inter:80.0%
x264 [info]: coded y,uvDC,uvAC intra: 88.7% 73.1% 30.7% inter: 45.5% 36.3% 4.7%
x264 [info]: i16 v,h,dc,p: 30% 12%  5% 53%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 11% 29%  6%  9%  8%  8%  8%  8%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 16% 14%  8% 11% 10%  9%  7%  6%
x264 [info]: i8c dc,h,v,p: 60% 17% 17%  5%
x264 [info]: Weighted P-Frames: Y:2.0%
x264 [info]: ref P L0: 46.2% 11.3% 20.1%  9.1%  6.7%  5.1%  1.6%  0.0%
x264 [info]: ref B L0: 68.2% 18.8%  8.4%  3.2%  1.3%
x264 [info]: ref B L1: 88.8% 11.2%
x264 [info]: SSIM Mean Y:0.9593032 (13.904db)
x264 [info]: PSNR Mean Y:42.703 U:49.368 V:50.764 Avg:44.013 Global:43.349 kb/s:10815.69
[15:11:24] mux: track 0, 98390 frames, 5547986900 bytes, 10815.56 kbps, fifo 64
[15:11:24] mux: track 1, 192353 frames, 149944719 bytes, 292.31 kbps, fifo 256
[15:11:24] mux: track 2, 128235 frames, 328281600 bytes, 639.97 kbps, fifo 256
[15:11:24] libhb: work result = 0
Rip done!
HandBrake has exited.
A feature length film (around 2 hours) completes in three hours (perhaps these can't really be compared because of source characteristics and complexity of source - but the movie definitely didn't take as much time as an hour long tv show)

Code: Select all

# Windows GUI svn3467 2010080301
# Running: Microsoft Windows NT 6.1.7600.0
# CPU: Intel(R) Core(TM) i7 CPU         950  @ 3.07GHz
# Ram: 2039 MB
# Screen: 1360x768
# Temp Dir: d:\Users\ted\AppData\Local\Temp\
# Install Dir: C:\Program Files (x86)\Handbrake
# Data Dir: d:\Users\ted\AppData\Roaming\HandBrake\HandBrake\0.9.4.3463

# CLI Query:  -i "d:\Users\ted\RIPS\GROWN_UPS\Video_2.mkv" -t 1 -c 1-16 -o "d:\Users\ted\RIPS\Movies\Grown Ups.m4v"  -f mp4 -4  --strict-anamorphic  -e x264 -q 21 -a 1,1 -E faac,ac3 -6 dpl2,auto -R Auto,Auto -B 320,auto -D 0.0,0.0 --markers="d:\Users\ted\AppData\Local\Temp\Grown Ups-1-chapters.csv" -x b-adapt=2:rc-lookahead=50:no-dct-decimate=1:me=umh:ref=6:bframes=4 -v 1
# User Query: False
-------------------------------------------

[21:39:36] hb_init: checking cpu count
[21:39:36] hb_init: starting libhb thread
HandBrake svn3467 (2010080301) - MinGW i386 - http://handbrake.fr
8 CPUs detected
Opening d:\Users\ted\RIPS\GROWN_UPS\Video_2.mkv...
[21:39:36] hb_scan: path=d:\Users\ted\RIPS\GROWN_UPS\Video_2.mkv, title_index=1
[21:39:36] scan: trying to open with libdvdread
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[21:39:36] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska, from 'd:\Users\ted\RIPS\GROWN_UPS\Video_2.mkv':
  Duration: 01:42:20.16, start: 0.000000, bitrate: 640 kb/s
    Chapter #0.0: start 0.000000, end 372.831000
    Metadata:
      title           : 00:00:00.000
    Chapter #0.1: start 372.831000, end 950.992000
    Metadata:
      title           : 00:06:12.831
    Chapter #0.2: start 950.992000, end 1251.417000
    Metadata:
      title           : 00:15:50.992
    Chapter #0.3: start 1251.417000, end 1504.503000
    Metadata:
      title           : 00:20:51.417
    Chapter #0.4: start 1504.503000, end 1722.721000
    Metadata:
      title           : 00:25:04.503
    Chapter #0.5: start 1722.721000, end 2229.769000
    Metadata:
      title           : 00:28:42.721
    Chapter #0.6: start 2229.769000, end 2577.200000
    Metadata:
      title           : 00:37:09.769
    Chapter #0.7: start 2577.200000, end 3019.391000
    Metadata:
      title           : 00:42:57.200
    Chapter #0.8: start 3019.391000, end 3270.309000
    Metadata:
      title           : 00:50:19.391
    Chapter #0.9: start 3270.309000, end 3619.115000
    Metadata:
      title           : 00:54:30.309
    Chapter #0.10: start 3619.115000, end 4012.342000
    Metadata:
      title           : 01:00:19.115
    Chapter #0.11: start 4012.342000, end 4324.445000
    Metadata:
      title           : 01:06:52.342
    Chapter #0.12: start 4324.445000, end 4648.978000
    Metadata:
      title           : 01:12:04.445
    Chapter #0.13: start 4648.978000, end 5051.296000
    Metadata:
      title           : 01:17:28.978
    Chapter #0.14: start 5051.296000, end 5461.247000
    Metadata:
      title           : 01:24:11.296
    Chapter #0.15: start 5461.247000, end 6140.160000
    Metadata:
      title           : 01:31:01.247
    Stream #0.0(eng): Video: h264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 24 tbr, 1k tbn, 47.95 tbc
    Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, s16, 640 kb/s
[21:39:36] scan: decoding previews for title 1
[21:39:37] scan: audio 0x1: AC-3, rate=48000Hz, bitrate=640000 English (AC3) (5.1 ch)
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
[21:39:38] scan: 10 previews, 1920x1080, 24.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[21:39:38] scan: title (0) job->width:1920, job->height:1072
[21:39:38] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: d:\Users\ted\RIPS\GROWN_UPS\Video_2.mkv
  + angle(s) 0
  + duration: 01:42:20
  + size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 24.000 fps
  + autocrop: 0/0/0/0
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:06:12
    + 2: cells 0->0, 0 blocks, duration 00:09:38
    + 3: cells 0->0, 0 blocks, duration 00:05:00
    + 4: cells 0->0, 0 blocks, duration 00:04:13
    + 5: cells 0->0, 0 blocks, duration 00:03:38
    + 6: cells 0->0, 0 blocks, duration 00:08:27
    + 7: cells 0->0, 0 blocks, duration 00:05:47
    + 8: cells 0->0, 0 blocks, duration 00:07:22
    + 9: cells 0->0, 0 blocks, duration 00:04:10
    + 10: cells 0->0, 0 blocks, duration 00:05:48
    + 11: cells 0->0, 0 blocks, duration 00:06:33
    + 12: cells 0->0, 0 blocks, duration 00:05:12
    + 13: cells 0->0, 0 blocks, duration 00:05:24
    + 14: cells 0->0, 0 blocks, duration 00:06:42
    + 15: cells 0->0, 0 blocks, duration 00:06:49
    + 16: cells 0->0, 0 blocks, duration 00:11:18
  + audio tracks:
    + 1, English (AC3) (5.1 ch) (iso639-2: eng), 48000Hz, 640000bps
  + subtitle tracks:
Reading chapter markers from file d:\Users\ted\AppData\Local\Temp\Grown Ups-1-chapters.csv
Invalid sample rate 0, using input rate 48000
Invalid sample rate 0, using input rate 48000
[21:39:38] 1 job(s) to process
[21:39:38] starting job
[21:39:38] sync: expecting 147387 video frames
[21:39:38] job configuration:
[21:39:38]  * source
[21:39:38]    + d:\Users\ted\RIPS\GROWN_UPS\Video_2.mkv
[21:39:38]    + title 1, chapter(s) 1 to 16
[21:39:38]    + container: matroska
[21:39:38]    + data rate: 640 kbps
[21:39:38]  * destination
[21:39:38]    + d:\Users\ted\RIPS\Movies\Grown Ups.m4v
[21:39:38]    + container: MPEG-4 (.mp4 and .m4v)
[21:39:38]      + 64-bit formatting
[21:39:38]      + chapter markers
[21:39:38]  * video track
[21:39:38]    + decoder: h264
[21:39:38]    + frame rate: same as source (around 24.000 fps)
[21:39:38]    + strict anamorphic
[21:39:38]      + storage dimensions: 1920 * 1080 -> 1920 * 1080, crop 0/0/0/0, mod 0
[21:39:38]      + pixel aspect ratio: 1 / 1
[21:39:38]      + display dimensions: 1920 * 1080
[21:39:38]    + encoder: x264
[21:39:38]      + options: b-adapt=2:rc-lookahead=50:no-dct-decimate=1:me=umh:ref=6:bframes=4
[21:39:38]      + quality: 21.00 (RF)
[21:39:38]  * audio track 0
[21:39:38]    + decoder: English (AC3) (5.1 ch) (track 1, id 1)
[21:39:38]      + bitrate: 640 kbps, samplerate: 48000 Hz
[21:39:38]    + mixdown: Dolby Pro Logic II
[21:39:38]    + encoder: faac
[21:39:38]      + bitrate: 320 kbps, samplerate: 48000 Hz
[21:39:38]  * audio track 1
[21:39:38]    + decoder: English (AC3) (5.1 ch) (track 1, id 1)
[21:39:38]      + bitrate: 640 kbps, samplerate: 48000 Hz
[21:39:38]    + AC3 passthrough
[21:39:38] encx264: min-keyint: 24, keyint: 240
[21:39:38] encx264: encoding with stored aspect 1/1
[21:39:38] encx264: Encoding at constant RF 21.000000
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264 [info]: profile High, level 5.0
No accelerated IMDCT transform found
No accelerated IMDCT transform found
[21:39:38] reader: first SCR 0 id 0 DTS 0
[21:53:53] h264: "Chapter 2" (2) at frame 8947 time 33554790
[22:18:59] h264: "Chapter 3" (3) at frame 22809 time 85589280
[22:30:18] h264: "Chapter 4" (4) at frame 30012 time 112627530
[22:40:35] h264: "Chapter 5" (5) at frame 36080 time 135405270
[22:50:17] h264: "Chapter 6" (6) at frame 41312 time 155044890
[23:09:31] h264: "Chapter 7" (7) at frame 53469 time 200679210
[23:24:14] h264: "Chapter 8" (8) at frame 61799 time 231948000
[23:41:59] h264: "Chapter 9" (9) at frame 72401 time 271745190
[23:50:35] h264: "Chapter 10" (10) at frame 78417 time 294327810
[00:04:43] h264: "Chapter 11" (11) at frame 86780 time 325720350
[00:23:20] h264: "Chapter 12" (12) at frame 96208 time 361110780
[00:35:58] h264: "Chapter 13" (13) at frame 103691 time 389200050
[00:48:26] h264: "Chapter 14" (14) at frame 111472 time 418408020
[01:04:16] h264: "Chapter 15" (15) at frame 121118 time 454616640
[01:23:14] h264: "Chapter 16" (16) at frame 130947 time 491512230
[01:45:01] reader: done. 1 scr changes
[01:45:05] work: average encoding speed for job is 9.997239 fps
[01:45:05] sync: got 147215 frames, 147387 expected
[01:45:05] h264-decoder done: 147215 frames, 0 decoder errors, 0 drops
[01:45:05] render: lost time: 0 (0 frames)
[01:45:05] render: gained time: 0 (0 frames) (0 not accounted for)
x264 [info]: frame I:1930  Avg QP:17.44  size:193406  PSNR Mean Y:47.88 U:49.98 V:49.60 Avg:48.42 Global:48.20
x264 [info]: frame P:40380 Avg QP:21.07  size: 47719  PSNR Mean Y:45.69 U:48.44 V:48.16 Avg:46.36 Global:45.80
x264 [info]: frame B:104905 Avg QP:23.72  size: 13454  PSNR Mean Y:45.04 U:48.08 V:47.78 Avg:45.78 Global:45.21
x264 [info]: consecutive B-frames:  1.3%  7.0%  3.2% 85.1%  3.4%
x264 [info]: mb I  I16..4: 11.6% 62.8% 25.7%
x264 [info]: mb P  I16..4:  2.6%  8.4%  1.4%  P16..4: 40.2% 15.4%  8.5%  0.0%  0.0%    skip:23.5%
x264 [info]: mb B  I16..4:  0.3%  1.0%  0.2%  B16..8: 39.4%  4.5%  1.0%  direct: 2.1%  skip:51.6%  L0:42.8% L1:51.1% BI: 6.1%
x264 [info]: 8x8 transform intra:67.1% inter:70.7%
x264 [info]: coded y,uvDC,uvAC intra: 65.5% 80.7% 48.5% inter: 15.8% 22.1% 6.6%
x264 [info]: i16 v,h,dc,p: 28% 27%  8% 37%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 20% 18%  5%  8%  8%  8%  7%  8%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 24% 12%  5%  9%  8%  9%  6%  7%
x264 [info]: i8c dc,h,v,p: 47% 23% 21%  9%
x264 [info]: Weighted P-Frames: Y:1.1%
x264 [info]: ref P L0: 59.8% 12.9% 13.9%  5.0%  4.3%  4.1%  0.1%  0.0%
x264 [info]: ref B L0: 89.8%  5.8%  2.8%  1.0%  0.6%
x264 [info]: ref B L1: 97.0%  3.0%
x264 [info]: SSIM Mean Y:0.9851146 (18.272db)
x264 [info]: PSNR Mean Y:45.253 U:48.201 V:47.911 Avg:45.972 Global:45.389 kb/s:4835.81
[01:45:07] mux: track 0, 147215 frames, 3711458410 bytes, 4835.65 kbps, fifo 32
[01:45:07] mux: track 1, 287821 frames, 235753000 bytes, 307.16 kbps, fifo 256
[01:45:07] mux: track 2, 191880 frames, 491212800 bytes, 640.00 kbps, fifo 256
[01:45:07] libhb: work result = 0
Rip done!
HandBrake has exited.
MPH80
Posts: 2
Joined: Thu Sep 23, 2010 6:49 pm

Re: VERY long encode times for ripped blu-ray

Post by MPH80 »

The movie will probably be in 2.35:1 ratio - meaning there are black bands on the picture - handbrake won't encode those - so the pixel count to encode between the movie and the TV show is different with the movie being lower.

Hence the apparent speed up for movies.

M.
Deleted User 11865

Re: VERY long encode times for ripped blu-ray

Post by Deleted User 11865 »

MPH80 wrote:The movie will probably be in 2.35:1 ratio - meaning there are black bands on the picture - handbrake won't encode those - so the pixel count to encode between the movie and the TV show is different with the movie being lower.

Hence the apparent speed up for movies.

M.
Since he provided the log, you could have checked it ;-)

Both sources (series and movie) are 1920x1080.
TedC wrote:

Code: Select all

[10:51:00]    + encoder: x264
[10:51:00]      + options: b-adapt=2:rc-lookahead=50:no-dct-decimate=1:me=umh:ref=6:bframes=4
[10:51:00]      + quality: 21.00 (RF)

[…]

[15:11:24] mux: track 0, 98390 frames, 5547986900 bytes, 10815.56 kbps, fifo 64
A feature length film (around 2 hours) completes in three hours (perhaps these can't really be compared because of source characteristics and complexity of source - but the movie definitely didn't take as much time as an hour long tv show)

Code: Select all

[21:39:38]    + encoder: x264
[21:39:38]      + options: b-adapt=2:rc-lookahead=50:no-dct-decimate=1:me=umh:ref=6:bframes=4
[21:39:38]      + quality: 21.00 (RF)


[…]

[01:45:07] mux: track 0, 147215 frames, 3711458410 bytes, 4835.65 kbps, fifo 32
10 Mbps is a lot for RF 21. Seems like the TV series is very grainy or something (grainy sources take longer to encode, though the difference is more than I would expect).
Statick
Posts: 19
Joined: Sat Dec 27, 2008 7:42 pm

Re: VERY long encode times for ripped blu-ray

Post by Statick »

as pointed out before, the image size increases enormously from standard-def DVD to 1080p HD, you've got roughly 6 times more data, so it will take roughly 6 times longer, and your resulting file will be about 6 times larger.

also, depending on what you're encoding for, you may decide it's not worth doing at all. at least, i reached this conclusion.

encoding a DVD to h264 makes sense because it's an enormously superior codec when compared to MPEG-2 (used on DVDs), and by re-encoding to h264 you can achieve improvements in filesize on a ratio of about 3:1 with no discernible loss in quality, compared to the original DVD.

if you're going for the "best quality" scenario, like i am, then re-encoding blurays using handbrake makes no sense at all. they're already encoded to h264 (albiet with a few restrictions in place, such as how B-frames can be used) with "best quality" settings. essentially, the process you're intending to do has already been done - so the filesize is already as small as it's going to get without introducing some loss of quality. i re-encoded a few blurays using the same settings i use for DVDs, and on all 3 test cases the filesizes came out within about 3% of the original. in one case it actually came out slightly larger. yes with some proper tweaking you could probably get some greater improvements - i didn't spend a lot of time on it, and clearly settings good for DVDs won't usually be ideal for 1080p HD - but for the time and CPU cycles spent, i don't think you're going to see a significant reduction in filesize without some significant reduction in quality as well - for the simple reason that it's already been encoded in h264 using very high quality settings, so repeating that process won't help anyone.

of course - if you're planning to rip for other formats (and decrease resolution in the process), or you don't mind some loss in quality, then re-encoding obviously makes sense. i'm just pointing out why it's a waste of time in certain circumstances, those being that you want as close to "identical" a rip as possible while saving hard disk space.
Post Reply