Rtmp does not work in version 4.1.3-win32-static

Questions involving a Windows version of FFmpeg.
Post Reply
beto
Posts: 2
Joined: Sat Nov 09, 2013 1:25 pm

Rtmp does not work in version 4.1.3-win32-static

Post by beto » Wed Jun 12, 2019 1:50 pm

Hello,
rtmp transmission does not work in version 4.1.3.
ERROR:
[rtmp @ 00d968c0] No credentials set
[rtmp @ 00d968c0] Server error: [ AccessManager.Reject ] : [ code=403 need auth;
authmod=adobe ] :
rtmp://server.XXX.com.br/meudominio/teste: Unknown error occurred

Using the same code in the 2015-05-26 version git-a838b22 it works.
Below reports
What would be the problem?

Thank you.
Adalberto

******** VERSION 4.1.3 NOT WORK


C:\FILMES\testesFFMPEG>ffmpeg.exe -re -i 1.mp4 -f flv "rtmp://server.XXX.com.br/meudominio/teste"
ffmpeg version 4.1.3 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 8.3.1 (GCC) 20190414
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfi
g --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-lib
freetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amr
wb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --
enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-l
ibwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --
enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --en
able-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --en
able-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --e
nable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enab
le-avisynth
libavutil 56. 22.100 / 56. 22.100
libavcodec 58. 35.100 / 58. 35.100
libavformat 58. 20.100 / 58. 20.100
libavdevice 58. 5.100 / 58. 5.100
libavfilter 7. 40.101 / 7. 40.101
libswscale 5. 3.100 / 5. 3.100
libswresample 3. 3.100 / 3. 3.100
libpostproc 55. 3.100 / 55. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '1.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf56.33.101
Duration: 00:04:59.76, start: 0.000000, bitrate: 686 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 848x480 [
SAR 1:1 DAR 53:30], 616 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: mp3 (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 64
kb/s (default)
Metadata:
handler_name : SoundHandler
[rtmp @ 00d968c0] No credentials set
[rtmp @ 00d968c0] Server error: [ AccessManager.Reject ] : [ code=403 need auth;
authmod=adobe ] :
rtmp://server.XXX.com.br/meudominio/teste: Unknown error occurred

C:\FILMES\testesFFMPEG>

****** VERSION 2015-05-26 version git-a838b22 OK


C:\FILMES\testesFFMPEG>ffmpeg.exe -re -i 1.mp4 -f flv "rtmp://server.XXX.com.br/meudominio/teste"
ffmpeg version N-72346-ga838b22 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.9.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-l
ibilbc --enable-libmodplug --enable-libmfx --enable-libmp3lame --enable-libopenc
ore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --ena
ble-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable
-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enabl
e-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable
-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --e
nable-lzma --enable-decklink --enable-zlib
libavutil 54. 24.100 / 54. 24.100
libavcodec 56. 41.100 / 56. 41.100
libavformat 56. 33.101 / 56. 33.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 16.101 / 5. 16.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '1.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf56.33.101
Duration: 00:04:59.76, start: 0.000000, bitrate: 686 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 848x480 [
SAR 1:1 DAR 53:30], 616 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: mp3 (mp4a / 0x6134706D), 44100 Hz, stereo, s16p, 64
kb/s (default)
Metadata:
handler_name : SoundHandler
Output #0, flv, to 'rtmp://server.XXX.com.br/meudominio/teste':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf56.33.101
Stream #0:0(und): Video: flv1 (flv) ([2][0][0][0] / 0x0002), yuv420p, 848x48
0 [SAR 1:1 DAR 53:30], q=2-31, 200 kb/s, 25 fps, 1k tbn, 25 tbc (default)
Metadata:
handler_name : VideoHandler
encoder : Lavc56.41.100 flv
Stream #0:1(und): Audio: mp3 (libmp3lame) ([2][0][0][0] / 0x0002), 44100 Hz,
stereo, s16p (default)
Metadata:
handler_name : SoundHandler
encoder : Lavc56.41.100 libmp3lame
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> flv1 (flv))
Stream #0:1 -> #0:1 (mp3 (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
frame= 3 fps=0.0 q=2.0 size= 23kB time=00:00:00.21 bitrate= 895.9kbits/s
frame= 13 fps= 11 q=1.6 size= 59kB time=00:00:00.62 bitrate= 771.2kbits/s
frame= 25 fps= 12 q=2.2 size= 102kB time=00:00:01.07 bitrate= 780.1kbits/s
frame= 37 fps= 13 q=3.7 size= 142kB time=00:00:01.54 bitrate= 753.6kbits/s
frame= 49 fps= 14 q=4.3 size= 177kB time=00:00:02.03 bitrate= 710.7kbits/s
frame= 61 fps= 15 q=5.4 size= 210kB time=00:00:02.50 bitrate= 687.0kbits/s
[flv @ 02c49960] Failed to update header with correct duration.
[flv @ 02c49960] Failed to update header with correct filesize.
frame= 69 fps= 15 q=6.1 Lsize= 241kB time=00:00:02.90 bitrate= 680.2kbits/
s
video:192kB audio:46kB subtitle:0kB other streams:0kB global headers:0kB muxing
overhead: 1.354311%

C:\FILMES\testesFFMPEG>

Post Reply
'