mp4/m4v contain chapter markers but ignored by players

HandBrake for Windows support
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
tobox
Posts: 2
Joined: Sat Jul 21, 2012 7:19 pm

mp4/m4v contain chapter markers but ignored by players

Post by tobox » Sun Jul 22, 2012 11:48 am

Hi all, I'm no audio/video pro and now have searched for hours for an answer to my issue with the files converted by handbreak which is really a great tool.

I convert ISO files (or directly from DVD) to mp4 files with setting "include chapters" activated. Obviously the chapter marker are inculded in the file but most player ignore them. Only with VLC player I can jump to the next chapter using the UI skip button. Quicktime lists the chapters but using the skip button it jumps right to the end of the video. Same happens with my Fantec media player, PS3, Sat Receiver, Windows media player ...

Assume this is basically no handbrake issue but I'm wondering that I didn't found any similar post in the web describing this problem. Maybe some of this community can tell me what is the reason behind and how can I achieve this navigation comfort I'm looking for.

Activity log of an example attached.

Many thanks
Thomas

Code: Select all

HandBrake 0.9.8 2012071700
OS: Microsoft Windows NT 6.1.7601 Service Pack 1
CPU: Intel(R) Core(TM)2 Quad  CPU   Q8200  @ 2.33GHz
Ram: 4095 MB, Screen: 1680x1050
Temp Dir: C:\Users\tobox\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\tobox\AppData\Roaming\HandBrake\HandBrake\0.9.8.4861

-------------------------------------------

CLI Query:  -i "\\DISKSTATION\video\DVD.iso" -t 6 -c 1-13 -o "F:\Video\MPG4-Konvert\DVD-6.m4v"  -f mp4 -4  --strict-anamorphic  -e x264 -q 20 --vfr  -a 1 -E faac -B 160 -6 dpl2 -R Auto -D 0 --gain=0 --audio-copy-mask none --audio-fallback ffac3 --markers="C:\Users\tobox\AppData\Local\Temp\DVD-6-6-chapters.csv" -x ref=1:weightp=1:subq=2:rc-lookahead=10:trellis=0:8x8dct=0 --verbose=1
User Query: False

[12:30:46] hb_init: starting libhb thread
HandBrake 0.9.8 (2012071700) - MinGW x86_64 - http://handbrake.fr
4 CPUs detected
Opening \\DISKSTATION\video\DVD.iso...
[12:30:46] hb_scan: path=\\DISKSTATION\video\DVD.iso, title_index=6
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening \\DISKSTATION\video\DVD.iso/BDMV/index.bdmv
libbluray/bluray.c:1471: nav_get_title_list(\\DISKSTATION\video\DVD.iso) failed (000000000031E1E0)
[12:30:46] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdnav: DVD Title: DVD
libdvdnav: DVD Serial Number: 4E16AF6A________
libdvdnav: DVD Title (Alternative): DVD
libdvdnav: Unable to find home directorylibdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
[12:30:46] scan: DVD has 23 title(s)
[12:30:46] scan: scanning title 6
[12:30:46] scan: opening IFO for VTS 4
[12:30:46] scan: duration is 01:46:29 (6389010 ms)
[12:30:46] pgc_id: 2, pgn: 1: pgc: 00000000003269B0
[12:30:46] scan: vts=4, ttn=2, cells=0->13, blocks=0->1674414, 1674415 blocks
[12:30:46] scan: checking audio 1
[12:30:46] scan: id=0x80bd, lang=Deutsch (AC3), 3cc=deu ext=0
[12:30:46] scan: checking audio 2
[12:30:46] scan: audio channel is not active
[12:30:46] scan: checking subtitle 1
[12:30:46] scan: subtitle channel is not active
[12:30:46] scan: checking subtitle 2
[12:30:46] scan: subtitle channel is not active
[12:30:46] scan: title 6 has 13 chapters
[12:30:46] scan: chap 1 c=0->0, b=0->143420 (143421), 610260 ms
[12:30:46] scan: chap 2 c=1->1, b=143421->319571 (176151), 677449 ms
[12:30:46] scan: chap 3 c=2->2, b=319572->483505 (163934), 627508 ms
[12:30:46] scan: chap 4 c=3->3, b=483506->627515 (144010), 537409 ms
[12:30:46] scan: chap 5 c=4->4, b=627516->762894 (135379), 430503 ms
[12:30:46] scan: chap 6 c=5->5, b=762895->931633 (168739), 642314 ms
[12:30:46] scan: chap 7 c=6->6, b=931634->1021649 (90016), 396539 ms
[12:30:46] scan: chap 8 c=7->7, b=1021650->1108036 (86387), 301328 ms
[12:30:46] scan: chap 9 c=8->9, b=1108037->1173135 (65099), 279309 ms
[12:30:46] scan: chap 10 c=10->10, b=1173136->1257657 (84522), 335303 ms
[12:30:46] scan: chap 11 c=11->11, b=1257658->1398653 (140996), 455234 ms
[12:30:46] scan: chap 12 c=12->12, b=1398654->1674409 (275756), 1095838 ms
[12:30:46] scan: chap 13 c=13->13, b=1674410->1674414 (5), 10 ms
[12:30:46] scan: aspect = 0
[12:30:46] scan: decoding previews for title 6
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[12:30:46] scan: title angle(s) 1
Scanning title 6...
[12:30:46] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=448000 Deutsch (AC3) (5.1 ch)
Scanning title 6...
Scanning title 6...
Scanning title 6...
[12:30:47] scan: content PAR gives wrong aspect 2.37; using container aspect 1.78
[12:30:47] scan: 10 previews, 720x576, 25.000 fps, autocrop = 70/70/0/2, aspect 16:9, PAR 64:45
[12:30:47] scan: title (0) job->width:720, job->height:304
[12:30:47] libhb: scan thread found 1 valid title(s)
+ title 6:
  + vts 4, ttn 2, cells 0->13 (1674415 blocks)
  + duration: 01:46:29
  + size: 720x576, pixel aspect: 64/45, display aspect: 1.78, 25.000 fps
  + autocrop: 70/70/0/2
  + chapters:
    + 1: cells 0->0, 143421 blocks, duration 00:10:10
    + 2: cells 1->1, 176151 blocks, duration 00:11:17
    + 3: cells 2->2, 163934 blocks, duration 00:10:28
    + 4: cells 3->3, 144010 blocks, duration 00:08:57
    + 5: cells 4->4, 135379 blocks, duration 00:07:11
    + 6: cells 5->5, 168739 blocks, duration 00:10:42
    + 7: cells 6->6, 90016 blocks, duration 00:06:37
    + 8: cells 7->7, 86387 blocks, duration 00:05:01
    + 9: cells 8->9, 65099 blocks, duration 00:04:39
    + 10: cells 10->10, 84522 blocks, duration 00:05:35
    + 11: cells 11->11, 140996 blocks, duration 00:07:35
    + 12: cells 12->12, 275756 blocks, duration 00:18:16
    + 13: cells 13->13, 5 blocks, duration 00:00:00
  + audio tracks:
    + 1, Deutsch (AC3) (5.1 ch) (iso639-2: deu), 48000Hz, 448000bps
  + subtitle tracks:
Reading chapter markers from file C:\Users\tobox\AppData\Local\Temp\DVD-6-6-chapters.csv
[12:30:47] 1 job(s) to process
[12:30:47] starting job
[12:30:47] sync: expecting 159725 video frames
[12:30:47] job configuration:
[12:30:47]  * source
[12:30:47]    + \\DISKSTATION\video\DVD.iso
[12:30:47]    + title 6, chapter(s) 1 to 13
[12:30:47]  * destination
[12:30:47]    + F:\Video\MPG4-Konvert\DVD-6.m4v
[12:30:47]    + container: MPEG-4 (.mp4 and .m4v)
[12:30:47]      + 64-bit formatting
[12:30:47]      + chapter markers
[12:30:47]  * video track
[12:30:47]    + decoder: mpeg2
[12:30:47]      + bitrate 8900 kbps
[12:30:47]    + frame rate: same as source (around 25.000 fps)
[12:30:47]    + strict anamorphic
[12:30:47]      + storage dimensions: 720 * 576 -> 718 * 436, crop 70/70/0/2, mod 0
[12:30:47]      + pixel aspect ratio: 64 / 45
[12:30:47]      + display dimensions: 1021 * 436
[12:30:47]    + encoder: H.264 (x264)
[12:30:47]      + options: ref=1:weightp=1:subq=2:rc-lookahead=10:trellis=0:8x8dct=0
[12:30:47]      + quality: 20.00 (RF)
[12:30:47]  * audio track 1
[12:30:47]    + decoder: Deutsch (AC3) (5.1 ch) (track 1, id 0x80bd)
[12:30:47]      + bitrate: 448 kbps, samplerate: 48000 Hz
[12:30:47]    + mixdown: Dolby Pro Logic II
[12:30:47]    + encoder: AAC (faac)
[12:30:47]      + bitrate: 160 kbps, samplerate: 48000 Hz
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdnav: DVD Title: DVD
libdvdnav: DVD Serial Number: 4E16AF6A________
libdvdnav: DVD Title (Alternative): DVD
libdvdnav: Unable to find home directorylibdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[12:30:47] encx264: encoding with stored aspect 64/45
[12:30:47] encx264: Encoding at constant RF 20.000000
x264 [warning]: --psnr used with psy on: results will be invalid!
x264 [warning]: --tune psnr should be used if attempting to benchmark psnr!
x264 [info]: using SAR=64/45
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
x264 [info]: profile Main, level 3.0
[12:30:47] reader: first SCR 146 id 0xe0 DTS 22254
[12:30:47] mpeg2: "Chapter 1" (1) at frame 0 time 3600
[12:30:47] sync: first pts is 3600
[12:33:10] mpeg2: "Chapter 2" (2) at frame 15249 time 54900000
[12:35:47] mpeg2: "Chapter 3" (3) at frame 32179 time 115848000
[12:38:21] mpeg2: "Chapter 4" (4) at frame 47860 time 172299600
[12:40:31] mpeg2: "Chapter 5" (5) at frame 61309 time 220716000
[12:42:16] mpeg2: "Chapter 6" (6) at frame 72066 time 259441200
[12:44:46] mpeg2: "Chapter 7" (7) at frame 88118 time 317228400
[12:46:12] mpeg2: "Chapter 8" (8) at frame 98037 time 352936800
[12:47:25] mpeg2: "Chapter 9" (9) at frame 105567 time 380044800
[12:48:29] mpeg2: "Chapter 10" (10) at frame 112576 time 405277200
[12:49:49] mpeg2: "Chapter 11" (11) at frame 120955 time 435441600
[12:51:41] mpeg2: "Chapter 12" (12) at frame 132330 time 476391600
[12:55:37] reader: done. 2 scr changes
[12:55:37] mpeg2: "Chapter 13" (13) at frame 159725 time 575013600
[12:55:37] 6389.040527s: Video -> Film
[12:55:37] work: average encoding speed for job is 107.220695 fps
[12:55:37] sync: got 159726 frames, 159725 expected
[12:55:37] mpeg2 done: 159726 frames
[12:55:37] render: lost time: 0 (0 frames)
[12:55:37] render: gained time: 0 (0 frames) (0 not accounted for)
x264 [info]: frame I:2124  Avg QP:17.41  size: 24235  PSNR Mean Y:47.35 U:50.48 V:50.70 Avg:48.15 Global:47.65
x264 [info]: frame P:76846 Avg QP:21.00  size:  7336  PSNR Mean Y:43.57 U:47.39 V:48.04 Avg:44.49 Global:43.88
x264 [info]: frame B:80756 Avg QP:22.38  size:  1872  PSNR Mean Y:42.90 U:47.23 V:47.83 Avg:43.90 Global:43.13
x264 [info]: consecutive B-frames: 17.6% 39.2% 17.2% 26.0%
x264 [info]: mb I  I16..4: 41.4%  0.0% 58.6%
x264 [info]: mb P  I16..4: 18.5%  0.0%  2.1%  P16..4: 34.3% 14.7%  7.8%  0.0%  0.0%    skip:22.7%
x264 [info]: mb B  I16..4:  2.2%  0.0%  0.1%  B16..8: 16.7%  5.2%  0.6%  direct:11.2%  skip:64.0%  L0:34.1% L1:47.8% BI:18.1%
x264 [info]: coded y,uvDC,uvAC intra: 40.3% 48.4% 14.5% inter: 15.8% 14.6% 0.5%
x264 [info]: i16 v,h,dc,p: 48% 21% 23%  8%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 38% 18% 16%  4%  4%  5%  4%  5%  4%
x264 [info]: i8c dc,h,v,p: 55% 14% 27%  3%
x264 [info]: Weighted P-Frames: Y:2.6% UV:0.8%
x264 [info]: SSIM Mean Y:0.9767410 (16.334db)
x264 [info]: PSNR Mean Y:43.278 U:47.350 V:47.967 Avg:44.239 Global:43.515 kb/s:959.56
[12:55:40] mux: track 0, 159726 frames, 766250908 bytes, 959.46 kbps, fifo 4096
[12:55:40] mux: track 1, 299485 frames, 127761911 bytes, 159.98 kbps, fifo 8192
[12:55:41] libhb: work result = 0
Encode done!
HandBrake has exited.

Post Reply