Skip to content

Instantly share code, notes, and snippets.

@Meekohi
Last active November 12, 2015 22:18
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 Meekohi/15e344d85d5fc4592a9e to your computer and use it in GitHub Desktop.
Save Meekohi/15e344d85d5fc4592a9e to your computer and use it in GitHub Desktop.
meekohi(master) ~/eaboa976hibw$ ffmpeg -i jpegs/%03d.jpg -b:v 2M -g 4 -vframes 70 -s 512:512 -vcodec libvpx spin.webm
ffmpeg version 2.8 Copyright (c) 2000-2015 the FFmpeg developers
built with Apple LLVM version 7.0.0 (clang-700.0.72)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.8 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-libtheora --enable-libvorbis --enable-libvpx --enable-vda
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
Input #0, image2, from 'jpegs/%03d.jpg':
Duration: 00:00:02.80, start: 0.000000, bitrate: N/A
Stream #0:0: Video: mjpeg, gbrap(bt470bg/unknown/unknown), 512x512 [SAR 72:72 DAR 1:1], 25 fps, 25 tbr, 25 tbn, 25 tbc
[libvpx @ 0x7f877a002200] v1.4.0
Output #0, webm, to 'spin.webm':
Metadata:
encoder : Lavf56.40.101
Stream #0:0: Video: vp8 (libvpx), yuva420p, 512x512 [SAR 1:1 DAR 1:1], q=-1--1, 2000 kb/s, 25 fps, 1k tbn, 25 tbc
Metadata:
encoder : Lavc56.60.100 libvpx
Stream mapping:
Stream #0:0 -> #0:0 (mjpeg (native) -> vp8 (libvpx))
Press [q] to stop, [?] for help
frame= 70 fps= 43 q=0.0 Lsize= 224kB time=00:00:02.80 bitrate= 655.8kbits/s
video:210kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 6.865954%
meekohi(master) ~/eaboa976hibw$ ffmpeg -i spin.webm
ffmpeg version 2.8 Copyright (c) 2000-2015 the FFmpeg developers
built with Apple LLVM version 7.0.0 (clang-700.0.72)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.8 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-libtheora --enable-libvorbis --enable-libvpx --enable-vda
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
Input #0, matroska,webm, from 'spin.webm':
Metadata:
encoder : Lavf56.40.101
Duration: 00:00:02.80, start: 0.000000, bitrate: 655 kb/s
Stream #0:0: Video: vp8, yuv420p, 512x512, SAR 1:1 DAR 1:1, 25 fps, 25 tbr, 1k tbn, 1k tbc (default)
Metadata:
alpha_mode : 1
At least one output file must be specified
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment