FileFlows
FileFlows copied to clipboard
Suggestion: Subtitle Add Track similar to Audio Add Track
It would be nice to use the same methodology with both subs and audio if possible. Remove all then add back in only the ones you need. Not sure if the changing of the subtitle codec would be applicable everywhere, i havent really converted many sub types. It may be helpful in some cases like the mov_text subs not being applicable to copy in mkv but converting them to srt makes them work.
Thanks,
its a lot easier making a new audio track from a different audio track, than making a subtitle track for another subtitle track.
but agreed, it would be nice if mov_text for example could be converted to a supported type.
Okay, yeah that's why i said if possible. I wasn't entirely sure how easy it would be to implement something like this.
The remove sub node works just fine for me to get the ones i need. But ever since i ran into some mov_text ones i added a custom ffmpeg/ffprobe script that sees if mov_text subs exist and converts them if they do. It runs before my main ffmpeg builder and i thought it would be nice to not need to run an extra ffmpeg statement when all it really needed is a different codec set.
can you provide the command that converts the subs? wasnt aware ffmpeg could convert these. im not an expert on subtitle formats yet, text subs to text subs should be relatively easy, but image subs to text subs, thats obviously more complex.
will leave this issue open and one day it will be done. because clearly its a good feature/idea.
Specifically that type can be "fixed" if you just set the subtitle codec to srt so my script just goes through and does this "-c:s:[stream index] srt" for all the ones that apply and does copy for all the other streams. The conversion does make them pretty small compared to the originals. Not sure if that can be fixed. Apparently github doesnt support attaching .json files or id just attach the script too.
Before:
After: