Encoding for A4 devices (iPad, iPhone 4, tv 2)

Discuss encoding for devices and presets.
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.
bucket2233
Posts: 12
Joined: Fri Dec 31, 2010 10:52 pm

Re: Encoding for A4 devices (iPad, iPhone 4, tv 2)

Post by bucket2233 »

where do i find the encoding log?

Actually, forget it, I found it but I believe it was deleted. I suppose I will have to encode again with the same settings and then post the log tomorrow.
User avatar
Rodeo
HandBrake Team
Posts: 12619
Joined: Tue Mar 03, 2009 8:55 pm

Re: Encoding for A4 devices (iPad, iPhone 4, tv 2)

Post by Rodeo »

bucket2233
Posts: 12
Joined: Fri Dec 31, 2010 10:52 pm

Re: Encoding for A4 devices (iPad, iPhone 4, tv 2)

Post by bucket2233 »

Code: Select all

HandBrake Activity Log for /Volumes/Public/iTunes/Movies/Bad Santa.m4v: 2011-01-02 07:32:05 -0500
Handbrake Version: svn3720 i386 (2010123101)

[07:32:05] macgui: getNextPendingQueueIndex next pending encode index is:1
[07:32:05] macgui: incrementQueueItemDone new pending items found: 1
[07:32:05] macgui: scanning specifically for title: 1
[07:32:05] hb_scan: path=/Users/bucket2269/Desktop/BAD SANTA/title02.mkv, title_index=1
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening /Users/bucket2269/Desktop/BAD SANTA/title02.mkv/BDMV/index.bdmv
libbluray/bluray.c:960: nav_get_title_list(/Users/bucket2269/Desktop/BAD SANTA/title02.mkv) failed (0x1989800)
[07:32:07] 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
[07:32:07] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/Users/bucket2269/Desktop/BAD SANTA/title02.mkv':
  Duration: 01:39:16.41, start: 0.000000, bitrate: 5248 kb/s
    Chapter #0.0: start 0.000000, end 451.325867
    Metadata:
      title           : Chapter 00
    Chapter #0.1: start 451.325867, end 722.722000
    Metadata:
      title           : Chapter 01
    Chapter #0.2: start 722.722000, end 969.927289
    Metadata:
      title           : Chapter 02
    Chapter #0.3: start 969.927289, end 1175.424244
    Metadata:
      title           : Chapter 03
    Chapter #0.4: start 1175.424244, end 1413.537111
    Metadata:
      title           : Chapter 04
    Chapter #0.5: start 1413.537111, end 1689.354333
    Metadata:
      title           : Chapter 05
    Chapter #0.6: start 1689.354333, end 1901.566333
    Metadata:
      title           : Chapter 06
    Chapter #0.7: start 1901.566333, end 2230.895333
    Metadata:
      title           : Chapter 07
    Chapter #0.8: start 2230.895333, end 2676.131778
    Metadata:
      title           : Chapter 08
    Chapter #0.9: start 2676.131778, end 2927.299356
    Metadata:
      title           : Chapter 09
    Chapter #0.10: start 2927.299356, end 3202.407533
    Metadata:
      title           : Chapter 10
    Chapter #0.11: start 3202.407533, end 3523.311444
    Metadata:
      title           : Chapter 11
    Chapter #0.12: start 3523.311444, end 3843.464622
    Metadata:
      title           : Chapter 12
    Chapter #0.13: start 3843.464622, end 4156.944444
    Metadata:
      title           : Chapter 13
    Chapter #0.14: start 4156.944444, end 4567.729822
    Metadata:
      title           : Chapter 14
    Chapter #0.15: start 4567.729822, end 4919.080822
    Metadata:
      title           : Chapter 15
    Chapter #0.16: start 4919.080822, end 5228.014444
    Metadata:
      title           : Chapter 16
    Chapter #0.17: start 5228.014444, end 5702.113067
    Metadata:
      title           : Chapter 17
    Chapter #0.18: start 5702.113067, end 5956.416000
    Metadata:
      title           : Chapter 18
    Stream #0.0(eng): Video: vc1, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc
    Stream #0.1(eng): Audio: pcm_s16le, 48000 Hz, 5.1, s16, 4608 kb/s
    Metadata:
      title           : 3/2+1
    Stream #0.2(eng): Audio: ac3, 48000 Hz, 5.1, s16, 640 kb/s
    Metadata:
      title           : 3/2+1
    Stream #0.3(eng): Subtitle: pgssub
