[FFmpeg-user] How to capture an RTMP stream

Moritz Barsnick barsnick at gmx.net
Sat Jul 25 12:41:58 CEST 2015


On Sat, Jul 25, 2015 at 02:55:54 -0700, DopeLabs wrote:
> rune:~ dopelabs$ ffmpeg -i "rtmp://cp258849.live.edgefcs.net/live/SonLife0616@327662" -c copy -f mp4 test.mp4
> ffmpeg version N-66156-gb76d6eb Copyright (c) 2000-2014 the FFmpeg developers
>   built on Sep  7 2014 07:54:06 with Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
>   configuration:
>   libavutil      54.  7.100 / 54.  7.100
>   libavcodec     56.  1.100 / 56.  1.100
>   libavformat    56.  4.100 / 56.  4.100
>   libavdevice    56.  0.100 / 56.  0.100
>   libavfilter     5.  1.100 /  5.  1.100
>   libswscale      3.  0.100 /  3.  0.100
>   libswresample   1.  1.100 /  1.  1.100

Then it seems like a regression. With my much newer version, I get the error which
the original poster quoted:

$ ffmpeg -i "rtmp://cp258849.live.edgefcs.net/live/SonLife0616@327662" -c copy -f mp4 test.mp4
ffmpeg version N-73534-g3bb58c3 Copyright (c) 2000-2015 the FFmpeg developers
  built with icc (ICC) 14.0.3 20140422
  configuration: --prefix=/usr/new/tools/video/install/ffmpeg/2015-07-11 --cc=icc --cxx=icpc --enable-gpl --enable-version3 --enable-nonfree --disable-shared --enable-gnutls --enable-libcdio --enable-libfreetype --enable-libx264 --enable-libmp3lame --enable-openal --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libass --enable-libv4l2 --enable-libvidstab --enable-libfdk-aac --enable-libsmbclient --enable-libquvi --enable-libzvbi --enable-libzmq
  libavutil      54. 28.100 / 54. 28.100
  libavcodec     56. 47.100 / 56. 47.100
  libavformat    56. 40.100 / 56. 40.100
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 21.100 /  5. 21.100
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.100 /  1.  2.100
  libpostproc    53.  3.100 / 53.  3.100
Closing connection: NetStream.Play.StreamNotFound
rtmp://cp258849.live.edgefcs.net/live/SonLife0616@327662: Unknown error occurred

Looks like someone needs to do a git bisect. ;-) (Not me. :))
Moritz


More information about the ffmpeg-user mailing list