video.rst
changeset 2018 813aa342d9ce
parent 2017 6ffd71b07385
child 2019 48ef940fd6b9
equal deleted inserted replaced
2017:6ffd71b07385 2018:813aa342d9ce
    43 
    43 
    44 Extract one frame per second::
    44 Extract one frame per second::
    45 
    45 
    46   $ ffmpeg -i $IN.avi -vf fps=1 image-%03d.png
    46   $ ffmpeg -i $IN.avi -vf fps=1 image-%03d.png
    47 
    47 
       
    48 Extract subtitles from video
       
    49 ============================
       
    50 
       
    51 Find stream id with ``ffprobe $VIDEO`` and pass to::
       
    52 
       
    53   $ ffmpeg -y -i in.mkv -map 0:$ID -f webvtt out.vtt
       
    54 
       
    55 List of supported by ``ffmpeg`` subtitle formats::
       
    56 
       
    57   $ ffmpeg -formats | grep subt
    48 
    58 
    49 Playing 3d film
    59 Playing 3d film
    50 ===============
    60 ===============
    51 ::
    61 ::
    52 
    62