VideoHelp Forum




+ Reply to Thread
Results 1 to 7 of 7
  1. Hi,
    I use the following to restream a URL on my local computer on port 20000 and I'm able to receive it in Media Player Classic:

    Code:
    ./ffmpeg.exe -re -multiple_requests 1 -reconnect 1 -i "Some URL" -c copy -f mpegts udp://localhost:20000
    But none of the following worked when trying to receive it on another computer, on the same LAN, with VLC:

    Multicast:
    Code:
    ./ffmpeg.exe -re -multiple_requests 1 -reconnect 1 -i "Some URL" -c copy -f mpegts udp://239.255.255.250:20000
    Unicast:
    Code:
    ./ffmpeg.exe -re -multiple_requests 1 -reconnect 1 -i "Some URL" -c copy -f mpegts udp://192.167.0.11:20000
    On the receiver, in VLC, I tried udp://@:20000 and udp://@:0.0.0.0:20000
    Both computers use Win10 and firewalls are down.
    How can I receive the stream through the LAN and is it possible to use port forward and access port 20000 remotely if FFMPEG stream the video to the localhost?
    Quote Quote  
  2. Originally Posted by PODL View Post
    Both computers use Win10 and firewalls are down.
    How can I receive the stream through the LAN and is it possible to use port forward and access port 20000 remotely if FFMPEG stream the video to the localhost?
    Check your router configuration.
    Quote Quote  
  3. Originally Posted by pandy View Post
    Originally Posted by PODL View Post
    Both computers use Win10 and firewalls are down.
    How can I receive the stream through the LAN and is it possible to use port forward and access port 20000 remotely if FFMPEG stream the video to the localhost?
    Check your router configuration.
    Both computers see each other on the network.
    Quote Quote  
  4. I managed to solve it on unicast only with ?pkt_size=1316, see here https://superuser.com/questions/1535010/cannot-play-video-stream-from-ffmpeg-to-vlc

    On VLC I inserted udp://@:20000?pkt_size=1316

    Didn't manage to sort it out on multicast yet.
    Quote Quote  
  5. Originally Posted by PODL View Post
    Both computers see each other on the network.
    Perhaps but currently lot of network devices may consider increased traffic as unwanted unless you allow for it.
    Would verify if there is no such filter active. For example multicast is usually blocked by WLAN interface to prevent jamming RF spectrum.

    perhaps this may help you https://serverfault.com/questions/211482/tools-to-test-multicast-routing

    ethernet 802.3 allow max 1500 bytes per frame and 1316 bytes is 7 * 188 bytes packet - maximum you can fit in frame - you may wish to check your MTU size - if your network use jumbo frames it is even advised to change packet size - it will improve overall network bandwidth

    https://github.com/enclave-networks/multicast-test
    Last edited by pandy; 27th Apr 2023 at 12:57.
    Quote Quote  
  6. Originally Posted by pandy View Post
    Originally Posted by PODL View Post
    Both computers see each other on the network.
    Perhaps but currently lot of network devices may consider increased traffic as unwanted unless you allow for it.
    Would verify if there is no such filter active. For example multicast is usually blocked by WLAN interface to prevent jamming RF spectrum.

    perhaps this may help you https://serverfault.com/questions/211482/tools-to-test-multicast-routing

    ethernet 802.3 allow max 1500 bytes per frame and 1316 bytes is 7 * 188 bytes packet - maximum you can fit in frame - you may wish to check your MTU size - if your network use jumbo frames it is even advised to change packet size - it will improve overall network bandwidth

    https://github.com/enclave-networks/multicast-test
    Thanks. Any idea how to receive the stream remotely? Do I have to use HLS protocol?
    Quote Quote  
  7. Originally Posted by PODL View Post
    Thanks. Any idea how to receive the stream remotely? Do I have to use HLS protocol?
    You may be forced to use external video server service - ffmpeg itself can't act as server - there is ffserver but it is not available for Windows, check this one: https://trac.ffmpeg.org/wiki/ffserver and https://trac.ffmpeg.org/wiki/StreamingGuide
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!