DVD -> H.264 CQ62%, very large file results

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Post Reply
edk
Posts: 6
Joined: Thu Mar 19, 2009 5:57 pm

DVD -> H.264 CQ62%, very large file results

Post by edk » Tue Mar 24, 2009 8:12 pm

Hi,

I encoded a DVD following advice found in this topic: http://forum.handbrake.fr/viewtopic.php?f=6&t=8837 (DVD to H264 at full quality with handbrake?)

I was using H.264 with loose anamorphic, CQ set to 62%, film preset, AC3 sound. My command line was:

Code: Select all

-f mkv --crop 71:73:11:5 -P  -e x264 -q 0.62 -a 1 -E ac3 -B 160 -R 0 -6 dpl2 -D 1 -x ref=3:mixed-refs=1:bframes=6:weightb=1:direct=auto:b-pyramid=1:me=umh:subq=9:analyse=all:8x8dct=1:trellis=1:no-fast-pskip=1:psy-rd=1,1 -C 2  -v 
(I left out the long --markers option above.) I set the crop amounts myself so that the resulting dimensions would be multiples of 16. The source was DVD5, the result is a file that is 5.3 GB in size! Mediainfo says the following:

Code: Select all

Format                           : Matroska
File size                        : 5.24 GiB
Duration                         : 2h 43mn
Overall bit rate                 : 4 583 Kbps
Writing application              : HandBrake 0.9.3

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High@L3.0
Format settings, CABAC           : Yes
Format settings, ReFrames        : 3 frames
Muxing mode                      : Container profile=Unknown@3.0
Codec ID                         : V_MPEG4/ISO/AVC
Duration                         : 2h 43mn
Bit rate                         : 4 008 Kbps
Width                            : 704 pixels
Height                           : 432 pixels
Display aspect ratio             : 2.35
Frame rate                       : 25.000 fps
Resolution                       : 24 bits
Colorimetry                      : 4:2:0
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.527
Writing library                  : x264 core 65
Encoding settings                : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=9 / psy_rd=1.0:1.0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-4 / threads=3 / nr=0 / decimate=1 / mbaff=0 / bframes=6 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=3 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=crf / crf=19.4 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00

Audio
ID                               : 2
Format                           : AC-3
Format/Info                      : Audio Coding 3
Codec ID                         : A_AC3
Duration                         : 2h 43mn
Bit rate mode                    : Constant
Bit rate                         : 384 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Surround: L R, LFE
Sampling rate                    : 48.0 KHz
Language                         : English
Why do you think the file is this big? What should I change to make a smaller file (perhaps between 2..3 GB) while retaining quality as close to the source as possible?

nathug
Bright Spark User
Posts: 204
Joined: Fri Apr 11, 2008 10:21 pm

Re: DVD -> H.264 CQ62%, very large file results

Post by nathug » Tue Mar 24, 2009 8:31 pm

It depends what you are playing the files back on to give an acurate answer.

I would recommend using the AppleTV preset and setting that at 62%, this gives a great image. Not quite the same as DVD, but pretty close. At a distance, how much differance can you really see in the end?

Nate

dynaflash
Veteran User
Posts: 3820
Joined: Thu Nov 02, 2006 8:19 pm

Re: DVD -> H.264 CQ62%, very large file results

Post by dynaflash » Tue Mar 24, 2009 8:36 pm

of course, without a complete activity log (which is required btw) its hard to tell, you are almost 3 hrs. running time, if the source is grainy enough or complex it *could* get that high filesize wise.

Without an activity log its very hard to say, so you won't get much help in all likelihood.

edk
Posts: 6
Joined: Thu Mar 19, 2009 5:57 pm

Re: DVD -> H.264 CQ62%, very large file results

Post by edk » Tue Mar 24, 2009 8:40 pm

Sorry that I failed to post the activity log. See below. The file will be played back on a 1360x768 32" LCD TV via a windows HTPC.

Code: Select all

### Windows GUI 0.9.3 2008112300 
### Running: Microsoft Windows NT 5.1.2600 Szervizcsomag 3 
###
### CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ 
### Ram: 2046 MB 
### Screen: 1920x1200 
### Temp Dir: C:\Documents and Settings\edk\Local Settings\Temp\ 
### Install Dir: C:\Program Files\HandBrake 
### Data Dir: C:\Documents and Settings\edk\Application Data\HandBrake\HandBrake\0.9.3.0 
#########################################

### CLI Query:  -i "Z:\VIDEO\DVD\_ACT\Heat" -t 1 -c 1-52 -o "Z:\\Heat-1-1-52.mkv" -f mkv --crop 71:73:11:5 -P  -e x264 -q 0.62 -a 1 -E ac3 -B 160 -R 0 -6 dpl2 -D 1 --markers="C:\Documents and Settings\edk\Local Settings\Temp\Heat-1-chapters.csv" -x ref=3:mixed-refs=1:bframes=6:weightb=1:direct=auto:b-pyramid=1:me=umh:subq=9:analyse=all:8x8dct=1:trellis=1:no-fast-pskip=1:psy-rd=1,1 -C 2  -v 
#########################################
[23:46:02] hb_init: checking cpu count
[23:46:02] hb_init: starting libhb thread
HandBrake 0.9.3 (2008112300) - http://handbrake.fr/
2 CPUs detected
Forcing 2 CPUs
Opening Z:\VIDEO\DVD\_ACT\Heat...
[23:46:02] hb_scan: path=Z:\VIDEO\DVD\_ACT\Heat, title_index=1
[23:46:02] scan: trying to open with libdvdread
[23:46:02] scan: DVD has 1 title(s)
[23:46:02] scan: scanning title 1
[23:46:02] scan: opening IFO for VTS 1
[23:46:03] pgc_id: 1, pgn: 1: pgc: 0x15d37e8
[23:46:03] scan: vts=1, ttn=1, cells=0->51, blocks=0->2238628, 2238629 blocks
[23:46:03] scan: duration is 02:43:35 (9815040 ms)
[23:46:03] scan: checking audio 1
[23:46:03] scan: id=80bd, lang=English (AC3), 3cc=eng ext=0
[23:46:03] scan: checking subtitle 1
[23:46:03] scan: id=20bd, lang=English, 3cc=eng
[23:46:03] scan: checking subtitle 2
[23:46:03] scan: id=21bd, lang=Nederlands, 3cc=nld
[23:46:03] scan: checking subtitle 3
[23:46:03] scan: id=22bd, lang=Svenska, 3cc=swe
[23:46:03] scan: checking subtitle 4
[23:46:03] scan: id=23bd, lang=Norsk, 3cc=nor
[23:46:03] scan: checking subtitle 5
[23:46:03] scan: id=24bd, lang=Dansk, 3cc=dan
[23:46:03] scan: checking subtitle 6
[23:46:03] scan: id=25bd, lang=Suomi, 3cc=fin
[23:46:03] scan: title 1 has 52 chapters
[23:46:03] scan: chap 1 c=0->0, b=0->51744 (51745), 251649 ms
[23:46:03] scan: chap 2 c=1->1, b=51745->88307 (36563), 154302 ms
[23:46:03] scan: chap 3 c=2->2, b=88308->134218 (45911), 176311 ms
[23:46:03] scan: chap 4 c=3->3, b=134219->186557 (52339), 199381 ms
[23:46:03] scan: chap 5 c=4->4, b=186558->202583 (16026), 73115 ms
[23:46:03] scan: chap 6 c=5->5, b=202584->257596 (55013), 200583 ms
[23:46:03] scan: chap 7 c=6->6, b=257597->295186 (37590), 155413 ms
[23:46:03] scan: chap 8 c=7->7, b=295187->352496 (57310), 249507 ms
[23:46:03] scan: chap 9 c=8->8, b=352497->447519 (95023), 379858 ms
[23:46:03] scan: chap 10 c=9->9, b=447520->486404 (38885), 169302 ms
[23:46:03] scan: chap 11 c=10->10, b=486405->525868 (39464), 172345 ms
[23:46:03] scan: chap 12 c=11->11, b=525869->559661 (33793), 165507 ms
[23:46:03] scan: chap 13 c=12->12, b=559662->609862 (50201), 216303 ms
[23:46:03] scan: chap 14 c=13->13, b=609863->673018 (63156), 276402 ms
[23:46:03] scan: chap 15 c=14->14, b=673019->714937 (41919), 153411 ms
[23:46:03] scan: chap 16 c=15->15, b=714938->725132 (10195), 52238 ms
[23:46:03] scan: chap 17 c=16->16, b=725133->760896 (35764), 179235 ms
[23:46:03] scan: chap 18 c=17->17, b=760897->782785 (21889), 121359 ms
[23:46:03] scan: chap 19 c=18->18, b=782786->826727 (43942), 203386 ms
[23:46:03] scan: chap 20 c=19->19, b=826728->855925 (29198), 164225 ms
[23:46:03] scan: chap 21 c=20->20, b=855926->901558 (45633), 228459 ms
[23:46:03] scan: chap 22 c=21->21, b=901559->968447 (66889), 367481 ms
[23:46:03] scan: chap 23 c=22->22, b=968448->999743 (31296), 139262 ms
[23:46:03] scan: chap 24 c=23->23, b=999744->1068113 (68370), 275681 ms
[23:46:03] scan: chap 25 c=24->24, b=1068114->1110530 (42417), 192372 ms
[23:46:03] scan: chap 26 c=25->25, b=1110531->1159295 (48765), 199591 ms
[23:46:03] scan: chap 27 c=26->26, b=1159296->1233672 (74377), 362485 ms
[23:46:03] scan: chap 28 c=27->27, b=1233673->1257532 (23860), 106459 ms
[23:46:03] scan: chap 29 c=28->28, b=1257533->1315596 (58064), 249326 ms
[23:46:03] scan: chap 30 c=29->29, b=1315597->1371781 (56185), 217485 ms
[23:46:03] scan: chap 31 c=30->30, b=1371782->1397113 (25332), 89136 ms
[23:46:03] scan: chap 32 c=31->31, b=1397114->1502380 (105267), 341537 ms
[23:46:03] scan: chap 33 c=32->32, b=1502381->1526224 (23844), 77191 ms
[23:46:03] scan: chap 34 c=33->33, b=1526225->1566268 (40044), 165316 ms
[23:46:03] scan: chap 35 c=34->34, b=1566269->1596088 (29820), 143478 ms
[23:46:03] scan: chap 36 c=35->35, b=1596089->1639892 (43804), 203516 ms
[23:46:03] scan: chap 37 c=36->36, b=1639893->1703150 (63258), 261552 ms
[23:46:03] scan: chap 38 c=37->37, b=1703151->1736290 (33140), 155403 ms
[23:46:03] scan: chap 39 c=38->38, b=1736291->1763038 (26748), 117293 ms
[23:46:03] scan: chap 40 c=39->39, b=1763039->1790204 (27166), 150277 ms
[23:46:03] scan: chap 41 c=40->40, b=1790205->1844786 (54582), 269483 ms
[23:46:03] scan: chap 42 c=41->41, b=1844787->1874370 (29584), 132183 ms
[23:46:03] scan: chap 43 c=42->42, b=1874371->1928083 (53713), 219607 ms
[23:46:03] scan: chap 44 c=43->43, b=1928084->1958402 (30319), 143267 ms
[23:46:03] scan: chap 45 c=44->44, b=1958403->1991920 (33518), 156334 ms
[23:46:03] scan: chap 46 c=45->45, b=1991921->2016683 (24763), 132543 ms
[23:46:03] scan: chap 47 c=46->46, b=2016684->2041398 (24715), 117313 ms
[23:46:03] scan: chap 48 c=47->47, b=2041399->2085902 (44504), 186524 ms
[23:46:03] scan: chap 49 c=48->48, b=2085903->2113338 (27436), 120317 ms
[23:46:03] scan: chap 50 c=49->49, b=2113339->2157100 (43762), 197348 ms
[23:46:03] scan: chap 51 c=50->50, b=2157101->2179305 (22205), 111356 ms
[23:46:03] scan: chap 52 c=51->51, b=2179306->2238628 (59323), 271606 ms
[23:46:03] scan: aspect = 0
[23:46:03] scan: decoding previews for 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...
[23:46:05] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=384000 English (AC3) (5.1 ch)
Scanning title 1...
Scanning title 1...
Scanning title 1...
[23:46:06] scan: content PAR gives wrong aspect 1.78; using container aspect 1.78
[23:46:06] scan: 10 previews, 720x576, 25.000 fps, autocrop = 74/76/10/4, aspect 16:9, PAR 64:45
[23:46:06] scan: title (0) job->width:704, job->height:304
[23:46:06] libhb: scan thread found 1 valid title(s)
+ title 1:
  + vts 1, ttn 1, cells 0->51 (2238629 blocks)
  + duration: 02:43:35
  + size: 720x576, aspect: 1.78, 25.000 fps
  + autocrop: 74/76/10/4
  + chapters:
    + 1: cells 0->0, 51745 blocks, duration 00:04:12
    + 2: cells 1->1, 36563 blocks, duration 00:02:34
    + 3: cells 2->2, 45911 blocks, duration 00:02:56
    + 4: cells 3->3, 52339 blocks, duration 00:03:19
    + 5: cells 4->4, 16026 blocks, duration 00:01:13
    + 6: cells 5->5, 55013 blocks, duration 00:03:21
    + 7: cells 6->6, 37590 blocks, duration 00:02:35
    + 8: cells 7->7, 57310 blocks, duration 00:04:10
    + 9: cells 8->8, 95023 blocks, duration 00:06:20
    + 10: cells 9->9, 38885 blocks, duration 00:02:49
    + 11: cells 10->10, 39464 blocks, duration 00:02:52
    + 12: cells 11->11, 33793 blocks, duration 00:02:46
    + 13: cells 12->12, 50201 blocks, duration 00:03:36
    + 14: cells 13->13, 63156 blocks, duration 00:04:36
    + 15: cells 14->14, 41919 blocks, duration 00:02:33
    + 16: cells 15->15, 10195 blocks, duration 00:00:52
    + 17: cells 16->16, 35764 blocks, duration 00:02:59
    + 18: cells 17->17, 21889 blocks, duration 00:02:01
    + 19: cells 18->18, 43942 blocks, duration 00:03:23
    + 20: cells 19->19, 29198 blocks, duration 00:02:44
    + 21: cells 20->20, 45633 blocks, duration 00:03:48
    + 22: cells 21->21, 66889 blocks, duration 00:06:07
    + 23: cells 22->22, 31296 blocks, duration 00:02:19
    + 24: cells 23->23, 68370 blocks, duration 00:04:36
    + 25: cells 24->24, 42417 blocks, duration 00:03:12
    + 26: cells 25->25, 48765 blocks, duration 00:03:20
    + 27: cells 26->26, 74377 blocks, duration 00:06:02
    + 28: cells 27->27, 23860 blocks, duration 00:01:46
    + 29: cells 28->28, 58064 blocks, duration 00:04:09
    + 30: cells 29->29, 56185 blocks, duration 00:03:37
    + 31: cells 30->30, 25332 blocks, duration 00:01:29
    + 32: cells 31->31, 105267 blocks, duration 00:05:42
    + 33: cells 32->32, 23844 blocks, duration 00:01:17
    + 34: cells 33->33, 40044 blocks, duration 00:02:45
    + 35: cells 34->34, 29820 blocks, duration 00:02:23
    + 36: cells 35->35, 43804 blocks, duration 00:03:24
    + 37: cells 36->36, 63258 blocks, duration 00:04:22
    + 38: cells 37->37, 33140 blocks, duration 00:02:35
    + 39: cells 38->38, 26748 blocks, duration 00:01:57
    + 40: cells 39->39, 27166 blocks, duration 00:02:30
    + 41: cells 40->40, 54582 blocks, duration 00:04:29
    + 42: cells 41->41, 29584 blocks, duration 00:02:12
    + 43: cells 42->42, 53713 blocks, duration 00:03:40
    + 44: cells 43->43, 30319 blocks, duration 00:02:23
    + 45: cells 44->44, 33518 blocks, duration 00:02:36
    + 46: cells 45->45, 24763 blocks, duration 00:02:13
    + 47: cells 46->46, 24715 blocks, duration 00:01:57
    + 48: cells 47->47, 44504 blocks, duration 00:03:07
    + 49: cells 48->48, 27436 blocks, duration 00:02:00
    + 50: cells 49->49, 43762 blocks, duration 00:03:17
    + 51: cells 50->50, 22205 blocks, duration 00:01:51
    + 52: cells 51->51, 59323 blocks, duration 00:04:32
  + audio tracks:
    + 1, English (AC3) (5.1 ch), 48000Hz, 384000bps
  + subtitle tracks:
    + 1, English (iso639-2: eng)
    + 2, Nederlands (iso639-2: nld)
    + 3, Svenska (iso639-2: swe)
    + 4, Norsk (iso639-2: nor)
    + 5, Dansk (iso639-2: dan)
    + 6, Suomi (iso639-2: fin)