[07:32:09] add_ffmpeg_subtitle: unknown subtitle stream type: 0x17006
[07:32:09] scan: decoding previews for title 1
[07:32:09] scan: audio 0x2: AC-3, rate=48000Hz, bitrate=640000 English (AC3) (5.1 ch)
[07:32:11] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 20/20/2/2, aspect 16:9, PAR 1:1
[07:32:11] scan: title (0) job->width:1920, job->height:1040
[07:32:11] libhb: scan thread found 1 valid title(s)
[07:32:12] macgui: ScanDone state received from fQueueEncodeLibhb
[07:32:12] macgui: Preset: Blu-Ray
[07:32:12] macgui: processNewQueueEncode number of passes expected is: 1
[07:32:12] macgui: Start / Stop set to chapters
[07:32:12] macgui: prepareJob exiting
[07:32:12] 1 job(s) to process
[07:32:12] starting job
[07:32:12] Multiple decodes of audio id 1, removing track 2
[07:32:12] sync: expecting 142835 video frames
[07:32:12] job configuration:
[07:32:12]  * source
[07:32:12]    + /Users/bucket2269/Desktop/BAD SANTA/title02.mkv
[07:32:12]    + title 1, chapter(s) 1 to 19
[07:32:12]    + container: matroska,webm
[07:32:12]    + data rate: 5248 kbps
[07:32:12]  * destination
[07:32:12]    + /Volumes/Public/iTunes/Movies/Bad Santa.m4v
[07:32:12]    + container: MPEG-4 (.mp4 and .m4v)
[07:32:12]      + 64-bit formatting
[07:32:12]      + chapter markers
[07:32:12]  * video track
[07:32:12]    + decoder: vc1
[07:32:12]    + frame rate: 23.976 fps -> peak rate limited to 29.970 fps
[07:32:12]    + dimensions: 1920 * 1080 -> 1920 * 1040, crop 20/20/2/2, mod 16
[07:32:12]    + encoder: x264
[07:32:12]      + quality: 21.00 (RF)
[07:32:12]  * audio track 0
[07:32:12]    + decoder: English (PCM_S16) (5.1 ch) (track 1, id 1)
[07:32:12]    + mixdown: Dolby Pro Logic II
[07:32:12]    + encoder: ca_aac
[07:32:12]      + bitrate: 160 kbps, samplerate: 48000 Hz
[07:32:12] encx264: min-keyint: auto (29), keyint: 300
[07:32:12] encx264: Encoding at constant RF 21.000000
[07:32:12] reader: first SCR 0 id 1 DTS 0
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
x264 [info]: profile High, level 4.0
[08:14:13] vc1: "Chapter 01" (2) at frame 10830 time 40623030
[08:41:09] vc1: "Chapter 02" (3) at frame 17336 time 65044980
[09:05:25] vc1: "Chapter 03" (4) at frame 23264 time 87297210
[09:28:38] vc1: "Chapter 04" (5) at frame 28191 time 105791850
[09:55:27] vc1: "Chapter 05" (6) at frame 33900 time 127222020
[10:21:15] vc1: "Chapter 06" (7) at frame 40513 time 152045640
[10:40:24] vc1: "Chapter 07" (8) at frame 45601 time 171144720
[11:12:03] vc1: "Chapter 08" (9) at frame 53497 time 200784330
[11:54:20] vc1: "Chapter 09" (10) at frame 64172 time 240855570
[12:18:44] vc1: "Chapter 10" (11) at frame 70194 time 263460690
[12:43:22] vc1: "Chapter 11" (12) at frame 76790 time 288220410
[13:32:37] vc1: "Chapter 12" (13) at frame 84484 time 317101770
[14:04:05] vc1: "Chapter 13" (14) at frame 92160 time 345915540
[14:35:38] vc1: "Chapter 14" (15) at frame 99676 time 374128740
[15:16:25] vc1: "Chapter 15" (16) at frame 109525 time 411099390
[15:51:02] vc1: "Chapter 16" (17) at frame 117949 time 442720980
[16:23:43] vc1: "Chapter 17" (18) at frame 125356 time 470525040
[17:13:04] vc1: "Chapter 18" (19) at frame 136723 time 513193860
[17:22:00] reader: done. 1 scr changes
[17:22:06] work: average encoding speed for job is 4.128396 fps
[17:22:06] sync: got 142811 frames, 142835 expected
[17:22:06] vc1-decoder done: 142811 frames, 0 decoder errors, 0 drops
[17:22:06] render: 142811 frames output, 0 dropped and 0 duped for CFR/PFR
[17:22:06] render: lost time: 0 (0 frames)
[17:22:06] render: gained time: 0 (0 frames) (0 not accounted for)
x264 [info]: frame I:1819  Avg QP:18.69  size:113296  PSNR Mean Y:46.96 U:52.27 V:52.24 Avg:48.05 Global:47.77
x264 [info]: frame P:75412 Avg QP:21.40  size: 31059  PSNR Mean Y:45.16 U:51.07 V:51.08 Avg:46.28 Global:45.93
x264 [info]: frame B:65580 Avg QP:23.39  size: 11434  PSNR Mean Y:44.47 U:53.06 V:53.04 Avg:45.67 Global:45.08
x264 [info]: consecutive B-frames: 20.1% 51.0%  8.1% 20.8%
x264 [info]: mb I  I16..4:  9.2% 79.1% 11.8%
x264 [info]: mb P  I16..4:  0.9%  3.6%  0.3%  P16..4: 51.5% 12.2%  7.9%  0.0%  0.0%    skip:23.5%
x264 [info]: mb B  I16..4:  0.0%  0.2%  0.0%  B16..8: 47.7%  2.3%  0.3%  direct: 1.5%  skip:47.9%  L0:40.7% L1:56.4% BI: 2.9%
x264 [info]: 8x8 transform intra:76.3% inter:80.2%
x264 [info]: coded y,uvDC,uvAC intra: 71.4% 64.9% 20.3% inter: 22.0% 25.7% 0.2%
x264 [info]: i16 v,h,dc,p: 38% 14%  9% 38%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 13% 23%  6%  9%  9%  8%  8%  7%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 17% 16%  6% 10%  9%  8%  6%  5%
x264 [info]: i8c dc,h,v,p: 53% 18% 22%  7%
x264 [info]: Weighted P-Frames: Y:1.2% UV:0.7%
x264 [info]: ref P L0: 62.5% 11.9% 17.8%  7.8%  0.1%
x264 [info]: ref B L0: 83.0% 15.6%  1.4%
x264 [info]: ref B L1: 97.3%  2.7%
x264 [info]: SSIM Mean Y:0.9778045 (16.537db)
x264 [info]: PSNR Mean Y:44.863 U:51.999 V:51.995 Avg:46.023 Global:45.536 kb/s:4429.66
[17:22:10] pcm_s16le-decoder done: 0 frames, 0 decoder errors, 0 drops
[17:22:13] mux: track 0, 142811 frames, 3298046837 bytes, 4429.57 kbps, fifo 8
[17:22:13] mux: track 1, 279207 frames, 122338779 bytes, 164.31 kbps, fifo 512
[17:22:13] libhb: work result = 0
I don't know what specifically you need as to my network set-up, but I have never had a problem streaming to my Apple TV 2 with HD video purchased on iTunes before.
mduell
Veteran User
Posts: 7258
Joined: Sat Apr 21, 2007 8:54 pm

