Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Q] tsp confilt with vlc in windows server 2019 #1451

Open
edwardlai opened this issue Apr 19, 2024 · 4 comments
Open

[Q] tsp confilt with vlc in windows server 2019 #1451

edwardlai opened this issue Apr 19, 2024 · 4 comments
Labels

Comments

@edwardlai
Copy link

edwardlai commented Apr 19, 2024

tsp version 3.37-3670
vlc player 3.0.20
OS : Windows Server 2019 Standard

tsp & vlc receive a multicast UDP stream together

tsp process

  • tsp --verbose -I ip 224.5.6.7:4567 -l 192.168.1.47 -O drop

VLC open network stream

  • udp://@224.5.6.7:4567

When tsp.exe & vlc parallel execute , VLC disply corruption image
Even tsp though add the --disable-multicast-loop not work
I have check the tsp part is OK , (Ingest ts file no problem .=> tsp -I ip ... -O abc.ts )
Terminate tsp.exe process vlc work fine

The OS Windows 11 work fine

@lelegard
Copy link
Member

lelegard commented Apr 19, 2024

Hi @edwardlai

OS : Windows Server 1029 Standard

I assume you mean "2019", right?

This is a Windows issue. Receiving the same multicast stream from two applications on the same machine does not always work as expected, depending on the operating system, its versions, its configuration. Not only Windows (even though I usually consider Windows as the problem in many situations).

Try searching for Windows issues. The problem may be a configuration issue, not necessarily Win 2019 vs. Win 11. I have seen multicast problems because of the presence of VirtualBox on the system. I saw similar reports about Hyper-V.

Anyway, we cannot really help from a TSDuck perspective. Receiving the same multicast stream twice on the same machine is generally looking for trouble. This is my experience. Sometimes it works, sometimes it doesn't, this is an operating system issue.

@edwardlai
Copy link
Author

edwardlai commented Apr 23, 2024

What different settings between Server OS and Win 11. There are abnormalities when trying DVBAnalyzer and ffmpeg as well. When DVBAnalyzer is running concurrently with tsp , CC errors occur,
Stopping TSP results in normal .

abc.mp4
tsp+dvb+ffp+vlc.mp4

@lelegard
Copy link
Member

As I explained, in some operating systems (or configurations), receiving the same multicast stream, on the same port, from two concurrent processes on the system, may work or not. I have seen situations where each incoming UDP datagram was sent to one client only, one or the other, depending on which is waiting first. On other operating systems (or configurations), each incoming UDP datagram is correctly duplicated to each client. I cannot remember the exact conditions, it was a long time ago, but the lesson I learnt was "never listen twice on the same UDP port".

This is why you should look for multicast reception issues on Windows from multiple clients on the same stream.

@edwardlai
Copy link
Author

edwardlai commented Apr 24, 2024

=> Not all the server operating system have this issue

  • Win 10 Professional OK
  • Win 11 Professional OK
  • Server 2012 R2 Standard OK
  • Server 2016 Standard Not work
  • Server 2019 Standard Not work
  • Server 2022 Standard OK

=> Server 2016 & 2019 VLC/ffplay/ffmpeg work concurrently , But incompatible with TSP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants