Skip to content

Instantly share code, notes, and snippets.

@tubbo
Created November 17, 2011 19:28
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 tubbo/1374184 to your computer and use it in GitHub Desktop.
Save tubbo/1374184 to your computer and use it in GitHub Desktop.
~$ sox --combine mix -p --no-show-progress --norm -t wav "|ffmpeg -i /usr/share/red5/webapps/audiorecorder/streams/audioStream_1321399534128_21.flv -ar 44100 -ac 2 -f wav pipe:1" /usr/share/red5/webapps/audiorecorder/streams/wrong.wav -t wav "|ffmpeg -i pipe:1 /home/lincur4/trauma101.com/compiled.mp3"
FFmpeg version SVN-r0.5.5-4:0.5.5-1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --extra-version=4:0.5.5-1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libdirac --enable-libgsm --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libfaad --enable-libdc1394 --enable-shared --disable-static
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 1 / 52.20. 1
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libavfilter 0. 4. 0 / 0. 4. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Nov 5 2011 14:36:22, gcc: 4.4.5
Input #0, flv, from '/usr/share/red5/webapps/audiorecorder/streams/audioStream_1321399534128_21.flv':
Duration: 00:00:06.77, start: 0.000000, bitrate: N/A
Stream #0.0: Audio: libspeex, 5512 Hz, mono, s16
Output #0, wav, to 'pipe:1':
Stream #0.0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
Stream mapping:
Stream #0.0 -> #0.0
[libspeex @ 0x21dd800]Missing Speex header, assuming defaults.
Press [q] to stop encoding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment