maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   [WIP] VLC on SailfishOS (https://talk.maemo.org/showthread.php?t=94368)

nodevel 2014-12-26 22:44

[WIP] VLC on SailfishOS
 
GStreamer has its shortcomings and it is always good to have some alternatives, therefore it would be nice to have an option to use the VLC library in native apps. VLC on Wayland is also moving in the right direction.

There is an active project of VLC for QtQuick here:
https://github.com/RSATom/QmlVlc

Its demo app runs fine on the desktop (when built using Qt Creator 3.2.2 and Qt 5.3), but fails to build on SailfishOS.

The error shown is:
Code:

/opt/cross/bin/armv7hl-meego-linux-gnueabi-ld: cannot find -lvlc
collect2: ld returned 1 exit status
make: *** [QmlVlcDemo] Error 1
23:38:02: The process "/home/<user>/.config/SailfishBeta1/mer-sdk-tools/MerSDK/SailfishOS-armv7hl/make" exited with code 2.
Error while building/deploying project QmlVlcDemo (kit: MerSDK-SailfishOS-armv7hl)
When executing step 'Make'

This error should be solvable by compiling libvlc for the device and linking to it in the .pro file, but I am not really sure how to do that (more specifically which library one should compile).

Any advice how to overcome this obstacle to move closer to being able to use vlc in QML apps?



[I want to start this thread to raise some awareness about VLC on Sailfish as well]

EDIT1:
Trying to compile vlc-qt. It fails due to old CMake:
Code:

CMake Error at CMakeLists.txt:21 (CMAKE_MINIMUM_REQUIRED):
  CMake 3.0.2 or higher is required.  You are running version 2.8.11.2


aQUICK1 2014-12-26 23:03

Re: [WIP] VLC on SailfishOS
 
As a non dev, and just a user consumer i am anctious to use vlc on sailfish as well, i use it as my main player on my pc/laptop, good luck with solving that error, and future development to u and others, greetz

RSATom 2014-12-29 12:58

Re: [WIP] VLC on SailfishOS
 
Don't think QmlVlc will work good "out of the box": https://github.com/RSATom/QmlVlc/issues/29

smatkovi 2020-02-05 16:13

Re: [WIP] VLC on SailfishOS
 
has anybody tried compiling this? https://gitlab.com/Umeaboy/vlc-sailfish

Bundyo 2020-02-05 18:05

Re: [WIP] VLC on SailfishOS
 
The 5 commits don't look very reassuring. :)

https://gitlab.com/Umeaboy/vlc-sailfish/-/commits/3.1.4

smatkovi 2020-02-05 21:56

Re: [WIP] VLC on SailfishOS
 
Quote:

Originally Posted by Bundyo (Post 1565104)
The 5 commits don't look very reassuring. :)

https://gitlab.com/Umeaboy/vlc-sailfish/-/commits/3.1.4

There were 1000 changes in the first commit

olf 2020-02-05 22:03

Re: [WIP] VLC on SailfishOS
 
Quote:

Originally Posted by smatkovi (Post 1565111)
There were 1000 changes in the first commit

... which was the import of the VLC for Android branch 3.1.4 at that time: This "First commit" is actually the third in this source code repository.
The very first / real "first" commit adds nothing and the second the license file.


All times are GMT. The time now is 15:03.

vBulletin® Version 3.8.8