我从以下位置运行最新编译的 ffmpeg 版本:http: //ffmpeg.gusari.org/static/
此命令在 Windows 上正常工作:
ffmpeg -i "rtmp://myIpAddress/live/video live=1" -c copy dump.flv
当我在 Linux 上运行它时(ffmpeg 来自http://ffmpeg.gusari.org/static/64bit/)
ffmpeg -i "rtmp://myIpAddress/live/video live=1" -c copy dump.flv
我有:
ffmpeg version N-46124-gb399816 Copyright (c) 2000-2012 the FFmpeg developers
built on Oct 29 2012 05:22:17 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. 1.100 / 52. 1.100
libavcodec 54. 69.100 / 54. 69.100
libavformat 54. 35.100 / 54. 35.100
libavdevice 54. 3.100 / 54. 3.100
libavfilter 3. 20.106 / 3. 20.106
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 16.100 / 0. 16.100
libpostproc 52. 1.100 / 52. 1.100
[rtmp @ 0x37bde40] Server error:
rtmp://myIPAddress/live/video live=1: Operation not permitted
任何想法 ?