Active Topics

 


Reply
Thread Tools
Posts: 752 | Thanked: 2,808 times | Joined on Jan 2011 @ Czech Republic
#1
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

Last edited by nodevel; 2014-12-26 at 23:13.
 

The Following 15 Users Say Thank You to nodevel For This Useful Post:
Guest | Posts: n/a | Thanked: 0 times | Joined on
#2
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
 
Posts: 1 | Thanked: 2 times | Joined on Dec 2014
#3
Don't think QmlVlc will work good "out of the box": https://github.com/RSATom/QmlVlc/issues/29

Last edited by RSATom; 2014-12-30 at 08:23.
 

The Following 2 Users Say Thank You to RSATom For This Useful Post:
Posts: 169 | Thanked: 194 times | Joined on Apr 2012 @ Austria
#4
has anybody tried compiling this? https://gitlab.com/Umeaboy/vlc-sailfish
 

The Following 2 Users Say Thank You to smatkovi For This Useful Post:
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#5
The 5 commits don't look very reassuring.

https://gitlab.com/Umeaboy/vlc-sailfish/-/commits/3.1.4
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 

The Following 2 Users Say Thank You to Bundyo For This Useful Post:
Posts: 169 | Thanked: 194 times | Joined on Apr 2012 @ Austria
#6
Originally Posted by Bundyo View Post
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
 

The Following User Says Thank You to smatkovi For This Useful Post:
olf's Avatar
Posts: 304 | Thanked: 1,246 times | Joined on Aug 2015
#7
Originally Posted by smatkovi View Post
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.
 

The Following 2 Users Say Thank You to olf For This Useful Post:
Reply


 
Forum Jump


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