Reading chapter markers from file C:\Documents and Settings\edk\Local Settings\Temp\Heat-1-chapters.csv
Invalid sample rate 0, using input rate 48000
[23:46:06] 1 job(s) to process
[23:46:06] starting job
[23:46:06] job configuration:
[23:46:06]  * source
[23:46:06]    + Z:\VIDEO\DVD\_ACT\Heat
[23:46:06]    + title 1, chapter(s) 1 to 52
[23:46:06]  * destination
[23:46:06]    + Z:\\Heat-1-1-52.mkv
[23:46:06]    + container: Matroska (.mkv)
[23:46:06]      + chapter markers
[23:46:06]  * video track
[23:46:06]    + decoder: mpeg2
[23:46:06]      + bitrate 9800 kbps
[23:46:06]    + frame rate: same as source (around 25.000 fps)
[23:46:06]    + loose anamorphic
[23:46:06]      + storage dimensions: 720 * 576 -> 704 * 432, crop 72/74/12/6
[23:46:06]      + pixel aspect ratio: 1025 / 704
[23:46:06]      + display dimensions: 1025 * 432
[23:46:06]    + encoder: x264
[23:46:06]      + options: ref=3:mixed-refs=1:bframes=6:weightb=1:direct=auto:b-pyramid=1:me=umh:subq=9:analyse=all:8x8dct=1:trellis=1:no-fast-pskip=1:psy-rd=1,1
[23:46:06]      + quality: 0.62
[23:46:06]  * audio track 0
[23:46:06]    + decoder: English (AC3) (5.1 ch) (track 1, id 80bd)
[23:46:06]      + bitrate: 384 kbps, samplerate: 48000 Hz
[23:46:06]    + AC3 passthrough
[23:46:06] encx264: encoding with stored aspect 1025/704
[23:46:06] encx264: Encoding at constant RF 19.380000
x264 [info]: using SAR=1025/704
x264 [info]: using cpu capabilities: MMX2 SSE2Slow
x264 [info]: profile High, level 3.0
No accelerated IMDCT transform found
[23:46:06] sync: expecting 245400 video frames
[23:46:09] reader: first SCR 146
[23:46:09] mpeg2: "Chapter 1" (1) at frame 0 time 3600
[23:46:09] sync: first pts is 3600
[23:46:09] sync: audio 0 time went backwards 0 ms, dropped 1 frames (next 112320, current 112320)
[23:46:09] sync: video time didn't advance - dropped 1 frames (delta 36 ms, current 223200, next 223473, dur 273)
[23:55:57] mpeg2: "Chapter 2" (2) at frame 6285 time 22622673
[00:03:28] mpeg2: "Chapter 3" (3) at frame 10157 time 36561873
[00:10:46] mpeg2: "Chapter 4" (4) at frame 14559 time 52409073
[00:19:46] mpeg2: "Chapter 5" (5) at frame 19537 time 70329873
[00:22:51] mpeg2: "Chapter 6" (6) at frame 21382 time 76971873
[00:33:21] mpeg2: "Chapter 7" (7) at frame 26390 time 95000673
[00:40:05] mpeg2: "Chapter 8" (8) at frame 30280 time 109004673
[00:50:49] mpeg2: "Chapter 9" (9) at frame 36529 time 131501073
[01:06:56] mpeg2: "Chapter 10" (10) at frame 46013 time 165643473
[01:13:52] mpeg2: "Chapter 11" (11) at frame 50240 time 180860673
[01:20:19] mpeg2: "Chapter 12" (12) at frame 54543 time 196351473
[01:26:55] mpeg2: "Chapter 13" (13) at frame 58685 time 211262673
[01:36:13] mpeg2: "Chapter 14" (14) at frame 64105 time 230774673
[01:49:56] mpeg2: "Chapter 15" (15) at frame 71006 time 255618273
[01:56:49] mpeg2: "Chapter 16" (16) at frame 74846 time 269442273
[01:58:55] mpeg2: "Chapter 17" (17) at frame 76160 time 274172673
[02:06:40] mpeg2: "Chapter 18" (18) at frame 80635 time 290282673
[02:11:54] mpeg2: "Chapter 19" (19) at frame 83665 time 301190673
[02:21:03] mpeg2: "Chapter 20" (20) at frame 88743 time 319471473
[02:29:38] mpeg2: "Chapter 21" (21) at frame 92853 time 334267473
[02:39:29] mpeg2: "Chapter 22" (22) at frame 98557 time 354801873
[02:55:02] mpeg2: "Chapter 23" (23) at frame 107732 time 387831873
[03:00:21] mpeg2: "Chapter 24" (24) at frame 111209 time 400349073
[03:12:28] mpeg2: "Chapter 25" (25) at frame 118092 time 425127873
[03:20:57] mpeg2: "Chapter 26" (26) at frame 122895 time 442418673
[03:31:36] mpeg2: "Chapter 27" (27) at frame 127888 time 460393473
[03:46:05] mpeg2: "Chapter 28" (28) at frame 136948 time 493009473
[03:50:53] mpeg2: "Chapter 29" (29) at frame 139606 time 502578273
[04:00:54] mpeg2: "Chapter 30" (30) at frame 145831 time 524988273
[04:11:01] mpeg2: "Chapter 31" (31) at frame 151261 time 544536273
[04:15:10] mpeg2: "Chapter 32" (32) at frame 153506 time 552618273
[04:31:58] mpeg2: "Chapter 33" (33) at frame 162043 time 583351473
[04:35:50] mpeg2: "Chapter 34" (34) at frame 163980 time 590324673
[04:42:29] mpeg2: "Chapter 35" (35) at frame 168127 time 605253873
[04:49:18] mpeg2: "Chapter 36" (36) at frame 171719 time 618185073
[04:59:07] mpeg2: "Chapter 37" (37) at frame 176810 time 636512673
[05:11:30] mpeg2: "Chapter 38" (38) at frame 183350 time 660056673
[05:18:28] mpeg2: "Chapter 39" (39) at frame 187230 time 674024673
[05:23:15] mpeg2: "Chapter 40" (40) at frame 190178 time 684637473
[05:29:35] mpeg2: "Chapter 41" (41) at frame 193930 time 698144673
[05:41:58] mpeg2: "Chapter 42" (42) at frame 200668 time 722401473
[05:47:24] mpeg2: "Chapter 43" (43) at frame 203978 time 734317473
[05:58:08] mpeg2: "Chapter 44" (44) at frame 209461 time 754056273
[06:05:19] mpeg2: "Chapter 45" (45) at frame 213038 time 766933473
[06:12:30] mpeg2: "Chapter 46" (46) at frame 216951 time 781020273
[06:18:05] mpeg2: "Chapter 47" (47) at frame 220270 time 792968673
[06:23:40] mpeg2: "Chapter 48" (48) at frame 223199 time 803513073
[06:33:09] mpeg2: "Chapter 49" (49) at frame 227856 time 820278273
[06:39:02] mpeg2: "Chapter 50" (50) at frame 230860 time 831092673
[06:49:01] mpeg2: "Chapter 51" (51) at frame 235797 time 848865873
[06:54:14] sync: audio 0 time went backwards 0 ms, dropped 1 frames (next 858527553, current 858527553)
[06:54:14] sync: video time didn't advance - dropped 2 frames (delta 58 ms, current 858690273, next 858692209, dur 1936)
[06:54:15] sync: audio 0 time went backwards 0 ms, dropped 1 frames (next 858633671, current 858633671)
[06:54:15] sync: audio 0 time went backwards 0 ms, dropped 1 frames (next 858666122, current 858666122)
[06:54:15] mpeg2: "Chapter 52" (52) at frame 238587 time 858901009
[07:00:00] sync: audio 0 time went backwards 0 ms, dropped 1 frames (next 882866209, current 882866209)
[07:00:00] sync: audio 0 time went backwards 0 ms, dropped 1 frames (next 882961963, current 882961963)
[07:00:00] sync: audio 0 time went backwards 0 ms, dropped 1 frames (next 883030674, current 883030674)
[07:00:01] sync: audio 0 time went backwards 0 ms, dropped 1 frames (next 883113634, current 883113634)
[07:00:01] reader: done. 33 scr changes
[07:00:01] sync: audio 0 time went backwards 0 ms, dropped 1 frames (next 883217505, current 883217505)
[07:00:01] sync: audio 0 time went backwards 0 ms, dropped 1 frames (next 883324352, current 883324352)
[07:00:01] sync: got 245372 frames, 245400 expected
[07:00:01] work: average encoding speed for job is 9.424363 fps
[07:00:01] mpeg2 done: 245376 frames
[07:00:01] render: lost time: 0 (0 frames)
[07:00:01] render: gained time: 0 (0 frames) (0 not accounted for)
x264 [info]: slice I:2798  Avg QP:15.46  size: 42498  PSNR Mean Y:44.65 U:52.88 V:53.51 Avg:46.08 Global:45.43
x264 [info]: slice P:126889 Avg QP:16.92  size: 28691  PSNR Mean Y:44.81 U:50.70 V:51.32 Avg:46.04 Global:45.23
x264 [info]: slice B:115685 Avg QP:19.43  size: 11973  PSNR Mean Y:43.62 U:49.56 V:50.26 Avg:44.83 Global:44.02
x264 [info]: consecutive B-frames: 22.7% 36.2% 19.9% 12.9%  7.3%  0.8%  0.2%
x264 [info]: mb I  I16..4:  8.8% 68.7% 22.5%
x264 [info]: mb P  I16..4:  1.5% 19.0%  2.6%  P16..4: 29.5% 27.8% 16.9%  0.7%  1.0%    skip: 1.1%
x264 [info]: mb B  I16..4:  0.2%  1.2%  0.1%  B16..8: 42.0%  3.6%  6.1%  direct:12.3%  skip:34.5%  L0:33.2% L1:31.2% BI:35.6%
x264 [info]: 8x8 transform  intra:81.3%  inter:54.5%
x264 [info]: direct mvs  spatial:100.0%  temporal:0.0%
x264 [info]: ref P L0  57.5% 25.9% 16.6%
x264 [info]: ref B L0  75.5% 24.5%
x264 [info]: ref B L1  92.9%  7.1%
x264 [info]: SSIM Mean Y:0.9770298
x264 [info]: PSNR Mean Y:44.246 U:50.185 V:50.844 Avg:45.471 Global:44.619 kb/s:4193.27
[07:00:01] libhb: work result = 0
Rip done!

 ############ End of Log ############## 

dynaflash
Veteran User
Posts: 3820
Joined: Thu Nov 02, 2006 8:19 pm

Re: DVD -> H.264 CQ62%, very large file results

Post by dynaflash » Tue Mar 24, 2009 8:46 pm

Heat is very grainy and very long, I have it on my appletv. that file size seems a touch high, but I would try
the atv preset at 62% and something like

Code: Select all

ref=3:mixed-refs=1:bframes=3:direct=auto:no-fast-pskip=1:me=umh:subq=7:analyse=all:b-adapt=2:8x8dct=1
which put me right around 3.18 GB ( the opts when I did that were slightly different, but those should get you there) and see how you like the look.
Oh, and loose anamorphic (which gets set when you use the AppleTV preset) if you want matroska then just switch the container (format).

Edit: oh, and excellent movie btw. :)

jzietman
Regular User
Posts: 146
Joined: Mon Feb 04, 2008 3:29 pm

Re: DVD -> H.264 CQ62%, very large file results

Post by jzietman » Tue Mar 24, 2009 9:09 pm

If even 3 GB is too large for comfort, you could consider dropping the CQ value down a point or two. With all that grain, it might not make too much of a difference.

TedJ
Veteran User
Posts: 5388
Joined: Wed Feb 20, 2008 11:25 pm

