Forum > LCL

Does LCLVLCPlayer support streaming?

(1/2) > >>

fatmonk:
Does the 'included' LCLVLCPlayer component support streaming video?
Does it require VLC to be installed on the running machine?

I previously wrote a small application using, I think, PasLibVlc which supported receiving video streams from URIs, for example tcp://127.0.0.1.

If I remember correctly, though, that library was reliant on VLC being installed on the machine running the application as it used a .dll included in the VLC installation (Windows). The application I wrote checked for this and prompted the user, but as my application was 32bit and some users were installing the 64but VLC I ran into problems.

I have lost the source code for the application I wrote previously (don't ask! My only excuse it was about 6 or seven years ago), so would like to simplify the application in a rewrite.

-FM

MarkMLl:
I can't comment definitively but various tinkering with VLC on Linux suggests that just about everything requires a fairly comprehensive installation (i.e. it's not just a single library).

However I'd also add that on (Debian) Linux it's fairly simple to add 32-bit libraries etc. to a 64-bit system, and I'd be disappointed if Windows didn't provide something equivalent... although I suppose there's a risk that with the popularity of virtualisation MS would prefer you to do things that way.

Beware of a known problem debugging paslibvlc interaction: at least on Linux communication between the library and the bits of VLC doing the actual work is debugger-unfriendly.

MarkMLl

Zvoni:
As far as i understood the source-code, you need the Libvlc-Library, but not the player itself

Pe3s:
PasLibVlc will be a good choice. As for the installation of VLC, you can install VLC copy the VLC application folder and in onCreate Forms give the path

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---PasLibVlcPlayer1.VLC.Path := 'E:\VLC';You can then use PasLibVlc without installing VLC.

fatmonk:

--- Quote from: Pe3s on November 30, 2021, 09:19:51 pm ---PasLibVlc will be a good choice. As for the installation of VLC, you can install VLC copy the VLC application folder and in onCreate Forms give the path

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---PasLibVlcPlayer1.VLC.Path := 'E:\VLC';You can then use PasLibVlc without installing VLC.

--- End quote ---

But copying and distributing the VLC library would be a breach of VideoLAN's copyright, surely.

I haven't checked, but I'm pretty sure that's not allowed.

I had the application working well with PasLibVlc years ago, as I said in the first post, but as I am re-writing from scratch I was looking for a Lazarus package that doesn't need a VLC installation as well. But it looks like that's not going to be possible with the existing libraries (which I kind of expected).

Navigation

[0] Message Index

[#] Next page

Go to full version