Skip to content

Instantly share code, notes, and snippets.

@greatseth
Created February 6, 2009 17:20
Show Gist options
  • Select an option

  • Save greatseth/59506 to your computer and use it in GitHub Desktop.

Select an option

Save greatseth/59506 to your computer and use it in GitHub Desktop.
_\m/ store (master) | ffmpeg -y -i ../videos/dinner.3g2 -sameq -f mp4 -s cif -r 25 -ar 32000 -ac 2 dinner.mp4
FFmpeg version git-611415b, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --prefix=/usr/local --enable-libmp3lame --disable-vhook --enable-shared --disable-mmx --enable-libfaac --enable-libfaad --enable-gpl --enable-libx264 --enable-libamr-nb --enable-libamr-wb --enable-nonfree
libavutil 49.12. 0 / 49.12. 0
libavcodec 52. 7. 0 / 52. 7. 0
libavformat 52.23. 1 / 52.23. 1
libavdevice 52. 1. 0 / 52. 1. 0
built on Feb 6 2009 09:49:33, gcc: 4.0.1 (Apple Inc. build 5490)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '../videos/dinner.3g2':
Duration: 00:03:36.00, start: 0.000000, bitrate: 241 kb/s
Stream #0.0(eng): Audio: qcelp, 8000 Hz, mono, s16
Stream #0.1(eng): Video: mpeg4, yuv420p, 352x288 [PAR 1:1 DAR 11:9], 15.00 tb(r)
Output #0, mp4, to 'dinner.mp4':
Stream #0.0(eng): Video: mpeg4, yuv420p, 352x288 [PAR 1:1 DAR 11:9], q=2-31, 200 kb/s, 25.00 tb(c)
Stream #0.1(eng): Audio: libfaac, 32000 Hz, stereo, s16, 64 kb/s
Stream mapping:
Stream #0.1 -> #0.0
Stream #0.0 -> #0.1
Press [q] to stop encoding
Audio resampler only works with 16 bits per sample, patch welcome.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment