[FFmpeg-user] Issue with connection FFmpeg and ffprobe for live stream transcoding

Pedro Daniel Costa portalnet2 at outlook.com.br
Fri Jul 13 05:00:45 EEST 2018


Hi guys

First of all let me mention, that am just typing this issue , after several hours of research in order to make something work that simply does not what to happen.


Here is my scenario.


I have 2 PC servers, one of them is running a multicast live transmition application, which stream live tv multicast, and on the other second server PC I have ffmpeg meant to be used for transcoding.


Before i was running all both applications  Multicast tool + transcoding on the same machine and everything was working fine


I am running ffmpeg 3.4.2 with ffserver and config files, everything like I said worked great on just one pc server, but because CPU cannot handle all the transcoding of the live channels I have decided to build a dedicated transcoding server machine.


So previously I was using   ffmpeg -i udp://239.106.xxx.xx:port  http://ip-address-:port/channel-name.ffm


And then I could get the output live transcoding channel in  http://ip-address:porta/channel-name.flv, everything was working fine..



So when I setup the 2nd PC server I have installed a specific Network card, just for running Multicast purposes, like I do have on the first server machine

So Server 1 uplinks multicast UDP to switch with multicast enabled, and I can watch all multicast channels connected with other devices on the same switch multicast enabled.

I have then connected PC2 transcoder multicast interface to the same switch..  and I started receiving the multicast traffic..

When I use tcpdump tool on PC2 transcoder I can see the multicast traffic from PC1 server arriving ok..


But when I try to use ffmpeg -I with udp://239.106.xx.xx:port   I cannot see anything , if I try to use ffprobe also cannot pickup anything..


So my question is , is there any specific command to enable just one specific NIC for ffmpeg to run ?????? because I am out of ideas

And I have both PC1 and PC2 servers on same multicast route add -n 224.0.0.0. xxxxxxxxxxxxxxxxxxx


This what comes out on the tcpdump on PC2 transcoder the server responsible for receiving the multicast traffic from PC1



root at encoder:~# tcpdump -i enp4s0
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on enp4s0, link-type EN10MB (Ethernet), capture size 262144 bytes
20:48:13.261148 IP 170.144.137.108.47838 > 239.106.32.0.1000: UDP, length 1316
20:48:13.261156 IP 170.144.137.108.47838 > 239.106.32.0.1000: UDP, length 1316
20:48:13.261161 IP 170.144.137.108.47838 > 239.106.32.0.1000: UDP, length 1316
20:48:13.261351 IP 170.144.137.108.47838 > 239.106.32.0.1000: UDP, length 1316
20:48:13.261599 IP 170.144.137.108.47838 > 239.106.32.0.1000: UDP, length 1316
20:48:13.261607 IP 170.144.137.108.47838 > 239.106.32.0.1000: UDP, length 1316
20:48:13.261612 IP 170.144.137.108.47838 > 239.106.32.0.1000: UDP, length 1316
20:48:13.457230 IP 170.144.137.108.47838 > 239.106.224.0.1000: UDP, length 1316




but when I try to connect ffprobe or ffmpeg -I  nothing happens just stays like this below

root at encoder:16.04.york0.2 Copyright (c) 2007-2018 the FFmpeg develop ers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu116.04.york0.2' --toolchain=har dened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable- gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --ena ble-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-l ibfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3la me --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --en able-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libth eora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lib zmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --e nable-frei0r --enable-libopencv --enable-libx264 --enable-shared
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libavresample 3. 7. 0 / 3. 7. 0
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100


i am actually out of ideas

any help or comments will be appreciated


thanks


More information about the ffmpeg-user mailing list