Dear all,
it seems that I am encountering weird Blu-Ray playlists from time to time. Today I have met the following situation (to make the problem clear, I have simplified it):
I have three m2ts files that I would like to convert to MKV. The files are named 1.m2ts, 2.m2ts and 3.m2ts. Each of these files contains a video track with track ID 0. In addition, 1.m2ts and 3.m2ts contain a subtitle track with track ID1, but 2.m2ts does not contain a subtitle track.
Originally, I had a command line like that:
mkvmerge ... --append-to 1:0:0:0,2:0:1:0,1:1:0:1,2:1:1:1 ... -d 0 -s 1 1.m2ts -d 0 -s 1 +2.m2ts -d 0 -s 1 +3.m2ts
This produced a warning:
Warning: '2.m2ts': A track with the ID 1 was requested but not found in the file. The corresponding option will be ignored.
I am totally understanding this warning, and it’s great that this is not treated as an error, but that the offending option is simply ignored instead.
However, there was also an error:
Error: The file no. 2 ('2.m2ts') does not contain a track with the ID 1, or that track is not to be copied. The argument for '--append-to' was invalid.
Again, I understand the error message. But this time, I don’t know how to work around it. What would be the correct value for --append-to
in this case? Do I need to append the subtitle track in the third file to the subtitle track in the first file? The command line then perhaps would be
mkvmerge ... --append-to 1:0:0:0,2:0:1:0,2:1:0:1 ... -d 0 -s 1 1.m2ts -d 0 +2.m2ts -d 0 -s 1 +3.m2ts
Thank you very much in advance, and best regards,
Unico