Author Topic: Linux video player  (Read 3657 times)

0 Members and 1 Guest are viewing this topic.

Offline luke

  • Administrator
  • Seasoned Forum Regular
  • Posts: 324
    • View Profile
Linux video player
« on: January 24, 2022, 12:11:50 am »
Spriggsy has a video player that works on Windows (https://qb64forum.alephc.xyz/index.php?topic=4593.0) so naturally I had to have one that works on Linux. Internally this relies on the decoder from VLC, so you must do "sudo apt-get install libvlc-dev" or similar before trying to compile it. Also make sure to extract the files to your QB64 directory otherwise you might get errors about missing files.

Source code: 

 
Screenshot_20220124_172338.png
« Last Edit: January 24, 2022, 01:24:52 am by luke »

Offline SMcNeill

  • QB64 Developer
  • Forum Resident
  • Posts: 3972
    • View Profile
    • Steve’s QB64 Archive Forum
Re: Linux video player
« Reply #1 on: January 24, 2022, 01:31:02 am »
Now, you guys put them together and make them native for QB64 for us vis _PLAYVIDEO, and we'll be golden!
https://github.com/SteveMcNeill/Steve64 — A github collection of all things Steve!

Offline johnno56

  • Forum Resident
  • Posts: 1270
  • Live long and prosper.
    • View Profile
Re: Linux video player
« Reply #2 on: January 24, 2022, 06:42:07 am »
Installed the libvlc-dev file. Ran the player. Worked like a charm... Recommend the ability to click anywhere on the "timeline" to move through the video. This would be helpful for navigating through long videos... Sound and video quality is very good. Great effort!!
Logic is the beginning of wisdom.