changeset 2018 | 813aa342d9ce |
parent 2017 | 6ffd71b07385 |
child 2019 | 48ef940fd6b9 |
--- a/video.rst Wed Aug 24 01:50:38 2016 +0300 +++ b/video.rst Wed Aug 24 01:59:41 2016 +0300 @@ -45,6 +45,16 @@ $ ffmpeg -i $IN.avi -vf fps=1 image-%03d.png +Extract subtitles from video +============================ + +Find stream id with ``ffprobe $VIDEO`` and pass to:: + + $ ffmpeg -y -i in.mkv -map 0:$ID -f webvtt out.vtt + +List of supported by ``ffmpeg`` subtitle formats:: + + $ ffmpeg -formats | grep subt Playing 3d film ===============