Re: Encoding for A4 devices (iPad, iPhone 4, tv 2)

Post by mduell »

bucket2233 wrote:I used the ATV2 preset with RF=21 to encode a Blu-ray, but the video is stuttering/choppy. What setting(s) do I or should I change to adjust this?
bucket2233 wrote:

Code: Select all

[07:32:12]    + dimensions: 1920 * 1080 -> 1920 * 1040, crop 20/20/2/2, mod 16
Uhh one other really important (and dumb) change you made. Put the width back to 1280 and it should be nice and smooth.
TedJ
Veteran User
Posts: 5388
Joined: Wed Feb 20, 2008 11:25 pm

Re: Encoding for A4 devices (iPad, iPhone 4, tv 2)

Post by TedJ »

+1

As has been covered numerous times in this thread and elsewhere on this forum, the ATV2 will only output 720p video and it doesn't quite have the horsepower to downscale 1080p video in realtime, causing stuttering and dropped frames.
bucket2233
Posts: 12
Joined: Fri Dec 31, 2010 10:52 pm

Re: Encoding for A4 devices (iPad, iPhone 4, tv 2)

Post by bucket2233 »

Code: Select all

HandBrake Activity Log for /Volumes/Public/iTunes/Movies/The Hangover.m4v: 2011-01-03 06:03:12 -0500
Handbrake Version: 0.9.4 x86_64 (2009112300)

[06:03:12] macgui: incrementQueueItemDone currentQueueEncodeIndex is incremented to: 1
[06:03:12] macgui: incrementQueueItemDone currentQueueEncodeIndex is incremented to: 1
[06:03:12] macgui: scanning specifically for title: 1
[06:03:12] macgui: performNewQueueScan currentQueueEncodeIndex is: 1
[06:03:12] hb_scan: path=/Users/bucket2269/Desktop/HANGOVER/title01.mkv, title_index=1
[06:03:12] scan: trying to open with libdvdread
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
[06:03:12] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska, from '/Users/bucket2269/Desktop/HANGOVER/title01.mkv':
  Duration: 01:47:54.49, start: 0.000000, bitrate: N/A
    Stream #0.0(eng): Video: vc1, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 23.98 tbr, 1k tbn, 23.98 tbc
    Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, s16
    Stream #0.2(fra): Audio: ac3, 48000 Hz, 5.1, s16
    Stream #0.3(eng): Subtitle: 0x0000
    Stream #0.4(fra): Subtitle: 0x0000
    Stream #0.5(spa): Subtitle: 0x0000
    Stream #0.6(por): Subtitle: 0x0000
[06:03:13] scan: decoding previews for title 1
[06:03:13] scan: audio 0x1: AC-3, rate=48000Hz, bitrate=640000 English (AC3) (5.1 ch)
[06:03:13] scan: audio 0x2: AC-3, rate=48000Hz, bitrate=640000 Francais (AC3) (5.1 ch)
[06:03:15] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 140/140/0/0, aspect 16:9, PAR 1:1
[06:03:15] scan: title (0) job->width:1920, job->height:800
[06:03:15] libhb: scan thread found 1 valid title(s)
[06:03:15] macgui: ScanDone state received from fQueueEncodeLibhb
[06:03:15] macgui: Preset: Custom
[06:03:15] macgui: processNewQueueEncode number of passes expected is: 1
[06:03:15] macgui: prepareJob audiotrack 2 is: 0
[06:03:15] macgui: prepareJob exiting
[06:03:15] 1 job(s) to process
[06:03:15] starting job
[06:03:15] job configuration:
[06:03:15]  * source
[06:03:15]    + /Users/bucket2269/Desktop/HANGOVER/title01.mkv
[06:03:15]    + title 1, chapter(s) 1 to 24
[06:03:15]    + container: matroska
[06:03:15]  * destination
[06:03:15]    + /Volumes/Public/iTunes/Movies/The Hangover.m4v
[06:03:15]    + container: MPEG-4 (.mp4 and .m4v)
[06:03:15]      + 64-bit formatting
[06:03:15]      + chapter markers
[06:03:15]  * video track
[06:03:15]    + decoder: vc1
[06:03:15]    + frame rate: 23.976 fps -> constant 29.970 fps
[06:03:15]    + loose anamorphic
[06:03:15]      + modulus: 0
[06:03:15]      + storage dimensions: 1920 * 1080 -> 1280 * 528, crop 140/140/0/0
[06:03:15]      + pixel aspect ratio: 1267 / 1280
[06:03:15]      + display dimensions: 1267 * 528
[06:03:15]    + encoder: x264
[06:03:15]      + quality: 21.00 (RF)
[06:03:15]  * audio track 0
[06:03:15]    + decoder: English (AC3) (5.1 ch) (track 1, id 1)
[06:03:15]      + bitrate: 640 kbps, samplerate: 48000 Hz
[06:03:15]    + mixdown: Dolby Pro Logic II
[06:03:15]    + encoder: ca_aac
[06:03:15]      + bitrate: 160 kbps, samplerate: 48000 Hz
[06:03:15]  * audio track 1
[06:03:15]    + decoder: English (AC3) (5.1 ch) (track 1, id 1)
[06:03:15]      + bitrate: 640 kbps, samplerate: 48000 Hz
[06:03:15]    + AC3 passthrough
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
[06:03:15] dvd: not a dvd - trying as a stream/file instead
[06:03:15] reader: first SCR 0 id 1 DTS 0
[06:03:15] encx264: keyint-min: 30, keyint-max: 300
[06:03:15] encx264: encoding with stored aspect 1267/1280
[06:03:15] encx264: Encoding at constant RF 21.000000
x264 [info]: using SAR=1267/1280
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
x264 [info]: profile High, level 3.1
No accelerated IMDCT transform found
No accelerated IMDCT transform found
[06:03:16] sync: expecting 155256 video frames
[06:11:30] vc1: "Chapter 01" (2) at frame 5365 time 20108790
[06:30:10] vc1: "Chapter 02" (3) at frame 17243 time 64695870
[06:42:45] vc1: "Chapter 03" (4) at frame 24320 time 91261170
[06:57:04] vc1: "Chapter 04" (5) at frame 33242 time 124752060
[07:07:01] vc1: "Chapter 05" (6) at frame 39457 time 148081680
[07:21:50] vc1: "Chapter 06" (7) at frame 48432 time 181771560
[07:35:06] vc1: "Chapter 07" (8) at frame 55712 time 209098890
[07:42:57] vc1: "Chapter 08" (9) at frame 60034 time 225322560
[07:51:25] vc1: "Chapter 09" (10) at frame 64684 time 242777520
[08:00:23] vc1: "Chapter 10" (11) at frame 69352 time 260299980
[08:12:28] vc1: "Chapter 11" (12) at frame 76156 time 285840540
[08:24:25] vc1: "Chapter 12" (13) at frame 82711 time 310446360
[08:39:32] vc1: "Chapter 13" (14) at frame 90858 time 341028180
[08:47:42] vc1: "Chapter 14" (15) at frame 95672 time 359098740
[09:01:06] vc1: "Chapter 15" (16) at frame 103205 time 387375660
[09:06:42] vc1: "Chapter 16" (17) at frame 106795 time 400851630
[09:16:41] vc1: "Chapter 17" (18) at frame 113375 time 425551320
[09:27:15] vc1: "Chapter 18" (19) at frame 118928 time 446395950
[09:43:30] vc1: "Chapter 19" (20) at frame 127946 time 480247200
[09:52:14] vc1: "Chapter 20" (21) at frame 132499 time 497338020
[10:04:22] vc1: "Chapter 21" (22) at frame 139010 time 521778690
[10:10:33] vc1: "Chapter 22" (23) at frame 142524 time 534969360
[10:19:12] vc1: "Chapter 23" (24) at frame 148181 time 556204320
[10:25:25] reader: done. 1 scr changes
[10:25:37] sync: got 155208 frames, 155256 expected
[10:25:37] work: average encoding speed for job is 9.859870 fps
[10:25:39] mux: track 0, 194010 frames, 1742612388 bytes, 2153.20 kbps, fifo 64
[10:25:39] mux: track 1, 303492 frames, 130425991 bytes, 161.16 kbps, fifo 1024
[10:25:39] mux: track 2, 202328 frames, 517959680 bytes, 640.00 kbps, fifo 512
[10:25:39] vc1-decoder done: 155209 frames, 0 decoder errors, 0 drops
[10:25:39] render: 194010 frames output, 0 dropped and 38802 duped for CFR/PFR
[10:25:39] render: lost time: 0 (0 frames)
[10:25:39] render: gained time: 0 (0 frames) (0 not accounted for)
x264 [info]: frame I:1884  Avg QP:18.24  size: 71090  PSNR Mean Y:45.57 U:49.55 V:50.42 Avg:46.54 Global:46.12
x264 [info]: frame P:107576 Avg QP:21.36  size: 12090  PSNR Mean Y:43.16 U:48.13 V:48.97 Avg:44.24 Global:43.85
x264 [info]: frame B:84550 Avg QP:24.26  size:  3645  PSNR Mean Y:42.69 U:48.63 V:49.50 Avg:43.81 Global:43.28
x264 [info]: consecutive B-frames: 29.7% 28.8% 18.7% 22.9%
x264 [info]: mb I  I16..4:  8.8% 70.4% 20.8%
x264 [info]: mb P  I16..4:  0.5%  3.3%  0.6%  P16..4: 34.1% 13.1%  9.2%  0.0%  0.0%    skip:39.1%
x264 [info]: mb B  I16..4:  0.0%  0.3%  0.1%  B16..8: 43.6%  0.8%  1.2%  direct: 1.4%  skip:52.6%  L0:40.1% L1:54.5% BI: 5.4%
x264 [info]: 8x8 transform intra:72.6% inter:72.8%
x264 [info]: coded y,uvDC,uvAC intra: 78.1% 75.3% 40.6% inter: 17.9% 17.6% 0.7%
x264 [info]: i16 v,h,dc,p: 39% 18%  6% 37%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 14% 19%  7%  9% 10%  9%  9%  8%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 17% 13%  6% 10% 10%  9%  7%  6%
x264 [info]: Weighted P-Frames: Y:0.9%
x264 [info]: ref P L0: 64.6% 10.3% 18.3%  6.6%  0.2%
x264 [info]: ref B L0: 83.3% 16.7%
x264 [info]: SSIM Mean Y:0.9752772
x264 [info]: PSNR Mean Y:42.982 U:48.358 V:49.213 Avg:44.076 Global:43.611 kb/s:2153.65
[10:25:39] libhb: work result = 0

