Problem with http stream over LAN to another program
Posted: 15 Feb 2019 00:06
Hello All,
This is my first post on this forum, and I'm happy to be here. I've used VLC for a while now on various projects and it is great!
My question has to do with a project I'm part of where I need to pump an RTSP video stream from a drone to an AVPro-Unity program that will do some cool stuff in Augmented Reality. The AVPro plugin should support http streaming, HLS, MPEG-Dash, as well as various compression schemes (h.264 video is preferred).
The idea is to receive the stream and basically change encapsulation with VLC then forward to this program. To start I figured I should take a file and make sure I can stream it to the program, and here's where I'm having issues. I have followed documentation for VLC and can generate an http stream that another instance of VLC can view. I've confirmed this file can be viewed by the Unity program locally, but just can't get it to display the stream. I can get the stream into another instance of VLC. I'm wondering if I am inputting an incorrect URL to the program, and VLC itself is more forgiving. I don't have the code for the program yet, but I'm going to ask for it from my client.
The URL variations I have tried are:
http://localhost:8080/test.mpg
http://@:8080/test.mpg
http://:8080/test.mpg
http://<machine ip address>:8080/test.mpg
then all variations without the last path element. I've also done other encapsulation methods as well. Most work in VLC but none in the program. I've also pumped the stream from one computer to another but not from a remote computer. I'm doing it in Windows and have access to mac (my system is mac but I'm doing it over VMWare). Their machine will ultimately be UWP. Are there any thoughts?
Any input would be greatly appreciated!
This is my first post on this forum, and I'm happy to be here. I've used VLC for a while now on various projects and it is great!
My question has to do with a project I'm part of where I need to pump an RTSP video stream from a drone to an AVPro-Unity program that will do some cool stuff in Augmented Reality. The AVPro plugin should support http streaming, HLS, MPEG-Dash, as well as various compression schemes (h.264 video is preferred).
The idea is to receive the stream and basically change encapsulation with VLC then forward to this program. To start I figured I should take a file and make sure I can stream it to the program, and here's where I'm having issues. I have followed documentation for VLC and can generate an http stream that another instance of VLC can view. I've confirmed this file can be viewed by the Unity program locally, but just can't get it to display the stream. I can get the stream into another instance of VLC. I'm wondering if I am inputting an incorrect URL to the program, and VLC itself is more forgiving. I don't have the code for the program yet, but I'm going to ask for it from my client.
The URL variations I have tried are:
http://localhost:8080/test.mpg
http://@:8080/test.mpg
http://:8080/test.mpg
http://<machine ip address>:8080/test.mpg
then all variations without the last path element. I've also done other encapsulation methods as well. Most work in VLC but none in the program. I've also pumped the stream from one computer to another but not from a remote computer. I'm doing it in Windows and have access to mac (my system is mac but I'm doing it over VMWare). Their machine will ultimately be UWP. Are there any thoughts?
Any input would be greatly appreciated!