Skip to content

Instantly share code, notes, and snippets.

@saschagehlich
Created October 8, 2013 09:49
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 saschagehlich/04f0c9e8814977c3a4ce to your computer and use it in GitHub Desktop.
Save saschagehlich/04f0c9e8814977c3a4ce to your computer and use it in GitHub Desktop.
$ ffmpeg -y -i public/videos/input/video-asia-0.mp4 -b 1m -vcodec libvpx -acodec libvorbis -ab 160000 -g 30 -s 1280x720 public/videos/video-asia-0-medium.webm
ffmpeg version 0.8.6-6:0.8.6-1ubuntu2, Copyright (c) 2000-2013 the Libav developers
built on Mar 30 2013 22:20:06 with gcc 4.7.2
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'public/videos/input/video-asia-0.mp4':
Metadata:
major_brand : mp42
minor_version : 1
compatible_brands: mp42mp41
creation_time : 2013-09-18 16:34:52
Duration: 00:00:35.96, start: 0.000000, bitrate: 28866 kb/s
Stream #0.0(eng): Video: h264 (Constrained Baseline), yuv420p, 1920x1080, 28606 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
Metadata:
creation_time : 2013-09-18 16:34:52
Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16, 255 kb/s
Metadata:
creation_time : 2013-09-18 16:34:52
[buffer @ 0x13aea60] w:1920 h:1080 pixfmt:yuv420p
[scale @ 0x13ad7a0] w:1920 h:1080 fmt:yuv420p -> w:1280 h:720 fmt:yuv420p flags:0x4
[libvpx @ 0x13acac0] v1.1.0
[1] 3475 floating point exception (core dumped) ffmpeg -y -i public/videos/input/video-asia-0.mp4 -b 1m -vcodec libvpx -acode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment