New Zeranoe ffmpeg is out, version 3.3.4 and the latest change is that it is not compiled with librtmp.
Despite that, it works with an error message, saves the stream on this site but still not the right one.
I wish ffmpeg team were reading this.
Here are right params error message refers to ( native rtmp ):
https://libav.org/avconv.html#rtmp
Librtmp params:
Code:
ffmpeg.exe -i "rtmp://birds.cdn.newschat.tv/edge app=edge swfUrl=http://newschat.tv/player.swf pageUrl=http://www.livenewschat.eu/international/ playpath=cnni_live live=1" -c copy test.flv
error message:
Code:
[rtmp @ 0000000000758bc0] Detected librtmp style URL parameters, these aren't supported by the libavformat internal RTMP handler currently enabled. See the documentation for the correct way to pass parameters.
Libav params:
Code:
ffmpeg.exe -i rtmp://birds.cdn.newschat.tv/edge -rtmp_app edge -rtmp_swfurl http://newschat.tv/player.swf -rtmp_pageurl http://www.livenewschat.eu/international/ -rtmp_playpath cnni_live -c copy test.flv
With native params there is no need to specify whether stream is live or not. FFmpeg handles that.
( -rtmp_live live )
https://ffmpeg.org/ffmpeg-protocols.html#rtmp
no error message:
Code:
C:\>ffmpeg.exe -i rtmp://birds.cdn.newschat.tv/edge -rtmp_app edge -rtmp_swfurl http://newschat.tv/player.swf -rtmp_pageurl http://www.livenewschat.eu/international/ -rtmp_playpath cnni_live -c copy test.flv
ffmpeg version 3.3.4 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 7.2.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx
libavutil 55. 58.100 / 55. 58.100
libavcodec 57. 89.100 / 57. 89.100
libavformat 57. 71.100 / 57. 71.100
libavdevice 57. 6.100 / 57. 6.100
libavfilter 6. 82.100 / 6. 82.100
libswscale 4. 6.100 / 4. 6.100
libswresample 2. 7.100 / 2. 7.100
libpostproc 54. 5.100 / 54. 5.100
Input #0, flv, from 'rtmp://birds.cdn.newschat.tv/edge':
Metadata:
Server : NGINX RTMP (github.com/arut/nginx-rtmp-module)
displayWidth : 640
displayHeight : 480
fps : 120
profile :
level :
Duration: 00:00:00.00, start: 36.633000, bitrate: N/A
Stream #0:0: Video: h264 (Main), yuv420p(progressive), 640x480 [SAR 1:1 DAR 4:3], 608 kb/s, 120 fps, 30 tbr, 1k tbn, 60 tbc
Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp, 95 kb/s
Output #0, flv, to 'test.flv':
Metadata:
Server : NGINX RTMP (github.com/arut/nginx-rtmp-module)
displayWidth : 640
displayHeight : 480
fps : 120
profile :
level :
encoder : Lavf57.71.100
Stream #0:0: Video: h264 (Main) ([7][0][0][0] / 0x0007), yuv420p(progressive), 640x480 [SAR 1:1 DAR 4:3], q=2-31, 608 kb/s, 120 fps, 30 tbr, 1k tbn, 1k tbc
Stream #0:1: Audio: aac (LC) ([10][0][0][0] / 0x000A), 44100 Hz, stereo, fltp, 95 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 117 fps= 40 q=-1.0 size= 177kB time=00:00:03.86 bitrate= 374.9kbits/s speed=1.32x
Zeranoe FFmpeg Builds
http://ffmpeg.zeranoe.com/builds/
Build: ffmpeg-3.3.4-win64-static
Code:
Configuration:
--enable-gpl
--enable-version3
--enable-sdl2
--enable-bzlib
--enable-fontconfig
--enable-gnutls
--enable-iconv
--enable-libass
--enable-libbluray
--enable-libfreetype
--enable-libmp3lame
--enable-libopenjpeg
--enable-libopus
--enable-libshine
--enable-libsnappy
--enable-libsoxr
--enable-libtheora
--enable-libtwolame
--enable-libvpx
--enable-libwavpack
--enable-libwebp
--enable-libx264
--enable-libx265
--enable-libzimg
--enable-lzma
--enable-zlib
--enable-gmp
--enable-libvidstab
--enable-cuda
--enable-cuvid
--enable-d3d11va
--enable-nvenc
--enable-dxva2
--enable-avisynth
--enable-libmfx
Libraries:
SDL 2.0.6 <https://libsdl.org>
bzip2 1.0.6 <http://bzip.org/>
Fontconfig 2.12.4 <http://freedesktop.org/wiki/Software/fontconfig>
GnuTLS 3.5.15 <http://gnutls.org>
libiconv 1.15 <http://gnu.org/software/libiconv/>
libass 0.13.7 <https://github.com/libass/libass>
libbluray 20170919-b5e30fc <http://videolan.org/developers/libbluray.html>
FreeType 2.8 <http://freetype.sourceforge.net>
LAME 3.99.5 <http://lame.sourceforge.net>
OpenJPEG 2.3.0 <https://github.com/uclouvain/openjpeg>
Opus 1.2.1 <http://opus-codec.org>
shine 3.1.1 <https://github.com/savonet/shine>
Snappy 1.1.6 <https://github.com/google/snappy>
libsoxr 20160605-5fa7eeb <http://sourceforge.net/projects/soxr>
Theora 1.1.1 <http://theora.org>
TwoLAME 0.3.13 <http://twolame.org>
vpx 1.6.1 <http://webmproject.org>
WavPack 5.1.0 <http://wavpack.com>
WebP 0.6.0 <https://developers.google.com/speed/webp>
x264 20170626-ba24899 <http://videolan.org/developers/x264.html>
x265 20171009-0e168bd <https://bitbucket.org/multicoreware/x265/wiki/Home>
z.lib 20170913-dc68ac8 <https://github.com/sekrit-twc/zimg>
XZ 5.2.3 <Utils http://tukaani.org/xz>
zlib 1.2.11 <http://zlib.net>
GMP 6.1.2 <https://gmplib.org>
vid.stab 20170830-afc8ea9 <http://public.hronopik.de/vid.stab>
libmfx 1.23 <https://software.intel.com/en-us/media-sdk>
Copyright (C) 2017 Kyle Schwarz