Log in

View Full Version : Mp4 subtitles and chapter info


cabala420
8th April 2012, 19:49
Not sure if this is an easy question to answer or not. I recently converted my Seinfeld DVD collection to mp4 for use on the new iPad and I am having some difficulties displaying subtitles and getting chapters to work.

Subtitles are in .srt format and chapters in .ogg directly from DVD DeCrypter. Once I am done indexing everything I use the auto encode feature and select the checkbox to add additional files. From there I add my subtitles and chapter file.

VLC of courser recognizes all the files, iPad does not recognize the subtitles nor the chapters. However once I use MkvToMp4 the subtitles work fine. I'm just wondering why MEgui can't do it. Wrong format? The chapters still do not work either. Anyone have any luck on this? Something about the metatags or atom information maybe? The chapters never work.

Lastly, for some reason when I index the audio files and simply use the auto encode feature the iPad doesn't recognize that the tracks are English, just says unidentified. However if I use the muxer and manually add all the video and audio, I get to select "English" in the drop down box and it works fine. The box is greyed out in auto encode section for audio. Any suggestions?

Thanks for any help!

Zathor
10th April 2012, 12:57
VLC of courser recognizes all the files, iPad does not recognize the subtitles nor the chapters. However once I use MkvToMp4 the subtitles work fine. I'm just wondering why MEgui can't do it. Wrong format?
You need to specify that you are encoding for an Apple device. please specify e.g. iPhone as your device type in the AutoEncode window. In that case the srt subtitles are converted.

Lastly, for some reason when I index the audio files and simply use the auto encode feature the iPad doesn't recognize that the tracks are English, just says unidentified. The box is greyed out in auto encode section for audio.
Thanks, starting from MeGUI build 2129 you can add the audio language in AutoEncode mode.

The chapters never work. No clue. I do not have an Apple device.

manolito
11th April 2012, 00:11
@cabala420

Your problem is that there are 2 different chapter formats for the MP4 container. The format created by MeGUI and StaxRip is based on the OGG chapter format. When you check the file with MediaInfo you will notice that the chapters appear under the "Menu" section.

The other chapter format for MP4 is the Apple Text format. This format is created by Handbrake and MKVtoMP4 (and probably by Apple software). I found that you can have both chapter formats in one file to assure maximum compatibility.

Your file has only the OGG chapters, you need to add an Apple Text chapter stream. As Oreons already explained to you in the MKVtoMP4 thread, this is possible by importing the chapters from an MKV file simply by copy and paste.

This is what you need:
ChapterXtractor or ChapterGen
MKVToolnix
MKVtoMP4


Use ChapterXtractor or ChapterGen to extract the chapters from your source DVD, export to OGG format.

Fire up MKVMergeGUI, under the "Global" tab add this chapter file. Specify your target file and start muxing. The result will be an MKV file which contains just the chapters.

Now just do what Oreons told you: Load your MP4 file into MKVtoMP4, then also load the MKV file you just created. Rightclick on the MKV file and copy the chapters. Now rightclick on your MP4 file and paste these chapters. Delete the MKV file and click "Start". You will end up with an MP4 file which contains 2 different formats for the chapter information (check it with MediaInfo).


Good luck...
manolito