Code: Select all

HandBrake Activity Log for /Volumes/Public/iTunes/Movies/Analyze That.m4v: 2011-01-03 15:58:44 -0500
Handbrake Version: 0.9.4 x86_64 (2009112300)

[15:58:44] sync: got 172032 frames, 219004 expected
[15:58:44] work: average encoding speed for job is 0.000000 fps
[15:58:44] reader: done. 1 scr changes
[15:58:44] macgui: doCancelCurrentJob currentQueueEncodeIndex is incremented to: 3
[15:58:44] macgui: doCancelCurrentJob moving to the next job
[15:58:44] macgui: scanning specifically for title: 1
[15:58:44] macgui: performNewQueueScan currentQueueEncodeIndex is: 3
[15:58:44] hb_scan: path=/dev/disk1, title_index=1
[15:58:44] scan: trying to open with libdvdread
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Using libdvdcss version 1.2.10 for DVD access
[15:58:46] mux: track 0, 214967 frames, 1907405514 bytes, 2127.37 kbps, fifo 32
[15:58:46] mux: track 1, 336225 frames, 146607464 bytes, 163.51 kbps, fifo 1024
[15:58:46] mux: track 2, 224150 frames, 573824000 bytes, 640.00 kbps, fifo 512
[15:58:46] vc1-decoder done: 172057 frames, 0 decoder errors, 0 drops
[15:58:46] render: 215036 frames output, 0 dropped and 43007 duped for CFR/PFR
[15:58:46] render: lost time: 0 (0 frames)
[15:58:46] render: gained time: 0 (0 frames) (0 not accounted for)
x264 [info]: frame I:2305  Avg QP:17.69  size: 56397  PSNR Mean Y:45.97 U:50.35 V:51.29 Avg:47.04 Global:46.54
x264 [info]: frame P:137525 Avg QP:20.94  size: 10863  PSNR Mean Y:43.89 U:48.83 V:49.66 Avg:45.01 Global:44.39
x264 [info]: frame B:75154 Avg QP:23.46  size:  3776  PSNR Mean Y:42.52 U:48.49 V:49.31 Avg:43.76 Global:43.14
x264 [info]: consecutive B-frames: 42.6% 27.3% 10.8% 19.3%
x264 [info]: mb I  I16..4: 14.7% 65.6% 19.7%
x264 [info]: mb P  I16..4:  1.0%  3.7%  0.7%  P16..4: 33.2% 10.5%  7.9%  0.0%  0.0%    skip:42.9%
x264 [info]: mb B  I16..4:  0.1%  0.3%  0.1%  B16..8: 46.3%  0.7%  1.1%  direct: 1.4%  skip:50.1%  L0:41.3% L1:54.0% BI: 4.7%
x264 [info]: 8x8 transform intra:67.4% inter:74.9%
x264 [info]: coded y,uvDC,uvAC intra: 66.6% 66.7% 31.4% inter: 16.1% 15.2% 0.7%
x264 [info]: i16 v,h,dc,p: 43% 16%  6% 34%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 14% 23%  6%  8%  9%  8%  7%  8%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 18% 17%  6%  9%  8%  8%  6%  5%
x264 [info]: Weighted P-Frames: Y:1.7%
x264 [info]: ref P L0: 63.7% 11.3% 18.4%  6.3%  0.3%
x264 [info]: ref B L0: 83.1% 16.9%
x264 [info]: SSIM Mean Y:0.9751581
x264 [info]: PSNR Mean Y:43.433 U:48.724 V:49.557 Avg:44.599 Global:43.926 kb/s:2127.55
[15:58:46] libhb: work result = 0
I am sorry about that, I think that was an accidental settings change. However, I have since tried to encode another blu-ray and dvd source and still have the same type of stuttering and choppiness (with the occasional black picture for 1-3 seconds). I have posted the log for each encode. THe first set is for the Blu-ray the second set is for the DVD. Thank you again for your help.
mduell
Veteran User
Posts: 7258
Joined: Sat Apr 21, 2007 8:54 pm

Re: Encoding for A4 devices (iPad, iPhone 4, tv 2)

Post by mduell »

bucket2233 wrote:

Code: Select all

[06:03:15]    + frame rate: 23.976 fps -> constant 29.970 fps
[10:25:39] render: 194010 frames output, 0 dropped and 38802 duped for CFR/PFR
That's probably the cause of your stuttering. Why did you uncheck the peak framerate box?

Funny how bad things happen when you modify the presets in ways you don't understand.
off-road-biker

Re: Encoding for A4 devices (iPad, iPhone 4, tv 2)

Post by off-road-biker »

...own topic...
Last edited by off-road-biker on Sat Jan 08, 2011 8:28 pm, edited 1 time in total.
tlindgren
Bright Spark User
Posts: 244
Joined: Sun May 03, 2009 2:14 pm

Re: Encoding for A4 devices (iPad, iPhone 4, tv 2)

Post by tlindgren »

nick2421 wrote:Is there a hardware encoder that works with handbrake that I can purchase for Windows 7 to make the encoding process quicker?
No, Handbrake uses the x264 library for encoding, it has no hardware acceleration support. There's been some work on adding GPU acceleration, but so far they've it's not actually ended up being faster (getting data back out from the GPU is *slow* and slow machine also tend to have slow graphics cards).

As a general rule HW encoders tend to produce crap and/or very large videos fast, the most important point is that you can usually do that equally "well" (or rather badly) with x264 by using faster settings than default. If the machine is old/slow enough (Atom or P4) it may not be true but then I also expect that the best way to use a given amount of money is usually to buy a better machines instead (at the lower end a used and/or refurbished one).
nick2421 wrote:I have a P4 3.0ghz system with 4gb of ram, but to convert a DVD using the high profile is taking about 5 hours. I have over 100 dvds that I would like to convert for the new apple tv, but at 5 hours each it doesn't make sense. I figure if I can purchase some hardware encoder, the process should be hopefully alot quicker.
Any sugguestions would be appreciated.
Either get a machine that isn't from the bronze age :-) or use faster settings and accept larger files for the same quality (or do both).

For a good set of well chosen speed/size trade-offs (for ATV2 look at the second set of settings): http://forum.handbrake.fr/viewtopic.php ... 001#p88001

Don't expect wonders and I wouldn't use "superfast" but "fast" and "veryfast" can be worth trying if you're unwilling to let it take the time it takes using better settings or get faster hardware. Rodeo do have a point about possibly having to adjust the RF value, in my testing it appears you should probably decrease it (increase quality) somewhat for faster settings to avoid additional quality loss compared to the standard preset.
wmrrock
Posts: 26
Joined: Sun Nov 07, 2010 2:32 pm

Re: Encoding for A4 devices (iPad, iPhone 4, tv 2)

Post by wmrrock »

I noticed that software from Little App factory - which rips dvds now has a compression tab. I thought I would try it and and compare. As it turns out they have incorporated HB into their software. Its an older version .0.9.4 and it does not have a preset for apple tv2. It also doesn't save anytime.
wmrrock
Posts: 26
Joined: Sun Nov 07, 2010 2:32 pm

Re: Encoding for A4 devices (iPad, iPhone 4, tv 2)

Post by wmrrock »

HB is giving me "No valid source found" when trying to encode. The dvd plays fine in all dvd players and the audio and video folders are intact.

Here is the log:


