[FFmpeg-user] RTMP stream failing

Sebastian Holmqvist sebastian.holmqvist at gmail.com
Thu Nov 22 03:00:46 CET 2012


Hi!

I get invalid characters in the log when accessing a RTMP stream. I run FFmpeg v1.0 compiled on my ARM cpu. What's odd is that it works for FFmpeg v1.0 on my Mac.

This is my command: 
./ffmpeg -rtmp_pageurl http://www.earthcam.com -rtmp_swfurl http://www.earthcam.com/swf/cam_player_v2/ecnPlayer.swf?20120504_a -rtmp_live 1 -i "rtmp://video2.earthcam.com/fecnetwork/4017timessquare.flv.flv"

Linux, ARM, static FFmpeg v1.0
> ffmpeg version 1.0-Serviio_Qnap Copyright (c) 2000-2012 the FFmpeg developers
>   built on Nov 22 2012 02:01:18 with gcc 4.2.3 (GCC)
>   configuration: --arch=arm --enable-armv5te --prefix=/root/.serviio/opt --extra-cflags=-I/opt/include --enable-static --disable-shared --disable-ffplay --disable-ffserver --enable-pthreads --enable-libmp3lame --extra-version=Serviio_Qnap
>   libavutil      51. 73.101 / 51. 73.101
>   libavcodec     54. 59.100 / 54. 59.100
>   libavformat    54. 29.104 / 54. 29.104
>   libavdevice    54.  2.101 / 54.  2.101
>   libavfilter     3. 17.100 /  3. 17.100
>   libswscale      2.  1.101 /  2.  1.101
>   libswresample   0. 15.100 /  0. 15.100
> [rtmp @ 0xf1ef40] Handshaking...
> [rtmp @ 0xf1ef40] Type answer 3
> [rtmp @ 0xf1ef40] Server version 3.0.1.1
> [rtmp @ 0xf1ef40] Proto = rtmp, path = /fecnetwork/4017timessquare.flv, app = fecnetwork, fname = ?zb?ڝ^??C????4017timessquare.flv
> [rtmp @ 0xf1ef40] Server bandwidth = 2500000
> [rtmp @ 0xf1ef40] Client bandwidth = 2500000
> [rtmp @ 0xf1ef40] New incoming chunk size = 4096
> [rtmp @ 0xf1ef40] Creating stream...
> [rtmp @ 0xf1ef40] Sending play command for '?zb?ڝ^??C????4017timessquare.flv'

Mac OS X, Intel, static FFmpeg v1.0
> ffmpeg version 1.0-tessus Copyright (c) 2000-2012 the FFmpeg developers
>   built on Sep 28 2012 22:31:27 with llvm-gcc 4.2.1 (LLVM build 2336.1.00)
>   configuration: --prefix=/Users/tessus/data/ext/ffmpeg/sw --as=yasm --extra-version=tessus --disable-shared --enable-static --disable-ffplay --disable-ffserver --enable-gpl --enable-pthreads --enable-postproc --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-libspeex --enable-bzlib --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libxavs --enable-version3 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvpx --enable-libgsm --enable-libopus --enable-fontconfig --enable-libfreetype --enable-libass --enable-filters --enable-runtime-cpudetect
>   libavutil      51. 73.101 / 51. 73.101
>   libavcodec     54. 59.100 / 54. 59.100
>   libavformat    54. 29.104 / 54. 29.104
>   libavdevice    54.  2.101 / 54.  2.101
>   libavfilter     3. 17.100 /  3. 17.100
>   libswscale      2.  1.101 /  2.  1.101
>   libswresample   0. 15.100 /  0. 15.100
>   libpostproc    52.  0.100 / 52.  0.100
> [rtmp @ 0x101a0c820] Handshaking...
> [rtmp @ 0x101a0c820] Type answer 3
> [rtmp @ 0x101a0c820] Server version 3.0.1.1
> [rtmp @ 0x101a0c820] Proto = rtmp, path = /fecnetwork/4017timessquare.flv, app = fecnetwork, fname = 4017timessquare.flv
> [rtmp @ 0x101a0c820] Server bandwidth = 2500000
> [rtmp @ 0x101a0c820] Client bandwidth = 2500000
> [rtmp @ 0x101a0c820] New incoming chunk size = 4096
> [rtmp @ 0x101a0c820] Creating stream...
> [rtmp @ 0x101a0c820] Sending play command for '4017timessquare.flv'


Am I missing something here? The Mac OS X binary has significantly more plugins by default, perhaps I need one of them?

Sincerely,

--
Sebastian Holmqvist



More information about the ffmpeg-user mailing list