Just to save anyone the troublesome hours I had: Do *not* bother to rip subtitles off a DVD and OCR them to an .srt with any Linux command line tools. Instead, go straight to crossplatform SubtitleEdit, which looks optimized for Windows, but runs via Mono on Linux too.
Failed attempts:
#1 exctracting a dvd_subtitle stream via ffmpeg to get .sub/.idx – simply doesn't seem to be on the menu
#2 creating an .mkv with subtitles included via ffmpeg, and then extract .sub/.idx from that with mkvextract – fails because ffmpeg doesn't set the "codec private" data on the subtitle streams when building the .mkv
#3.1 using mencoder to extract .sub/.idx from a .vob /does/ work, but …
#3.2 … any command line tools to create an .srt from these are abandoned/not supported anymore/kicked out of the repos for good reason, as are all their dependencies (hello there, subtitleripper, transcode, vobsub2pgm, VobSub2SRT …) – so getting them to run can become a rather annoying process
Bonus non-command-line attempt: avidemux supposedly has a "OCR (VobSub -> Srt)" feature in its "Tools" menu – well, except that was removed some versions back …
Failed attempts:
#1 exctracting a dvd_subtitle stream via ffmpeg to get .sub/.idx – simply doesn't seem to be on the menu
#2 creating an .mkv with subtitles included via ffmpeg, and then extract .sub/.idx from that with mkvextract – fails because ffmpeg doesn't set the "codec private" data on the subtitle streams when building the .mkv
#3.1 using mencoder to extract .sub/.idx from a .vob /does/ work, but …
#3.2 … any command line tools to create an .srt from these are abandoned/not supported anymore/kicked out of the repos for good reason, as are all their dependencies (hello there, subtitleripper, transcode, vobsub2pgm, VobSub2SRT …) – so getting them to run can become a rather annoying process
Bonus non-command-line attempt: avidemux supposedly has a "OCR (VobSub -> Srt)" feature in its "Tools" menu – well, except that was removed some versions back …
- replies
- 0
- announces
- 0
- likes
- 1