Hello everyone,
I am facing a strange problem with WCS.
It is installed on a root server running CentOS 7. The installation was successful. The instructions for troubleshooting (https://forum.flashphoner.com/threads/troubleshooting.10768/) didn't help a lot in this case and only showed that everything was correctly setup.
I try to publish an example video with ffmpeg to WCS. This video should then be played back through WebRTC (which doesn't matter for this problem though). I publish the video through RTMP. The FFMPEG command is the following:
"test" would the RTMP-streamName.
This is the output I receive from FFMPEG:
As seen in the last two lines, no connection can be established.
I am sure that all relevant ports are open, I am also reaching the webpage exposed on port :8888 by WCS.
Strangely, whene I change "rtmp://" with "rtp://", no error is thrown and the video seems to be processed as expected.
What may be the problem in this case that I can't stream the video through RTMP?
Thanks in advance.
I am facing a strange problem with WCS.
It is installed on a root server running CentOS 7. The installation was successful. The instructions for troubleshooting (https://forum.flashphoner.com/threads/troubleshooting.10768/) didn't help a lot in this case and only showed that everything was correctly setup.
I try to publish an example video with ffmpeg to WCS. This video should then be played back through WebRTC (which doesn't matter for this problem though). I publish the video through RTMP. The FFMPEG command is the following:
Code:
.\ffmpeg.exe -i ..\..\big_buck_bunny_1080p_h264.mov -c:v libx264 -profile:v baseline -preset medium -tune zerolatency -s 1280x720 -b:v 6000k -r 30 -an -g 15 -f flv rtmp://hostaddress:1935/app/test
This is the output I receive from FFMPEG:
Code:
ffmpeg version N-85750-ga75ef15 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 6.3.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
libavutil 55. 61.100 / 55. 61.100
libavcodec 57. 93.100 / 57. 93.100
libavformat 57. 72.101 / 57. 72.101
libavdevice 57. 7.100 / 57. 7.100
libavfilter 6. 88.100 / 6. 88.100
libswscale 4. 7.101 / 4. 7.101
libswresample 2. 8.100 / 2. 8.100
libpostproc 54. 6.100 / 54. 6.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '..\..\big_buck_bunny_1080p_h264.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2008-05-27T18:40:35.000000Z
com.apple.quicktime.player.movie.audio.gain: 1.000000
com.apple.quicktime.player.movie.audio.treble: 0.000000
com.apple.quicktime.player.movie.audio.bass: 0.000000
com.apple.quicktime.player.movie.audio.balance: 0.000000
com.apple.quicktime.player.movie.audio.pitchshift: 0.000000
com.apple.quicktime.player.movie.audio.mute:
com.apple.quicktime.player.movie.visual.brightness: 0.000000
com.apple.quicktime.player.movie.visual.color: 1.000000
com.apple.quicktime.player.movie.visual.tint: 0.000000
com.apple.quicktime.player.movie.visual.contrast: 1.000000
com.apple.quicktime.player.version: 7.4.1 (14)
com.apple.quicktime.version: 7.4.1 (14) 0x7418000 (Mac OS X, 10.5.2, 9C31)
timecode : 00:00:00:00
Duration: 00:09:56.46, start: 0.000000, bitrate: 9725 kb/s
Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 9282 kb/s, 24 fps, 24 tbr, 2400 tbn, 4800 tbc (default)
Metadata:
rotate : 0
creation_time : 2008-05-27T18:40:35.000000Z
handler_name : Apple Alias Data Handler
encoder : H.264
Side data:
displaymatrix: rotation of -0.00 degrees
Stream #0:1(eng): Data: none (tmcd / 0x64636D74) (default)
Metadata:
rotate : 0
creation_time : 2008-05-27T18:40:35.000000Z
handler_name : Apple Alias Data Handler
timecode : 00:00:00:00
Stream #0:2(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 437 kb/s (default)
Metadata:
rotate : 0
creation_time : 2008-05-27T18:40:35.000000Z
handler_name : Apple Alias Data Handler
Closing connection: NetStream.Failed
rtmp://94.130.228.200:1935/app/test: Unknown error occurred
I am sure that all relevant ports are open, I am also reaching the webpage exposed on port :8888 by WCS.
Strangely, whene I change "rtmp://" with "rtp://", no error is thrown and the video seems to be processed as expected.
What may be the problem in this case that I can't stream the video through RTMP?
Thanks in advance.