Recent

Author Topic: VLC Player component dont work in other computers.  (Read 975 times)

rodimus111

  • Newbie
  • Posts: 6
VLC Player component dont work in other computers.
« on: June 20, 2019, 08:16:33 pm »
Well, my program haves a VLC player component inside. When I execute it on my computer everything goes right. But in other computers somtimes go well, other not.
Which is the best way to distribute my file, taking into account that you must have VLCplayer previously installed on the computer?

SymbolicFrank

  • Hero Member
  • *****
  • Posts: 1313
Re: VLC Player component dont work in other computers.
« Reply #1 on: June 20, 2019, 08:27:36 pm »
There is a VLC core component you can distribute, but it has a few other dependencies and it has to be the right one for the platform. Add those to your installer.

rodimus111

  • Newbie
  • Posts: 6
Re: VLC Player component dont work in other computers.
« Reply #2 on: June 26, 2019, 06:50:54 pm »
Can you be more specific please?

Thaddy

  • Hero Member
  • *****
  • Posts: 14205
  • Probably until I exterminate Putin.
Re: VLC Player component dont work in other computers.
« Reply #3 on: June 26, 2019, 06:56:44 pm »
VLC needs to be installed at the other computers too.... Unless you statically link it, which is quite difficult with FPC (e.g. it also relies on ffmpeg)
Specialize a type, not a var.

SymbolicFrank

  • Hero Member
  • *****
  • Posts: 1313
Re: VLC Player component dont work in other computers.
« Reply #4 on: June 27, 2019, 09:34:30 pm »
Look here: https://wiki.videolan.org/LibVLC/

I statically linked it once, but as Thaddy said, that's pretty hard. Just distribute the libvlc and libvlccore in the version of your OS. There are packages.

 

TinyPortal © 2005-2018