Skip to content

Instantly share code, notes, and snippets.

Created December 26, 2012 04:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/39eb4034fbb3c4126b2e to your computer and use it in GitHub Desktop.
Save anonymous/39eb4034fbb3c4126b2e to your computer and use it in GitHub Desktop.
ffmpeg -i thegame_partial_web_broadband.mov -vf format=rgb8,format=rgb24 -pix_fmt rgb8 -s 355x270 -r 5 -ss 00:00:15.00 -t 00:00:15.000 giffed/output%03d.gif
ffmpeg version 1.0.1 Copyright (c) 2000-2012 the FFmpeg developers
built on Dec 25 2012 19:21:23 with llvm-gcc 4.2.1 (LLVM build 2335.15.00)
configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libspeex --enable-libfreetype --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/llvm-gcc-4.2 --arch=x86_64 --enable-yasm --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid --enable-nonfree --enable-libfaac
libavutil 51. 73.101 / 51. 73.101
libavcodec 54. 59.100 / 54. 59.100
libavformat 54. 29.104 / 54. 29.104
libavdevice 54. 2.101 / 54. 2.101
libavfilter 3. 17.100 / 3. 17.100
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'thegame_partial_web_broadband.mov':
Metadata:
major_brand : M4VH
minor_version : 1
compatible_brands: M4VHM4V M4A mp42isom
creation_time : 2012-12-26 02:20:35
date : 2012-12-25T18:07:02-0800
encoder : Mac OS X v10.7.5 (CMA 891, CM 705.94, x86_64)
Duration: 00:00:37.66, start: 0.000000, bitrate: 1895 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 710x540 [SAR 1:1 DAR 71:54], 1891 kb/s, 22.04 fps, 60 tbr, 6k tbn, 12k tbc
Metadata:
creation_time : 2012-12-26 02:20:35
handler_name : Core Media Video
[swscaler @ 0x7fbf3886c000] No accelerated colorspace conversion found from yuv420p to rgb8.
[swscaler @ 0x7fbf38874000] No accelerated colorspace conversion found from yuv420p to rgb8.
[swscaler @ 0x7fbf3887cc00] No accelerated colorspace conversion found from yuv420p to rgb8.
[swscaler @ 0x7fbf3889d800] full chroma interpolation for destination format 'rgb8' not yet implemented
[swscaler @ 0x7fbf388b9e00] full chroma interpolation for destination format 'rgb8' not yet implemented
[swscaler @ 0x7fbf388c3200] full chroma interpolation for destination format 'rgb8' not yet implemented
Output #0, image2, to 'giffed/output%03d.gif':
Metadata:
major_brand : M4VH
minor_version : 1
compatible_brands: M4VHM4V M4A mp42isom
date : 2012-12-25T18:07:02-0800
encoder : Lavf54.29.104
Stream #0:0(und): Video: gif, rgb8, 355x270 [SAR 1:1 DAR 71:54], q=2-31, 200 kb/s, 90k tbn, 5 tbc
Metadata:
creation_time : 2012-12-26 02:20:35
handler_name : Core Media Video
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> gif)
Press [q] to stop, [?] for help
frame= 75 fps= 23 q=0.0 Lsize= 0kB time=00:00:15.00 bitrate= 0.0kbits/s dup=0 drop=245
video:1672kB audio:0kB subtitle:0 global headers:0kB muxing overhead -100.000000%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment