iPhone Chapter naming

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
JerryWinter
Posts: 3
Joined: Sat Mar 29, 2008 6:11 am

iPhone Chapter naming

Post by JerryWinter » Sat Mar 29, 2008 6:43 am

This has to have been covered. Sorry for asking, but I searched forever and couldn't find anything on it. I've converted several DVDs to m4v files where I named the chapters. The naming works beautifully everywhere except on my iPhone. My iPhone chapter names in the Chapter Guide still read Chapter 1: Chapter 001, Chapter 2: Chapter 002, etc.

What am I doing wrong? The iPhone Chapter Guide works great for movies bought from iTunes.

Thanks.

Jerry

rhester
Veteran User
Posts: 2888
Joined: Tue Apr 18, 2006 10:24 pm

Re: iPhone Chapter naming

Post by rhester » Sat Mar 29, 2008 6:32 pm

Show us the Activity Log where you're naming the chapters...

Rodney

JerryWinter
Posts: 3
Joined: Sat Mar 29, 2008 6:11 am

Re: iPhone Chapter naming

Post by JerryWinter » Sat Mar 29, 2008 7:06 pm

Here's the activity log for the entire conversion. As I mentioned, the Chapter Naming works fine in iTunes/Quicktime. I expected someone would just tell me this is a Handbrake/iPhone limitation.

Code: Select all

[19:18:06] thread b04e6000 started ("work")
[19:18:06] 1 job(s) to process
[19:18:06] starting job
[19:18:06]  + device /dev/disk3
[19:18:06]  + title 2, chapter(s) 2 to 13
[19:18:06]  + 720x480 -> 480x368, crop 0/0/0/0
[19:18:06]  + video frame rate: 29.970 fps
[19:18:06]  + video bitrate 960 kbps, pass 0
[19:18:06]  + PixelRatio: 0, width:480, height: 368
[19:18:06]  + encoder x264
[19:18:06]    + x264 options: level=30:cabac=0:ref=1:analyse=all:me=umh:subq=6:no-fast-pskip=1:trellis=1
[19:18:06]  + audio 128 kbps, 48000 Hz
[19:18:06]  + encoder faac
[19:18:06]    + a0bd, Unknown (LPCM)
[19:18:06]      + Requested mixdown: Stereo (HB_AMIXDOWN_STEREO)
[19:18:06]      + Actual mixdown: Stereo (HB_AMIXDOWN_STEREO)
[19:18:06] thread b0568000 started ("reader")
[19:18:06]  + output: /Volumes/My Book/MyBook Movies/iTunes Movies/Offensive Techniques & Drills for Championship Lacrosse.mp4
[19:18:06] thread b067d000 started ("muxer")
[19:18:06] thread b0781000 started ("MPEG-2 decoder (libmpeg2)")
[19:18:06] thread b08a6000 started ("Renderer")
[19:18:06] encx264: keyint-min: 30, keyint-max: 300
[19:18:06] encx264: opening libx264 (pass 0)
x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2 SSE3 Cache64 
[19:18:06] thread b0928000 started ("H.264/AVC encoder (libx264)")
[19:18:06] thread b09aa000 started ("LPCM decoder")
[19:18:06] thread b0a2c000 started ("AAC encoder (libfaac)")
[19:18:06] sync: expecting 72915 video frames
[19:18:12] dvd: Beginning of Cell (1) at block 4689
[19:18:12] sync: first pts is 1303302
[19:18:12] Sync: Audio PTS (1278027) < Video PTS (1303302) by greater than 100ms, trashing audio to reconverge
[19:18:12] Sync: Audio back in Sync at PTS 1294977
[19:18:12] About to add iPod atom
[19:18:12] macgui: Using preset: iPhone / iPod Touch
[19:19:08] dvd: End of Cell (1) at block 33609
[19:19:08] dvd: Beginning of Cell (2) at block 33808
[19:19:08] dvd: Chapter Break Cell Found
[19:19:13] MPEG2: Chapter Break Cell Found, searching for GOP
[19:19:13] MPEG2: Group of pictures found, searching for I-Frame
[19:19:13] MPEG2: I-Frame Found
[19:19:13] MPEG2: Chapter Break Inserted
[19:19:14] work Renderer: Copying Chapter Break @ 5402397
[19:20:09] dvd: End of Cell (2) at block 68025
[19:20:10] dvd: Beginning of Cell (3) at block 68331
[19:20:10] dvd: Chapter Break Cell Found
[19:20:14] MPEG2: Chapter Break Cell Found, searching for GOP
[19:20:14] MPEG2: Group of pictures found, searching for I-Frame
[19:20:14] MPEG2: I-Frame Found
[19:20:14] MPEG2: Chapter Break Inserted
[19:20:14] work Renderer: Copying Chapter Break @ 11456445
[19:23:48] dvd: End of Cell (3) at block 188680
[19:23:49] dvd: Beginning of Cell (4) at block 189029
[19:23:49] dvd: Chapter Break Cell Found
[19:23:53] MPEG2: Chapter Break Cell Found, searching for GOP
[19:23:53] MPEG2: Group of pictures found, searching for I-Frame
[19:23:53] MPEG2: I-Frame Found
[19:23:53] MPEG2: Chapter Break Inserted
[19:23:53] work Renderer: Copying Chapter Break @ 33309276
[19:26:25] dvd: End of Cell (4) at block 275799
[19:26:25] dvd: Beginning of Cell (5) at block 276097
[19:26:25] dvd: Chapter Break Cell Found
[19:26:31] MPEG2: Chapter Break Cell Found, searching for GOP
[19:26:31] MPEG2: Group of pictures found, searching for I-Frame
[19:26:31] MPEG2: I-Frame Found
[19:26:31] MPEG2: Chapter Break Inserted
[19:26:32] work Renderer: Copying Chapter Break @ 49162113
[19:29:09] dvd: End of Cell (5) at block 363943
[19:29:10] dvd: Beginning of Cell (6) at block 364372
[19:29:10] dvd: Chapter Break Cell Found
[19:29:15] MPEG2: Chapter Break Cell Found, searching for GOP
[19:29:15] MPEG2: Group of pictures found, searching for I-Frame
[19:29:15] MPEG2: I-Frame Found
[19:29:15] MPEG2: Chapter Break Inserted
[19:29:16] work Renderer: Copying Chapter Break @ 64264200
[19:33:52] dvd: End of Cell (6) at block 526084
[19:33:53] dvd: Beginning of Cell (7) at block 526448
[19:33:53] dvd: Chapter Break Cell Found
[19:33:59] MPEG2: Chapter Break Cell Found, searching for GOP
[19:33:59] MPEG2: Group of pictures found, searching for I-Frame
[19:33:59] MPEG2: I-Frame Found
[19:33:59] MPEG2: Chapter Break Inserted
[19:34:00] work Renderer: Copying Chapter Break @ 91729638
[19:40:45] dvd: End of Cell (7) at block 743094
[19:40:46] dvd: Beginning of Cell (8) at block 743557
[19:40:46] dvd: Chapter Break Cell Found
[19:40:51] MPEG2: Chapter Break Cell Found, searching for GOP
[19:40:51] MPEG2: Group of pictures found, searching for I-Frame
[19:40:51] MPEG2: I-Frame Found
[19:40:51] MPEG2: Chapter Break Inserted
[19:40:53] work Renderer: Copying Chapter Break @ 129171042
[19:44:28] dvd: End of Cell (8) at block 863438
[19:44:28] dvd: Beginning of Cell (9) at block 863856
[19:44:28] dvd: Chapter Break Cell Found
[19:44:30] MPEG2: Chapter Break Cell Found, searching for GOP
[19:44:30] MPEG2: Group of pictures found, searching for I-Frame
[19:44:30] MPEG2: I-Frame Found
[19:44:30] MPEG2: Chapter Break Inserted
[19:44:30] work Renderer: Copying Chapter Break @ 150360210
[19:46:43] dvd: End of Cell (9) at block 939673
[19:46:44] dvd: Beginning of Cell (10) at block 940043
[19:46:44] dvd: Chapter Break Cell Found
[19:46:49] MPEG2: Chapter Break Cell Found, searching for GOP
[19:46:49] MPEG2: Group of pictures found, searching for I-Frame
[19:46:49] MPEG2: I-Frame Found
[19:46:49] MPEG2: Chapter Break Inserted
[19:46:50] work Renderer: Copying Chapter Break @ 163981818
[19:51:50] dvd: End of Cell (10) at block 1108373
[19:51:51] dvd: Beginning of Cell (11) at block 1108789
[19:51:51] dvd: Chapter Break Cell Found
[19:51:56] MPEG2: Chapter Break Cell Found, searching for GOP
[19:51:56] MPEG2: Group of pictures found, searching for I-Frame
[19:51:56] MPEG2: I-Frame Found
[19:51:56] MPEG2: Chapter Break Inserted
[19:51:57] work Renderer: Copying Chapter Break @ 193167975
[19:55:27] dvd: End of Cell (11) at block 1223286
[19:55:27] dvd: Beginning of Cell (12) at block 1223664
[19:55:27] dvd: Chapter Break Cell Found
[19:55:32] MPEG2: Chapter Break Cell Found, searching for GOP
[19:55:32] MPEG2: Group of pictures found, searching for I-Frame
[19:55:32] MPEG2: I-Frame Found
[19:55:32] MPEG2: Chapter Break Inserted
[19:55:33] work Renderer: Copying Chapter Break @ 213264051
[19:56:24] dvd: End of Cell (12) at block 1252486
[19:56:24] reader: done
[19:56:24] thread b0568000 exited ("reader")
[19:56:31] sync: got 72977 frames, 72915 expected
[19:56:31] thread b0928000 exited ("H.264/AVC encoder (libx264)")
[19:56:31] thread b0781000 exited ("MPEG-2 decoder (libmpeg2)")
[19:56:31] thread b09aa000 exited ("LPCM decoder")
[19:56:31] thread b08a6000 exited ("Renderer")
[19:56:31] thread b0781000 joined ("MPEG-2 decoder (libmpeg2)")
[19:56:31] thread b08a6000 joined ("Renderer")
[19:56:31] render: lost time: 0 (0 frames)
[19:56:31] render: gained time: 0 (0 frames) (0 not accounted for)
[19:56:31] fifo_close: trashing 0 buffer(s)
[19:56:31] fifo_close: trashing 0 buffer(s)
[19:56:31] thread b0928000 joined ("H.264/AVC encoder (libx264)")
x264 [info]: slice I:281   Avg QP:24.49  size: 25097  PSNR Mean Y:40.76 U:45.29 V:46.39 Avg:41.77 Global:40.66
x264 [info]: slice P:72696 Avg QP:27.31  size:  3931  PSNR Mean Y:36.65 U:42.26 V:43.69 Avg:37.87 Global:37.14
x264 [info]: mb I  I16..4: 27.8%  0.0% 72.2%
x264 [info]: mb P  I16..4:  0.9%  0.0%  1.5%  P16..4: 47.1% 14.5%  2.7%  0.5%  0.2%    skip:32.6%
x264 [info]: final ratefactor: 24.61
x264 [info]: SSIM Mean Y:0.9438918
x264 [info]: PSNR Mean Y:36.667 U:42.271 V:43.700 Avg:37.885 Global:37.152 kb/s:962.00
[19:56:31] thread b0a2c000 exited ("AAC encoder (libfaac)")
[19:56:31] thread b09aa000 joined ("LPCM decoder")
[19:56:31] thread b0a2c000 joined ("AAC encoder (libfaac)")
[19:56:31] thread b0568000 joined ("reader")
[19:56:31] mux: file size, 332947516 bytes
[19:56:31] mux: track 0, 292808852 bytes, 962.00 kbps
[19:56:31] mux: video bitrate error, +608944 bytes
[19:56:31] mux: track 1, 38900278 bytes, 127.80 kbps
[19:56:31] mux: overhead, 6.62 bytes per frame
[19:56:31] thread b067d000 exited ("muxer")
[19:56:31] thread b067d000 joined ("muxer")
[19:56:31] fifo_close: trashing 0 buffer(s)
[19:56:31] fifo_close: trashing 0 buffer(s)
[19:56:31] fifo_close: trashing 0 buffer(s)
[19:56:31] fifo_close: trashing 0 buffer(s)
[19:56:31] fifo_close: trashing 0 buffer(s)
[19:56:31] fifo_close: trashing 0 buffer(s)
[19:56:31] fifo_close: trashing 0 buffer(s)
[19:56:31] fifo_close: trashing 0 buffer(s)
[19:56:31] fifo_close: trashing 1 buffer(s)
[19:56:31] Freed 3 buffers of size 512
[19:56:31] Freed 2 buffers of size 1024
[19:56:31] Freed 1923 buffers of size 2048
[19:56:31] Freed 2048 buffers of size 4096
[19:56:31] Freed 0 buffers of size 8192
[19:56:31] Freed 0 buffers of size 16384
[19:56:31] Freed 0 buffers of size 32768
[19:56:31] Freed 56 buffers of size 518400
[19:56:31] Allocated 41360896 bytes of buffers on this pass and Freed 41360896 bytes, 0 bytes leaked
[19:56:31] thread b04e6000 exited ("work")
[19:56:31] thread b04e6000 joined ("work")
[19:56:31] libhb: work result = 0
Last edited by dynaflash on Mon Mar 31, 2008 12:11 pm, edited 1 time in total.
Reason: Please enclose activity and crash logs in code blocks so they independently scroll.

