Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Subtitles

Reply
 
Thread Tools Search this Thread Display Modes
Old 21st December 2018, 14:59   #1  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 5,867
extract dvb subtitles as dvd subtitles from mkv in one go?

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:
Code:
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
Code:
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
__________________
Hybrid here in the forum, homepage

Last edited by Selur; 21st December 2018 at 18:05.
Selur is offline   Reply With Quote
Reply

Tags
dvb_subs, ffmpeg

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 16:50.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.