Handbrake encoded video may be freezing iPad video app

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.
Post Reply
wilyliam
Posts: 2
Joined: Sat Mar 05, 2011 4:54 am

Handbrake encoded video may be freezing iPad video app

Post by wilyliam »

Greetings - I searched around, didn't find a video issue exactly like mine. I've been playing videos, ripped from DVD, using Handbrake (High Profile setting) and I find that periodically, the video app freezes. It doesn't happen while playing a video - it's when I open the app, it sticks in the gray screen, with the divider down the middle. 

First time this happened, not long after, the whole iPad froze (stuck in the start up screen until the battery died,) and I restored it from a backup. That solved the problem for about a month - when it happened again, I took it to the Genius Bar - that guy reset the settings and it solved the problem for about a week until it happened again today. I reset the settings again and it's fine for now. 

Anyone seen this before, or have a clue?

Thanks,
Wily
rogue23
Enlightened
Posts: 137
Joined: Thu Dec 16, 2010 7:51 pm

Re: Handbrake encoded video may be freezing iPad video app

Post by rogue23 »

Sounds like you have a hardware problem with your iPad, or you've uncovered a player bug. What profile are you using to encode the video you're seeing problems with? An activity log would be helpful, as pointed out at the top of the page.
wilyliam
Posts: 2
Joined: Sat Mar 05, 2011 4:54 am

Re: Handbrake encoded video may be freezing iPad video app

Post by wilyliam »

Here's the activity log of one rip - it seems weird to me that resetting the settings on the iPad (so no data is deleted, no applications are changed or deleted - just things like network settings, wallpaper and volume revert to default ...) temporarily solves the freezing ...


[22:06:50] macgui: Handbrake Version: 0.9.5 i386 (2011010300)


[22:07:08] macgui: Rip: Pending queue count is 0
[22:07:09] macgui: getNextPendingQueueIndex next pending encode index is:1
[22:07:09] macgui: scanning specifically for title: 2
[22:07:09] hb_scan: path=/dev/disk2, title_index=2
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening /dev/disk2/BDMV/index.bdmv
libbluray/bluray.c:960: nav_get_title_list(/dev/disk2) failed (0x2894600)
[22:07:09] 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
NAME OPEN FAILED
libdvdnav: Unable to find map file '/Users/willnmeg/.dvdnav/.map'
libdvdnav: DVD disk reports itself with Region mask 0x00f20000. Regions: 1 3 4

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000130
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x0000ac46
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0001528e
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0027b63d
libdvdread: Elapsed time 0
libdvdread: Found 2 VTS's
libdvdread: Elapsed time 0
libdvdread: Using libdvdcss version 1.2.10 for DVD access
[22:07:13] scan: DVD has 10 title(s)
[22:07:13] scan: scanning title 2
[22:07:13] scan: opening IFO for VTS 1
[22:07:13] scan: duration is 00:42:19 (2539010 ms)
[22:07:13] pgc_id: 2, pgn: 1: pgc: 0x15e867e0
[22:07:13] scan: vts=1, ttn=2, cells=0->7, blocks=0->2515827, 808361 blocks
[22:07:13] scan: checking audio 1
[22:07:13] scan: id=80bd, lang=English (AC3), 3cc=eng ext=0
[22:07:13] scan: checking audio 2
[22:07:13] scan: id=81bd, lang=Portugues (AC3), 3cc=por ext=0
[22:07:13] scan: checking audio 3
[22:07:13] scan: audio channel is not active
[22:07:13] scan: checking subtitle 1
[22:07:13] scan: id=21bd, lang=English, 3cc=eng
[22:07:13] scan: checking subtitle 2
[22:07:13] scan: id=23bd, lang=Chinese, 3cc=zho
[22:07:13] scan: checking subtitle 3
[22:07:13] scan: id=25bd, lang=Francais, 3cc=fra
[22:07:13] scan: checking subtitle 4
[22:07:13] scan: id=27bd, lang=Portugues, 3cc=por
[22:07:13] scan: checking subtitle 5
[22:07:13] scan: id=29bd, lang=Espanol, 3cc=spa
[22:07:13] scan: checking subtitle 6
[22:07:13] scan: id=2bbd, lang=Thai, 3cc=tha
[22:07:13] scan: title 2 has 8 chapters
[22:07:13] scan: chap 1 c=0->0, b=0->140271 (140272), 419590 ms
[22:07:13] scan: chap 2 c=1->1, b=140272->245432 (105161), 331491 ms
[22:07:13] scan: chap 3 c=2->2, b=245433->403798 (158366), 465788 ms
[22:07:13] scan: chap 4 c=3->3, b=403799->531509 (127711), 410646 ms
[22:07:13] scan: chap 5 c=4->4, b=531510->635315 (103806), 343437 ms
[22:07:13] scan: chap 6 c=5->5, b=635316->804143 (168828), 536611 ms
[22:07:13] scan: chap 7 c=6->6, b=804144->808290 (4147), 31268 ms
[22:07:13] scan: chap 8 c=7->7, b=2515758->2515827 (70), 176 ms
[22:07:13] scan: aspect = 0
[22:07:13] scan: decoding previews for title 2
libdvdnav: DVD disk reports itself with Region mask 0x00f20000. Regions: 1 3 4
libdvdnav: Suspected RCE Region Protection!!!
[22:07:14] scan: title angle(s) 1
[22:07:14] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=384000 English (AC3) (5.1 ch)
[22:07:14] scan: audio 0x81bd: AC-3, rate=48000Hz, bitrate=192000 Portugues (AC3) (Dolby Surround)
[22:07:16] scan: 10 previews, 720x480, 23.976 fps, autocrop = 0/0/0/4, aspect 16:9, PAR 32:27
[22:07:16] scan: title (0) job->width:720, job->height:400
[22:07:16] libhb: scan thread found 1 valid title(s)
[22:07:16] macgui: ScanDone state received from fQueueEncodeLibhb
[22:07:16] macgui: Preset: High Profile
[22:07:16] macgui: processNewQueueEncode number of passes expected is: 1
[22:07:16] macgui: Start / Stop set to chapters
[22:07:16] macgui: prepareJob exiting
[22:07:16] 1 job(s) to process
[22:07:16] starting job
[22:07:16] sync: expecting 60899 video frames
[ac3 @ 0x1a89a00] No channel layout specified. The encoder will guess the layout, but it might be incorrect.
[22:07:16] job configuration:
[22:07:16] * source
[22:07:16] + /dev/disk2
[22:07:16] + title 2, chapter(s) 1 to 8
[22:07:16] * destination
[22:07:16] + /Users/willnmeg/Desktop/SMALLVILLE_SEASON_9_DISC_5ep15.m4v
[22:07:16] + container: MPEG-4 (.mp4 and .m4v)
[22:07:16] + chapter markers
[22:07:16] * video track
[22:07:16] + decoder: mpeg2
[22:07:16] + bitrate 7500 kbps
[22:07:16] + frame rate: same as source (around 23.976 fps)
[22:07:16] + loose anamorphic
[22:07:16] + storage dimensions: 720 * 480 -> 720 * 480, crop 0/0/0/4, mod 16
[22:07:16] + pixel aspect ratio: 1432 / 1215
[22:07:16] + display dimensions: 848 * 480
[22:07:16] + filters
[22:07:16] + Detelecine (pullup) (default settings)
[22:07:16] + Decomb (default settings)
[22:07:16] + encoder: x264
[22:07:16] + options: b-adapt=2:rc-lookahead=50
[22:07:16] + quality: 20.00 (RF)
[22:07:16] * audio track 0
[22:07:16] + decoder: English (AC3) (5.1 ch) (track 1, id 80bd)
[22:07:16] + bitrate: 384 kbps, samplerate: 48000 Hz
[22:07:16] + mixdown: Dolby Pro Logic II
[22:07:16] + encoder: ca_aac
[22:07:16] + bitrate: 160 kbps, samplerate: 48000 Hz
[22:07:16] * audio track 1
[22:07:16] + decoder: English (AC3) (5.1 ch) (track 1, id 80bd)
[22:07:16] + bitrate: 384 kbps, samplerate: 48000 Hz
[22:07:16] + AC3 passthrough
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Using libdvdcss version 1.2.10 for DVD access
[22:07:16] yadif thread started for segment 0
[22:07:16] yadif thread started for segment 1
[22:07:16] decomb thread started for segment 0
[22:07:16] decomb thread started for segment 1
[22:07:16] encx264: min-keyint: auto (23), keyint: 240
[22:07:16] encx264: encoding with stored aspect 1432/1215
[22:07:16] encx264: Encoding at constant RF 20.000000
x264 [info]: using SAR=1432/1215
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: profile High, level 3.0
No accelerated IMDCT transform found
No accelerated IMDCT transform found
NAME OPEN FAILED
libdvdnav: Unable to find map file '/Users/willnmeg/.dvdnav/.map'
libdvdnav: DVD disk reports itself with Region mask 0x00f20000. Regions: 1 3 4

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000130
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x0000ac46
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0001528e
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0027b63d
libdvdread: Elapsed time 0
libdvdread: Found 2 VTS's
libdvdread: Elapsed time 0
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdnav: DVD disk reports itself with Region mask 0x00f20000. Regions: 1 3 4
libdvdnav: Suspected RCE Region Protection!!!
[22:07:18] reader: first SCR 146 id 224 DTS 946
[22:07:18] mpeg2: "Chapter 1" (1) at frame 0 time 3003
[22:07:19] 2.035367s: Video -> Film
[22:17:10] mpeg2: "Chapter 2" (2) at frame 10086 time 37818280
[22:17:11] 420.520081s: Film -> Video
[22:17:11] 420.570129s: Video -> Film
[22:23:56] mpeg2: "Chapter 3" (3) at frame 18049 time 67707139
[22:23:57] 752.868774s: Film -> Video
[22:23:57] 752.952148s: Video -> Film
[22:33:00] mpeg2: "Chapter 4" (4) at frame 29216 time 109623013
[22:33:01] 1218.467163s: Film -> Video
[22:33:01] 1218.567383s: Video -> Film
[22:40:31] mpeg2: "Chapter 5" (5) at frame 39076 time 146633487
[22:45:31] 1927.175293s: Film -> Video
[22:45:32] 1927.275391s: Video -> Film
[22:46:15] mpeg2: "Chapter 6" (6) at frame 47326 time 177595918
[22:46:15] 1973.388062s: Film -> Video
[22:46:16] 1973.471436s: Video -> Film
[22:55:31] mpeg2: "Chapter 7" (7) at frame 60198 time 225912687
libdvdnav: Suspected RCE Region Protection!!!
[22:55:45] reader: done. 1 scr changes
[22:55:45] mpeg2: "Chapter 8" (8) at frame 60948 time 228726495
[22:55:45] sync: audio 32957 time went backwards 0 ms, dropped 1 frames (next 228692160, current 228692160)
[22:55:45] sync: audio 32957 time went backwards 0 ms, dropped 1 frames (next 228692160, current 228692160)
[22:55:47] work: average encoding speed for job is 20.962652 fps
[22:55:47] sync: got 60949 frames, 60899 expected
[22:55:47] mpeg2 done: 60949 frames
[22:55:47] render: lost time: 45048 (15 frames)
[22:55:47] render: gained time: 45048 (55 frames) (0 not accounted for)
[22:55:47] render: average dropped frame duration: 3003
x264 [info]: frame I:775 Avg QP:16.19 size: 24067 PSNR Mean Y:48.80 U:51.33 V:52.95 Avg:49.50 Global:48.66
x264 [info]: frame P:19041 Avg QP:19.86 size: 6387 PSNR Mean Y:47.94 U:50.08 V:51.66 Avg:48.51 Global:46.84
x264 [info]: frame B:41117 Avg QP:21.29 size: 2111 PSNR Mean Y:45.99 U:48.31 V:49.93 Avg:46.68 Global:46.21
x264 [info]: consecutive B-frames: 2.6% 4.0% 44.2% 49.1%
x264 [info]: mb I I16..4: 18.0% 68.3% 13.7%
x264 [info]: mb P I16..4: 3.1% 7.1% 0.9% P16..4: 43.6% 13.2% 8.7% 0.0% 0.0% skip:23.5%
x264 [info]: mb B I16..4: 0.2% 0.6% 0.1% B16..8: 44.0% 2.8% 0.5% direct: 2.0% skip:49.8% L0:42.3% L1:53.9% BI: 3.8%
x264 [info]: 8x8 transform intra:65.3% inter:86.6%
x264 [info]: coded y,uvDC,uvAC intra: 57.2% 71.5% 37.6% inter: 14.4% 24.2% 1.0%
x264 [info]: i16 v,h,dc,p: 42% 15% 7% 36%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 13% 24% 5% 7% 8% 6% 8% 6%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 15% 16% 5% 8% 9% 6% 6% 4%
x264 [info]: i8c dc,h,v,p: 50% 17% 23% 9%
x264 [info]: Weighted P-Frames: Y:4.0% UV:2.7%
x264 [info]: ref P L0: 57.9% 9.9% 22.8% 9.2% 0.2%
x264 [info]: ref B L0: 81.3% 15.3% 3.3%
x264 [info]: ref B L1: 91.1% 8.9%
x264 [info]: SSIM Mean Y:0.9839702 (17.951db)
x264 [info]: PSNR Mean Y:46.640 U:48.905 V:50.513 Avg:47.290 Global:46.421 kb/s:714.81
[22:55:47] mux: track 0, 60933 frames, 227041705 bytes, 714.67 kbps, fifo 8
[22:55:47] mux: track 1, 119132 frames, 52273330 bytes, 164.54 kbps, fifo 512
[22:55:47] mux: track 2, 79421 frames, 121990656 bytes, 384.00 kbps, fifo 256
[22:55:47] decomb: deinterlaced 0 | blended 0 | unfiltered 60933 | total 60933
[22:55:47] libhb: work result = 0
[22:55:47] macgui: incrementQueueItemDone there are no more pending encodes
Post Reply