Extract Subs from Videofiles to SRT

Come up with a useful post-processing script? Share it here!
Post Reply
NotANoobLol
Newbie
Newbie
Posts: 19
Joined: September 12th, 2017, 7:09 pm

Extract Subs from Videofiles to SRT

Post by NotANoobLol »

Hello,

I'm running SAB on a Raspberrypi 3 which also runs a Plex Server. Obviously the Raspberry is too weak to transcode, so Subtitles won't show up while they are within the Videocontainer.

I already did some research and I found a Script. Unfortunateley it's for every subtitle file extention and doesn't converte these to SRT.

Is there any Script which extracts the Subtitles from Video files (Mostly MKV, AVI in my case) to the SRT format?


Happy for any help!
User avatar
OneCD
Hero Member
Hero Member
Posts: 597
Joined: March 4th, 2017, 3:47 pm

Re: Extract Subs from Videofiles to SRT

Post by OneCD »

You could use that script you linked to to perform the initial extraction, then convert the output with ffmpeg as shown here:
https://superuser.com/a/1093206/455629

:)
Stuff I like: Apache bash cron DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE
Post Reply