Re: DVD -> H.264 CQ62%, very large file results

Post by TedJ » Tue Mar 24, 2009 9:57 pm

Another problem is the excessive psy-trellis used in some of the 0.9.3 presets... consensus seems to say that it should be "psy-rd=1,0.2".

edk
Posts: 6
Joined: Thu Mar 19, 2009 5:57 pm

Re: DVD -> H.264 CQ62%, very large file results

Post by edk » Tue Mar 24, 2009 10:33 pm

Thank you for the suggestions. I'll make test encodes using them and report my findings.

edk
Posts: 6
Joined: Thu Mar 19, 2009 5:57 pm

Re: DVD -> H.264 CQ62%, very large file results

Post by edk » Wed Mar 25, 2009 8:41 pm

Hi,

I made an encode with the following settings.

I started with the appletv presets, set crop so that the result would not be resized, reduced CQ to 59% and changed/added the advanced settings according to what dynaflash wrote:

Code: Select all

--crop 71:73:11:5 -P  -e x264 -q 0.59 -a 1 -E ac3 -B 160 -R 48 -6 dpl2 -D 1 -x level=30:cabac=0:ref=3:mixed-refs=1:bframes=3:weightb=1:direct=auto:no-fast-pskip=1:me=umh:subq=7:analyse=all:b-adapt=2:8x8dct=1 -C 2  -v 
The result is a 2.3 GB file that even looks a little better (smoother) than the first attempt. Seems that I'll have to delve deeper into x.264 options if I want to make quality encodes!

Thanks again.

dynaflash
Veteran User
Posts: 3820
Joined: Thu Nov 02, 2006 8:19 pm

Re: DVD -> H.264 CQ62%, very large file results

Post by dynaflash » Thu Mar 26, 2009 7:33 pm

when it comes to x264 its all about the options. :)

Post Reply