Cyander
Regular User
Posts: 94
Joined: Tue Mar 20, 2007 9:19 pm

Re: iPhone Chapter naming

Post by Cyander » Mon Mar 31, 2008 9:19 pm

JerryWinter wrote:This has to have been covered. Sorry for asking, but I searched forever and couldn't find anything on it. I've converted several DVDs to m4v files where I named the chapters. The naming works beautifully everywhere except on my iPhone. My iPhone chapter names in the Chapter Guide still read Chapter 1: Chapter 001, Chapter 2: Chapter 002, etc.

What am I doing wrong? The iPhone Chapter Guide works great for movies bought from iTunes.

Thanks.

Jerry
How do the chapters appear in iTunes/Quicktime?

On the iPhone, they did things slightly differently in that they append "Chapter #: " before the chapter title, so if your chapter names are "Chapter ###" then while it looks okay in iTunes/Quicktime, the iPhone will display them differently and they will look rather odd. Normally when you name the chapters something more meaningful than the defaults, you get something like this on the iPhone:

Chapter 1: Opening
Chapter 2: Part A
Chapter 3: Part B
Chapter 4: Ending
Chapter 5: Preview

And this in iTunes/Quicktime:

Opening
Part A
Part B
Ending
Preview

JerryWinter
Posts: 3
Joined: Sat Mar 29, 2008 6:11 am

