Jun-12-2022, 11:11 AM
(Jun-12-2022, 10:52 AM)snippsat Wrote: There is a problem embed WebVTT(.vtt) in mp4I found this command searching on the web. I thought that it should work as follows:
Quote:Embed WebVTT?So can use FFmpeg look at link or search.No, not supported in MP4
- download video stream, audio stream and subtitles as .vtt
- merge video and audio
- convert subtiles .vtt to subtitles .srt
- embed .srt in video-audio
According to your advise to build the video with subtitles, one have to proceed with 2 streps:
- download and merge audio & video and download subtitles .vtt using yt-dlp
- use FFmpeg to embed .vtt in video