[FFmpeg-user] Sync subtitles with HLS VOD

Carl Eugen Hoyos ceffmpeg at gmail.com
Fri Dec 28 11:05:45 EET 2018

2018-12-27 13:57 GMT+01:00, Tamir Maoz <tamir at yokee.tv>:

> i'm trying to sync webVTT subtitles with HLS video.
> my process:
> 1. segment the mp4 to 10sec segments
> 2. repeat step 1 for multiple renditions
> * these steps are done by using the script found here:
> https://gist.github.com/mrbar42/ae111731906f958b396f30906004b3fa

> 3. segment the webVTT file and update the master playlist with the
> subtitles info.
> * using this command: ffmpeg -i SOURCE -f segment -segment_time 10
> -segment_format webvtt -scodec copy -segment_list PLAYLISTNAME-sub.m3u8
> -segment_list_type m3u8 SEGMENTNAME-%d.vtt

Please provide the actual command line together with the complete,
uncut console output.

Carl Eugen

More information about the ffmpeg-user mailing list