I have been looking for a script that extracts the internal subs of my files so I can convert them to external SRT if necessary (e.g. sub/idx or pgs).
I found this script (https://pastebin.com/MmKQjjYB) in the web and it works like a charm but if a file for instance has two english subs (one normal and one SDH) the first extracted gets overwritten by the second one.
I would like to keep both so I could have a look at both but do not know how I need to adopt the script.
Does anyone have a hint?
Anything is appreciated, thank you!