Selur
21st December 2018, 15:59
I have an mkv file created by VideoReDo.
Since there is no raw format for dvb subtiles I'd like to extract those subtitles as dvd/vobsub subtitles (idx/sub).
I can do this by:
1st covnerting the subtitles to vobsub subtitles:
ffmpeg -canvas_size 1280x720 -i "C:\Users\Selur\Desktop\Beispiel_DVB_SUBS.mkv" -c:v copy -c:a copy -c:s dvdsub e:\Output\test.mkv
2nd extract those subtitles using mkvextract
mkvextract tracks "E:\Output\test.mkv" 2:"E:\Output\test_id_2_lang_de.idx"
to avoid having to create the temporary mkv file I'd like to convert and extract the dvb subtitles in one go to idx/sub, but so far I can't figure out how to do this with ffmpeg.
(I know I could use '-vn -an' instead of '-c:v copy -c:a copy' to only have the subtitle inside the temporary mkv, to keep it's size small.)
-> Does anyone know how to do this? (preferably with ffmpeg)
...
edit:
Seems like ffmpeg can't extract idx/sub subtitles, so my current way seems to be the only working way.
Cu Selur
Since there is no raw format for dvb subtiles I'd like to extract those subtitles as dvd/vobsub subtitles (idx/sub).
I can do this by:
1st covnerting the subtitles to vobsub subtitles:
ffmpeg -canvas_size 1280x720 -i "C:\Users\Selur\Desktop\Beispiel_DVB_SUBS.mkv" -c:v copy -c:a copy -c:s dvdsub e:\Output\test.mkv
2nd extract those subtitles using mkvextract
mkvextract tracks "E:\Output\test.mkv" 2:"E:\Output\test_id_2_lang_de.idx"
to avoid having to create the temporary mkv file I'd like to convert and extract the dvb subtitles in one go to idx/sub, but so far I can't figure out how to do this with ffmpeg.
(I know I could use '-vn -an' instead of '-c:v copy -c:a copy' to only have the subtitle inside the temporary mkv, to keep it's size small.)
-> Does anyone know how to do this? (preferably with ffmpeg)
...
edit:
Seems like ffmpeg can't extract idx/sub subtitles, so my current way seems to be the only working way.
Cu Selur