[11:05:29] hb_init: checking cpu count
[11:05:29] hb_init: starting libhb thread
[11:05:29] macgui: Handbrake Version: 0.9.5 x86_64 (2011010300)
[11:05:29] hb_init: checking cpu count
[11:05:29] hb_init: starting libhb thread
[11:05:29] hb_init: checking cpu count
[11:05:29] hb_init: starting libhb thread
[11:05:29] macgui: hbInstances path to this instance: /Applications/HandBrake.app
[11:05:29] macgui: hbInstance found instance pidnum:6359 at path: /Applications/HandBrake.app
[11:05:29] macgui: hbInstance MATCH FOUND, our pidnum is:6359
[11:05:29] macgui: Pid for this instance:6359
[11:05:29] macgui: HBQueueController : My Pidnum is 6359
[11:05:40] macgui: trying to open a package at: /Volumes/My Book/WALL_E_Movie-Only 1.dvdmedia
[11:05:40] macgui: trying to open dvdmedia package
[11:05:40] macgui: Preview: Disabling HUD Controls
[11:05:40] macgui: Minimum length of title for scan: 900000
[11:05:40] hb_scan: path=/Volumes/My Book/WALL_E_Movie-Only 1.dvdmedia, title_index=0
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening /Volumes/My Book/WALL_E_Movie-Only 1.dvdmedia/BDMV/index.bdmv
libbluray/bluray.c:960: nav_get_title_list(/Volumes/My Book/WALL_E_Movie-Only 1.dvdmedia) failed (0x1028c4c00)
[11:05:40] 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
libdvdread: Couldn't find device name.
libdvdnav: Can't read name block. Probably not a DVD-ROM device.
libdvdnav: Unable to find map file '/Users/Rock/.dvdnav/.map'
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Couldn't find device name.
[11:05:40] scan: DVD has 1 title(s)
[11:05:40] scan: scanning title 1
[11:05:40] scan: opening IFO for VTS 1

*** libdvdread: CHECK_VALUE failed in ifo_read.c:1193 ***
*** for vts_ptt_srpt->title.ptt[j].pgn < 100 ***

libdvdread: Invalid title IFO (VTS_01_0.IFO).
GUI ERROR dialog: scan: ifoOpen failed
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8

*** libdvdread: CHECK_VALUE failed in ifo_read.c:1193 ***
*** for vts_ptt_srpt->title.ptt[j].pgn < 100 ***

libdvdnav: ifoRead_VTS_PTT_SRPT failed
GUI ERROR dialog: dvdnav: Read Error, Encrypted or faulty DVD
libdvdnav: get_PGCN failed. Was trying to find pgcN in domain 2
libdvdnav: get_PGCN failed. Was trying to find pgcN in domain 2
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8

*** libdvdread: CHECK_VALUE failed in ifo_read.c:1193 ***
*** for vts_ptt_srpt->title.ptt[j].pgn < 100 ***

libdvdnav: ifoRead_VTS_PTT_SRPT failed

*** libdvdread: CHECK_VALUE failed in ifo_read.c:1193 ***
*** for vts_ptt_srpt->title.ptt[j].pgn < 100 ***

libdvdnav: ifoRead_VTS_PTT_SRPT failed
libdvdnav: get_PGCN failed. Was trying to find pgcN in domain 2
libdvdnav: get_PGCN failed. Was trying to find pgcN in domain 2
GUI ERROR dialog: dvdnav: Can not set dvd menu, No such menu or menu not reachable.
libdvdnav: get_PGCN failed. Was trying to find pgcN in domain 2
libdvdnav: get_PGCN failed. Was trying to find pgcN in domain 2

*** libdvdread: CHECK_VALUE failed in ifo_read.c:1193 ***
*** for vts_ptt_srpt->title.ptt[j].pgn < 100 ***

libdvdnav: ifoRead_VTS_PTT_SRPT failed
libdvdnav: get_PGCN failed. Was trying to find pgcN in domain 2
libdvdnav: get_PGCN failed. Was trying to find pgcN in domain 2
[11:05:40] libhb: scan thread found 0 valid title(s)
[11:05:41] macgui: ScanDone state received from fHandle


Any help would be appreciated.
rogue23
Regular User
Posts: 137
Joined: Thu Dec 16, 2010 7:51 pm

Re: Encoding for A4 devices (iPad, iPhone 4, tv 2)

Post by rogue23 »

wmrrock wrote:HB is giving me "No valid source found" when trying to encode. The dvd plays fine in all dvd players and the audio and video folders are intact.
And this relates to a thread about encoding for A4 devices, how?
wmrrock wrote:libdvdnav: ifoRead_VTS_PTT_SRPT failed
GUI ERROR dialog: dvdnav: Read Error, Encrypted or faulty DVD
This error seems to be pretty indicative of your problem. Does the .dvdmedia folder play correctly in DVD Player.app? I would guess that you have a bad rip, but you might try disabling dvdnav in Handbrake's Preferences; although, I doubt that will fix it.
User avatar
Rodeo
HandBrake Team
Posts: 12619
Joined: Tue Mar 03, 2009 8:55 pm

Re: Encoding for A4 devices (iPad, iPhone 4, tv 2)

Post by Rodeo »

wmrrock wrote:Any help would be appreciated.
Start your own topic.
off-road-biker

Re: Encoding for A4 devices (iPad, iPhone 4, tv 2)

Post by off-road-biker »

...own topic...
Last edited by off-road-biker on Sat Jan 08, 2011 8:28 pm, edited 2 times in total.
User avatar
Rodeo
HandBrake Team
Posts: 12619
Joined: Tue Mar 03, 2009 8:55 pm

Re: Encoding for A4 devices (iPad, iPhone 4, tv 2)

Post by Rodeo »

Start your own topic. No wonder your issue was forgotten in this topic's 6 pages.
armandxp
Posts: 2
Joined: Mon Jul 19, 2010 10:25 pm

