Install openai whisper on macos using homebrew (more info at https://brew.sh/ ) :
>brew install openai-whisper#create subtitle from a .mp4 movie and save the result in a .srt file e.g movie.mp4
> whisper -f srt "movie.mp4"
#whisper -h for more command line options
#Rename .srt to same filename as the .mp4 file e.g movie.mp4 and movie.srt
Open movie.mp4 in e.g VLC.app (videolan app) and select Subtitles->Subtitles Track menu
To burn in the subtitle in the movie use handbrake.app
Open movie.mp4 in handbrake.appClick in Subtitles button
Click in Tracks popup menu and select Add External Subtitles Track…
Select the movie.srt file
Click on Burned In button and select Language that movie.srt file contains e.g English
Click Start to encode and burn in the text.
Inga kommentarer:
Skicka en kommentar