2009-12-04, 16:41
Hi
I've read on various posts, via the IIRC and on the wiki that the internal player should support chapters in MP4 files. However, they aren't showing up in any of my MP4 files.
First off, here is my debug log when trying to play an MP4 file with chapters built in (The_Green_Mile.mp4):
http://www.prupert.co.uk/images/xbmc.log
Here is the output from mediainfo for the file, showing that the file has chapters (VLC sees them fine):
http://www.prupert.co.uk/images/thegreenmile.txt
And if you really wanna check, here is the MP4 file itself (it's 1GB though )
http://www.prupert.co.uk/images/The_Green_Mile.mp4
For completeness, here is the command used to create the MP4 file:
ffmpeg -deinterlace -y -i "$1" -vcodec libx264 -level 41 -vpre normal -crf 24 -threads 0 -acodec libfaac -ab 128k -ac 2 -ar 48000 -vsync 1 -async 1000 -map 0.0:0.0 -map 0.1:0.1 "$1".mp4
And here is the command I use to add chapters to the MP4 file:
MP4Box -chap "file.chap" -out "file.mp4" -tmp "/mnt/media/documents/ruperts/TV/tmp" "$VIDEO"
I am using comskip to create the .chap files, all the source files are mythtv DVB-T transport streams (.ts).
Should I just revert to using .edl files instead (shame, since having the chapter files built in is so much more elegant)?
I've read on various posts, via the IIRC and on the wiki that the internal player should support chapters in MP4 files. However, they aren't showing up in any of my MP4 files.
First off, here is my debug log when trying to play an MP4 file with chapters built in (The_Green_Mile.mp4):
http://www.prupert.co.uk/images/xbmc.log
Here is the output from mediainfo for the file, showing that the file has chapters (VLC sees them fine):
http://www.prupert.co.uk/images/thegreenmile.txt
And if you really wanna check, here is the MP4 file itself (it's 1GB though )
http://www.prupert.co.uk/images/The_Green_Mile.mp4
For completeness, here is the command used to create the MP4 file:
ffmpeg -deinterlace -y -i "$1" -vcodec libx264 -level 41 -vpre normal -crf 24 -threads 0 -acodec libfaac -ab 128k -ac 2 -ar 48000 -vsync 1 -async 1000 -map 0.0:0.0 -map 0.1:0.1 "$1".mp4
And here is the command I use to add chapters to the MP4 file:
MP4Box -chap "file.chap" -out "file.mp4" -tmp "/mnt/media/documents/ruperts/TV/tmp" "$VIDEO"
I am using comskip to create the .chap files, all the source files are mythtv DVB-T transport streams (.ts).
Should I just revert to using .edl files instead (shame, since having the chapter files built in is so much more elegant)?