Re: iPhone Chapter naming

Post by JerryWinter » Tue Apr 01, 2008 1:34 am

The Chapter Guide on my iPhone shows chapters exactly as it would if I had never entered the chapters manually into Handbrake. That is:

Chapter 1: Chapter 001
Chapter 2: Chapter 002
Chapter 3: Chapter 003
Chapter 4: Chapter 004
...

With a purchased iTunes movie (Cars for example) the Chapter Guide on the iPhone very nicely displays chapters as named by the content provider. That is:

Chapter 1: Dinoco 400
Chapter 2: Victory Lane
Chapter 3: Rust-eze
Chapter 4: "Life is a Highway"
...

The Chapters for the Handbraked content occurs in iTunes exactly as you suggest ... chapters nicely listed with the addition of an ordinal number in front of each chapter. The same content when moved over to the iPhone doesn't show the named chapters.

Jerry

nightstrm
Veteran User
Posts: 1887
Joined: Fri Mar 23, 2007 5:43 am

Re: iPhone Chapter naming

Post by nightstrm » Tue Apr 01, 2008 2:28 am

I am unable to duplicate this on my iPhone; all chapter titles are showing up normally.

I should also state that these were encoded with a SVN build after the .9.2 release, so it is possible something was fixed after the last public release. You might check the timeline located in the development section.

mrtaber
Posts: 20
Joined: Fri Jan 12, 2007 6:16 pm

Re: iPhone Chapter naming

Post by mrtaber » Fri Apr 04, 2008 7:38 pm

FWIW, I have encoded using 0.9.2, and I am able to see my chapter titles just fine on my iPhone. I'm sorry I don't have any other suggestions. If you change the chapter titles in MetaX, do they show up on the iPhone?

Mark

Post Reply