diff -r 542525cfb513 -r 0feb538ef035 video.rst --- a/video.rst Sat Aug 13 22:32:42 2016 +0300 +++ b/video.rst Sat Aug 13 23:14:21 2016 +0300 @@ -13,8 +13,8 @@ $ sudo apt-get install vlc $ sudo apt-get install mplayer -Determine video format. -======================= +Determine video format +====================== :: $ file $VIDEO @@ -26,8 +26,19 @@ http://en.gentoo-wiki.com/wiki/Show_Video_Codecs Show Video Codecs -3d film. -======== +Make screenshot from video +========================== + +Seek to desired position with ``-ss`` option:: + + $ ffmpeg -ss 600 -i $IN.avi -vframes 1 $OUT.png + +You can apply filters, like resize:: + + $ ffmpeg -ss 600 -i $IN.avi -vframes 1 -s 320x240 $OUT.png + +Playing 3d film +=============== :: $ mplayer -vf stereo3d=side_by_side_left_first:anaglyph_red_cyan_color -vo gl $VIDEO @@ -46,7 +57,7 @@ $ cheese $ camorama -Make screenshort from web camera:: +Make screenshot from web camera:: $ ffmpeg -f video4linux2 -i /dev/v4l/by-id/CAMERA -vframes 1 test.jpeg $ ffmpeg -f video4linux2 -i /dev/v4l/by-id/CAMERA -vframes 4 test%3d.jpeg