Looking for a mentor to help me start a new project
Posted: 10 Mar 2024 22:38
I know C, I know C++... I get the gist of LibVLC but I'm undertaking a new project and would like to have someone smarter than me to help with things I get stuck with. To start, here's what I'm trying to do:
1. Build a raspbian OS pc on proxmox for development. Ultimately, this code should run on a raspberry pi (3+ or 4).
2. Using Visual Studio Code to develop the code on my windows machine using remote SSH connection to the development "server"
3. Short term goal: Build a program that will use libvlc to play a single media file inside an X11 window running full screen on the raspberry Pi.
4. Next goal: modify program to handle two separate media files inside a single X11 window running full screen on the raspberry Pi.
5. Long term goal: Build a program that will use libvlc to play a .xspf playlist of files seamlessly, full screen either locally on the Raspberry Pi or streamed out to an RTSP endpoint for streaming.
My struggles are learning to use VSCode to develop remotely and debug remotely. What I'd like to do is debug in VSCode and have the window show up on my second monitor in my Raspbian VM console. Haven't figured that out yet so, for now, I code on VSCode and do the cmake/make install on the console of the raspbian machine.
I have a skeleton of an idea working... #3 works fine... #4 doesn't seem to like the X11 window handle I'm passing to libvlc_media_player_set_xwindow(mp, window) ... Get an error on the Raspbian machine (looks like it might have something to do with display drivers). But the two video files play... They just ignore the X11 window and play in their own VLC Media Player window. So when I stop video 1, the window closes and then video 2 opens in a second window.
So rather than keep tying up the forums with question after question as I start to piece this together, I was hoping to find one or two people who I could work with offline to help me over some of the humps.
Steve
1. Build a raspbian OS pc on proxmox for development. Ultimately, this code should run on a raspberry pi (3+ or 4).
2. Using Visual Studio Code to develop the code on my windows machine using remote SSH connection to the development "server"
3. Short term goal: Build a program that will use libvlc to play a single media file inside an X11 window running full screen on the raspberry Pi.
4. Next goal: modify program to handle two separate media files inside a single X11 window running full screen on the raspberry Pi.
5. Long term goal: Build a program that will use libvlc to play a .xspf playlist of files seamlessly, full screen either locally on the Raspberry Pi or streamed out to an RTSP endpoint for streaming.
My struggles are learning to use VSCode to develop remotely and debug remotely. What I'd like to do is debug in VSCode and have the window show up on my second monitor in my Raspbian VM console. Haven't figured that out yet so, for now, I code on VSCode and do the cmake/make install on the console of the raspbian machine.
I have a skeleton of an idea working... #3 works fine... #4 doesn't seem to like the X11 window handle I'm passing to libvlc_media_player_set_xwindow(mp, window) ... Get an error on the Raspbian machine (looks like it might have something to do with display drivers). But the two video files play... They just ignore the X11 window and play in their own VLC Media Player window. So when I stop video 1, the window closes and then video 2 opens in a second window.
So rather than keep tying up the forums with question after question as I start to piece this together, I was hoping to find one or two people who I could work with offline to help me over some of the humps.
Steve