Jul-06-2022, 02:27 PM
(Jul-06-2022, 01:54 PM)snippsat Wrote: Yes,of course that some of the point of this program.
This took me a minute to figure out.i have only used Subtitle Edit to save as.ass
before.
Just select all text(Ctrl+a) and can start with right click(Remove all formatting
) then is clean text.
Yes, works !
And mkvtools do the job correctly - when I play the file in VLC, the subtitles are indeed yellow.
Surprisingly, when I embed the same file in mmpeg, the color information isn't taken into consideration and subtitles remain white.
I tried mkvtools from Python, as you suggested.
Without doubts, I made a mistake because there is output file.
import subprocess input_dir = 'mydir/' video_file = 'video.mp4' subtl_file = 'subtitles.ass' out_file = input_dir+'output_ccc.mp4' subprocess.run(['mkvmerge', '-o out_file', input_dir+video_file, input_dir+subtl_file])