![]() ![]() Step 2: Create a text file and include the paths and names of each file to concatenate (or 'join'). ffmpeg -i VTS014.vob -c:v libx264 -c:a aac -strict experimental VTS014.mp4. I guess that the ultimate solution would be to add a DVD reader who understands the dvd structure as I this information is stored in the IFO file. I used this in the end: Step 1: turn the vob into mp4. This would save the additional step of extracting the subtitles to IDX/SUB. file 'input.vob' inpoint 14 outpoint 17 file 'input.vob' inpoint 214 outpoint 380 (times are in seconds) and then. if the timecodes for English for 14-17 seconds and then 3m 34sec to 6m 20 sec, you would create a text file like this. However it would be nice if this information could be acquired somehow and written to the codec initialization part for the files to be editable by mkvtoolnix. Then using, probably, the concat demuxer, extract the segments and join them. ![]() While I understand that the CodecPrivate data is not direct available when reading from VOB files as this information normally comes from the IDX part of extracted subtitles in vobsub format. Also editing the file with mmg/mkvmerge does not work because the existing subtitles are ignored and not written to the output file because of the same reason (Warning: matroska_reader: The CodecID for track 5 is 'S_VOBSUB', but there was no private data found). There are two methods within ffmpeg that can be used to concatenate files of the same type: the concat ''demuxer'' the concat ''protocol'' The demuxer is more flexible it requires the same codecs, but different container formats can be used and it can be used with any container formats, while the protocol only works with a select few containers. The header editor recognizes all tracks but mkvextract fails to extract the subtitles because of the missing data (Error: Track 5 with the CodecID 'S_VOBSUB' is missing the "codec private" element and cannot be extracted.). The subtitles play fine in vlc but mkvtoolnix has problems with editing the file. ![]() When copying DVD subtitles from vob files into the matroska container the subtitles do not contain CodecPrivate data. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |