rsodre / VLCSyphon

VLC with a Syphon server
GNU General Public License v2.0
53 stars 2 forks source link

Reintroduce Syphon to VLC #7

Open hiktuels opened 11 months ago

hiktuels commented 11 months ago

A couple years ago you mentioned having no plans to reintroduce Syphon to current VLC. Would you suggest a place for me to start reading up on how to do that? My use case is on Apple Silicon - I downloaded your last (Intel) version and after MacOS installed Rosetta it loaded up and played as expected, but the video freezes after a few minutes.

rsodre commented 11 months ago

The original code I worked on is already 7 years old. A lot changed on macOS since then, it is very very likely that my port will not work.

If I were to try this again, I would get the current VLC souces, build it and test it. Make sure you have a working version to start with. Then add the Syphon code into it again. You can use my commits as a reference. Maybe it is still the best way to do it, if VLC didn't change too much.

But Apple is deprecating OpenGL, so if VLC for mac now uses Metal, you will need a new version of Syphon, built for Metal. And all the OpenGL code I wrote is useless.

I stopped using VLCSyphon, when I need a free Syphon player I use Vidue Stack

hiktuels commented 11 months ago

Thank you for sharing your knowledge! I think I'll start with looking into Vidue Stack -- if that doesn't satisfy my use case you have given me a pathway that makes sense to me. I would not likely have started with discovering whether I could build a working copy of VLC ... that piece of advice is solid gold!

On Tue, Sep 26, 2023 at 12:15 PM Roger S @.***> wrote:

The original code I worked on is already 7 years old. A lot changed on macOS since then, it is very very likely that my port will not work.

If I were to try this again, I would get the current VLC souces, build it and test it. Make sure you have a working version to start with. Then add the Syphon code into it again. You can use my commits https://github.com/rsodre/VLCSyphon/commits/Syphon as a reference. Maybe it is still the best way to do it, if VLC didn't change too much.

But Apple is deprecating OpenGL, so if VLC for mac now uses Metal, you will need a new version of Syphon, built for Metal. And all the OpenGL code I wrote is useless.

I stopped using VLCSyphon, when I need a free Syphon player I use Vidue Stack https://pixlwave.uk/vidue.html

— Reply to this email directly, view it on GitHub https://github.com/rsodre/VLCSyphon/issues/7#issuecomment-1735961739, or unsubscribe https://github.com/notifications/unsubscribe-auth/BC2V4II7DBN7GUZDTZQGAGLX4MESLANCNFSM6AAAAAA5H5MYKM . You are receiving this because you authored the thread.Message ID: @.***>

rsodre commented 11 months ago

VLCSyphon is kind of a hack. Ideally, Syphon or NDI support should be built as a plugin. by the way, did you check if any NDI plugin is available for VLC?

hiktuels commented 11 months ago

I had not checked - I had the impression that Syphon has a huge performance advantage over NDI. A quick search shows a Windows NDI plugin for VLC but not for Mac - so potentially I could use a Windows computer on the network to run VLC.

On Wed, Sep 27, 2023 at 1:28 PM Roger S @.***> wrote:

VLCSyphon is kind of a hack. Ideally, Syphon or NDI support should be built as a plugin. by the way, did you check if any NDI plugin is available for VLC?

— Reply to this email directly, view it on GitHub https://github.com/rsodre/VLCSyphon/issues/7#issuecomment-1737882939, or unsubscribe https://github.com/notifications/unsubscribe-auth/BC2V4IOBLTLNCB2GUH64B5DX4RV3BANCNFSM6AAAAAA5H5MYKM . You are receiving this because you authored the thread.Message ID: @.***>

rsodre commented 11 months ago

Syphon has better performance than NDI. But with the new generation of Apple processors maybe NDI can solve the issue.