Skip to content

Instantly share code, notes, and snippets.

@klaxa
Created June 23, 2013 21:10
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 klaxa/5846555 to your computer and use it in GitHub Desktop.
Save klaxa/5846555 to your computer and use it in GitHub Desktop.
$ /home/klaxa/Downloads/ffmpeg_static/ffmpeg -i rtmp://localhost/myapp/user1 -loglevel debug -c:a libmp3lame -c:b 320k -f mp3 /tmp/test.mp3
ffmpeg version N-54023-g6fe419b Copyright (c) 2000-2013 the FFmpeg developers
built on Jun 14 2013 05:25:56 with gcc 4.6 (Debian 4.6.3-1)
configuration: --prefix=/root/ffmpeg-static/64bit --extra-cflags='-I/root/ffmpeg-static/64bit/include -static' --extra-ldflags='-L/root/ffmpeg-static/64bit/lib -static' --extra-libs='-lxml2 -lexpat -lfreetype' --enable-static --disable-shared --disable-ffserver --disable-doc --enable-bzlib --enable-zlib --enable-postproc --enable-runtime-cpudetect --enable-libx264 --enable-gpl --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-gray --enable-libass --enable-libfreetype --enable-libopenjpeg --enable-libspeex --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-version3 --enable-libvpx
libavutil 52. 35.101 / 52. 35.101
libavcodec 55. 16.100 / 55. 16.100
libavformat 55. 8.102 / 55. 8.102
libavdevice 55. 2.100 / 55. 2.100
libavfilter 3. 77.101 / 3. 77.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
Splitting the commandline.
Reading option '-i' ... matched as input file with argument 'rtmp://localhost/myapp/user1'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'libmp3lame'.
Reading option '-c:b' ... matched as option 'c' (codec name) with argument '320k'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'mp3'.
Reading option '/tmp/test.mp3' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input file rtmp://localhost/myapp/user1.
Successfully parsed a group of options.
Opening an input file: rtmp://localhost/myapp/user1.
[rtmp @ 0x278f440] Handshaking...
[rtmp @ 0x278f440] Type answer 3
[rtmp @ 0x278f440] Server version 1.2.3.4
[rtmp @ 0x278f440] Proto = rtmp, path = /myapp/user1, app = myapp, fname = user1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment