[FFmpeg-user] Subtitles
Vincent Meyrignac
vmeyrignac at lendwi.com
Tue Mar 8 13:13:13 EET 2022
Good day.
What I intend to do is to merge a subtitles file to a video one and get
a video file with the subtitles.
I am using a HP Notebook with CPU Intel(R) Core (TM) i7-7500 CPU@
2.70GHz 2.90 GHz
with RAM 8,00 Go
AMD radeon
and with Windows 10 Family 1803
Ok : it's not very fast to make videos but I am ritired and I got time.
My FFmpeg is the version in ffmpeg-2022-03-03-git-72684d2c2d-full_build.7z
properly installed in "C:\Program Files (x86)\FFmpeg" directory
and I have update the path so that it look like :
PATH=...;C:\Program Files (x86)\FFmpeg\bin\;...
My files are say :
- myvideo.mov : the unsubtitled video file ;
- myvideo.str : the subtitles file ;
and I intend to produce :
- myvideo_st.mp4 : a video file subtitled ;
If my .bat file look like :
ffmpeg -i "myvideo.mov" -i "myvideo.str" "myvideo_st.mp4"
it works very well but, obviously, I got no subtitle in myvideo_st.mp4
(I know those "..." are useless here but my real names got spaces).
If my .bat file look like :
ffmpeg -i "myvideo.mov" -i "myvideo.str" "myvideo_st.mov"
I got no subtitle in myvideo_st.mov, again.
I am sure I am wrong.
How can I said to ffmpeg :
"ffmpeg, would you please make me the video "myvideo_st.xyz"
with the video file "myvideo.mov" (or" myvideo.zyx")
and the subtitles file "myvideo.str"
in the way I got my subtitles visible in "myvideo_st.xyz." "
I wander if it is possible.
If it is possible, please, tell me how.
Thank's a lot.
Vincent Meyrignac
vmeyrignac at lendwi.com
More information about the ffmpeg-user
mailing list