Code: Select all
HandBrakeCLI -i "$1" -o "$2" -f mkv -e x264 -q 22 -E faac -B 192 -R 48 --strict-anamorphic -d slow -5 -8 medium
Code: Select all
HandBrake 0.9.5 (2011010300) - Linux i686 - http://handbrake.fr
2 CPUs detected
Opening /data/TVarchives/5081_20110110185900.mpg...
[15:25:49] hb_scan: path=/data/TVarchives/5081_20110110185900.mpg, title_index=1
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening /data/TVarchives/5081_20110110185900.mpg/BDMV/index.bdmv
libbluray/bluray.c:960: nav_get_title_list(/data/TVarchives/5081_20110110185900.mpg) failed (0xb1bb9c0)
[15:25:49] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Using libdvdcss version 1.2.10 for DVD access
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
[15:25:50] dvd: not a dvd - trying as a stream/file instead
[15:25:50] file is MPEG DVD Program Stream
[15:25:51] add_audio_to_title: added AC3 audio stream 0x80bd
[15:25:51] scan: decoding previews for title 1
[15:25:51] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=448000 Unknown (AC3) (5.1 ch)
Scanning title 1...
Scanning title 1...
Scanning title 1...
[15:25:52] scan: 10 previews, 1920x1088, 29.970 fps, autocrop = 0/8/0/0, aspect 1.76:1, PAR 1:1
[15:25:52] scan: title (0) job->width:1920, job->height:1072
[15:25:52] libhb: scan thread found 1 valid title(s)
+ title 1:
+ stream: /data/TVarchives/5081_20110110185900.mpg
+ duration: 01:07:15
+ size: 1920x1088, pixel aspect: 1/1, display aspect: 1.76, 29.970 fps
+ autocrop: 0/8/0/0
+ chapters:
+ 1: cells 0->0, 0 blocks, duration 01:07:15
+ audio tracks:
+ 1, Unknown (AC3) (5.1 ch) (iso639-2: und), 48000Hz, 448000bps
+ subtitle tracks:
+ 1, Closed Captions (iso639-2: und) (Text)(CC)
[15:25:52] 1 job(s) to process
[15:25:52] starting job
[15:25:52] sync: expecting 120980 video frames
[15:25:52] job configuration:
[15:25:52] * source
[15:25:52] + /data/TVarchives/5081_20110110185900.mpg
^MEncoding: task 1 of 1, 0.00 %[15:25:52] + title 1, chapter(s) 1 to 1
[15:25:52] * destination
[15:25:52] + /data/TVarchives/5081_20110110185900.mkv
[15:25:53] + container: Matroska (.mkv)
[15:25:53] * video track
[15:25:53] + decoder: mpeg2
[15:25:53] + bitrate 20000 kbps
^MEncoding: task 1 of 1, 0.00 %[15:25:53] + frame rate: same as source (around 29.970 fps)
[15:25:53] + strict anamorphic
[15:25:53] + storage dimensions: 1920 * 1088 -> 1920 * 1080, crop 0/8/0/0, mod 0
[15:25:53] + pixel aspect ratio: 1 / 1
[15:25:53] + display dimensions: 1920 * 1080
[15:25:53] + filters
[15:25:53] + Decomb (default settings)
^MEncoding: task 1 of 1, 0.00 %[15:25:53] + Deinterlace (ffmpeg or yadif/mcdeint) (default settings)
[15:25:53] + Denoise (hqdn3d) (default settings)
[15:25:53] + encoder: x264
[15:25:53] + quality: 22.00 (RF)
[15:25:53] * audio track 0
[15:25:53] + decoder: Unknown (AC3) (5.1 ch) (track 1, id 80bd)[15:25:53] + bitrate: 448 kbps, samplerate: 48000 Hz
Encoding: task 1 of 1, 0.00 %[15:25:53] + mixdown: Dolby Pro Logic II[15:25:53] + encoder: faac
[15:25:53] + bitrate: 192 kbps, samplerate: 48000 Hz
[15:25:53] reader: first SCR 0 id 224 DTS 31443
[15:25:53] yadif thread started for segment 1
[15:25:53] decomb thread started for segment 1
Encoding: task 1 of 1, 0.00 %
[15:25:53] decomb thread started for segment 0
[15:25:53] yadif thread started for segment 0
[15:25:53] mpeg2: "" (1) at frame 0 time 3003
[15:25:53] encx264: min-keyint: auto (29), keyint: 300
[15:25:54] encx264: encoding with stored aspect 1/1
[15:25:54] encx264: Encoding at constant RF 22.000000
Encoding: task 1 of 1, 0.00 %
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
x264 [info]: profile High, level 4.0No accelerated IMDCT transform found
...
Encoding: task 1 of 1, 100.00 %
[00:02:44] work: average encoding speed for job is 3.914453 fps
[00:02:45] sync: got 121393 frames, 120980 expected
Encoding: task 1 of 1, 100.00 %
[00:02:45] mpeg2 done: 121394 frames
[00:02:45] render: lost time: 0 (0 frames)
[00:02:45] render: gained time: 0 (0 frames) (0 not accounted for)
x264 [info]: frame I:508 Avg QP:19.91 size:145498 PSNR Mean Y:45.84 U:48.95 V:50.58 Avg:46.75 Global:46.37
x264 [info]: frame P:44296 Avg QP:22.93 size: 63789 PSNR Mean Y:43.01 U:46.31 V:48.39 Avg:43.94 Global:43.53
Encoding: task 1 of 1, 100.00 %
x264 [info]: frame B:76588 Avg QP:25.50 size: 21437 PSNR Mean Y:41.85 U:45.50 V:47.94 Avg:42.84 Global:42.44
x264 [info]: consecutive B-frames: 2.3% 31.3% 25.0% 41.5%
x264 [info]: mb I I16..4: 13.3% 76.2% 10.5%
Encoding: task 1 of 1, 100.00 %
x264 [info]: mb P I16..4: 3.3% 7.5% 0.4% P16..4: 51.1% 18.7% 10.2% 0.0% 0.0% skip: 8.8%
x264 [info]: mb B I16..4: 0.4% 0.8% 0.0% B16..8: 44.6% 5.4% 1.1% direct: 7.1% skip:40.5% L0:43.7% L1:46.1% BI:10.2%
x264 [info]: 8x8 transform intra:67.3% inter:83.4%
...
x264 [info]: SSIM Mean Y:0.9808523 (17.179db)
x264 [info]: PSNR Mean Y:42.290 U:45.808 V:48.115 Avg:43.260 Global:42.817 kb/s:8969.49
[00:02:46] mux: track 0, 121392 frames, 4541319007 bytes, 8969.30 kbps, fifo 32
[00:02:46] mux: track 1, 189869 frames, 83597324 bytes, 165.11 kbps, fifo 256
[00:02:46] decomb: deinterlaced 67534 | blended 23456 | unfiltered 30402 | total 121392
Muxing: this may take awhile...[00:02:46] libhb: work result = 0
Rip done!
HandBrake has exited.
Old file size = 6891935748
New file size = 4628649970