Re: Encoding for A4 devices (iPad, iPhone 4, tv 2)

Post by armandxp »

Wow. I've been using the nightly builds for the last couple months and using the ATV preset and processing a movie ususally takes me about 1-2 hours on core2duo. The last couple movies I've tried encoding with the newly released version 0.9.5, and the ATV2 preset, are now taking 6-7 hours? Are there that many changes to this new preset? Has anyone else played with the new preset and seen any difference in encoding time? I am a newb, so be gentle... :-) I also have an ATV1 so I may just stick with that preset and just bump up the screen resolution. I can't believe the difference in encoding time. I'm pretty patient, but geeeez.....
mduell
Veteran User
Posts: 7258
Joined: Sat Apr 21, 2007 8:54 pm

Re: Encoding for A4 devices (iPad, iPhone 4, tv 2)

Post by mduell »

The 80% rise in picture resolution is going to increase encode time considerably by itself. The ATV2 is also more capable in terms of H.264 features supported, so encoding takes longer but is more efficient (higher quality and/or smaller size). As always if you want a faster encode, use faster settings.
User avatar
Rodeo
HandBrake Team
Posts: 12619
Joined: Tue Mar 03, 2009 8:55 pm

Re: Encoding for A4 devices (iPad, iPhone 4, tv 2)

Post by Rodeo »

The AppleTV 2 preset should be about the same speed as the AppleTV 1 preset at the same resolution. But it defaults to 1280 width rather than 960.

Also, the AppleTV 2 preset is NOT COMPATIBLE with the AppleTV 1.
zonomorph
Posts: 5
Joined: Fri Nov 28, 2008 1:38 am

Re: Encoding for A4 devices (iPad, iPhone 4, tv 2)

Post by zonomorph »

I read elsewhere on this forum that setting modulus to 4 is recommended if your device supports it. Does anyone know if iPhone 4 supports a modulus setting of 4? If so, do you agree that 4 is the best setting?
User avatar
Rodeo
HandBrake Team
Posts: 12619
Joined: Tue Mar 03, 2009 8:55 pm

Re: Encoding for A4 devices (iPad, iPhone 4, tv 2)

Post by Rodeo »

You can set it to 2 for DVD sources (or use anamorphic strict).
zonomorph
Posts: 5
Joined: Fri Nov 28, 2008 1:38 am

Re: Encoding for A4 devices (iPad, iPhone 4, tv 2)

Post by zonomorph »

Thanks Rodeo. Is there a good reason for choosing modulus 2 over anamorphic strict or vice versa? Also, what setting would you recommend for HD sources?
nightstrm
Veteran User
Posts: 1887
Joined: Fri Mar 23, 2007 5:43 am

Re: Encoding for A4 devices (iPad, iPhone 4, tv 2)

Post by nightstrm »

zonomorph wrote:Thanks Rodeo. Is there a good reason for choosing modulus 2 over anamorphic strict or vice versa? Also, what setting would you recommend for HD sources?
I use custom anamorphic, 1280x720 mod 2, for my encodes from HD-DVD and Bluray sources. Doesn't really help improve output on the AppleTV, but does offer a bit of future-proofing perhaps (at the cost of slightly larger files).
mduell
Veteran User
Posts: 7258
Joined: Sat Apr 21, 2007 8:54 pm

Re: Encoding for A4 devices (iPad, iPhone 4, tv 2)

Post by mduell »

zonomorph wrote:Thanks Rodeo. Is there a good reason for choosing modulus 2 over anamorphic strict or vice versa? Also, what setting would you recommend for HD sources?
Loose mod 2 for all sources.

The same result as strict for DVD sources and works for HD sources.
nick270881
Posts: 5
Joined: Tue May 06, 2008 3:33 pm

Re: Encoding for A4 devices (iPad, iPhone 4, tv 2)

Post by nick270881 »

Can anyone tell me what the main differences between the Apple TV preset, iPad preset and Normal are?

I have been encoding episodes of 24 primarily for my iPad but that will play on my Apple TV2 aswell, I was using the Apple TV preset with the output picture format set to 720x576 (1024x576 anamprphic) and the RF setting of 19

This was giving me file sizes of around 500-600MB and an bitrate of around 1700-1900 but the encodes were approx 30-35fps

I just tried a few rips with the NORMAL setting but keeping my picture size and RF settings as above and i was getting an almost identical file size and I cannot see any difference in picture but the encodes were approx 50-60fps

Why is the Apple TV and iPad encode so much slower, what does it do that the normal preset doesn't???

Thanks

Nick
thompson
Bright Spark User
Posts: 356
Joined: Sat Dec 12, 2009 8:04 pm

Re: Encoding for A4 devices (iPad, iPhone 4, tv 2)

Post by thompson »

nick270881 wrote:Why is the Apple TV and iPad encode so much slower, what does it do that the normal preset doesn't???
Different settings that result in higher quality and lower file sizes, at the expense of encode speed. Some of those settings result in files that are not compatible with all playback devices.

The general rule is: speed, quality, file size. Pick any two.
Post Reply