Skip to content

Instantly share code, notes, and snippets.

@lucasdavila
Last active August 29, 2015 14:12
Show Gist options
  • Select an option

  • Save lucasdavila/2807c9b3c47d9f538504 to your computer and use it in GitHub Desktop.

Select an option

Save lucasdavila/2807c9b3c47d9f538504 to your computer and use it in GitHub Desktop.

Revisions

  1. Lucas de Avilla revised this gist Dec 31, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ffmpeg.sh
    Original file line number Diff line number Diff line change
    @@ -1 +1 @@
    ffmpeg -itsoffset -2 -i video.mp4 -vcodec mjpeg -vframes 1 -an -f rawvideo -t 00:00:02 -s 624x416 thumbnail.jpg
    ffmpeg -itsoffset -7 -i video.mov -vcodec mjpeg -f rawvideo -s 624x416 image.jpg
  2. Lucas de Avilla created this gist Dec 31, 2014.
    1 change: 1 addition & 0 deletions ffmpeg.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    ffmpeg -itsoffset -2 -i video.mp4 -vcodec mjpeg -vframes 1 -an -f rawvideo -t 00:00:02 -s 624x416 thumbnail.jpg