using latest mp4box (0.5.1-DEV-rev4614) , also tried a few older version, I encounter the following problem:
When trying to multiplex a video and audio stream and chapter information using:
MP4Box -par 1=1:1 -add "H:\Output\09_45_22_3310_22.264"#video:fps=25 -brand avc1 -add "H:\Output\iId_1_aid_0_09_45_22_3310_21.aac"#audio:lang=:group=1 -mpeg4 -chap "H:\Output\09_45_22_3310__23.chp" -ipod -add "H:\Output\Title_1_1-6_chapters_09_45_22_3310__23.ttxt":chap -itags tool="iTunesCompatibleTest" -tmp "H:\Output" -new "H:\Output\chapter_Title_1_1-6.m4v"
the length of the output stream changes from the original 17 seconds to 23 seconds.
As far as I could trace it, the problem occurs as soon as I use '-ipod' and '-add "H:\Output\Title_1_1-6_chapters_09_45_22_3310__23.ttxt":chap' in combination, but since this is the only way I get iTunes to display the chapter points this is kind of annoying.
I uploaded all the files from the command line above to: http://www.embedupload.com/?d=0IKHZUCHIH
Cu Selur
Ps.: tried different player, not only iTunes, they all report the length change.