LLs Video Player

Rating: 
4.887095
Your rating: None Average: 4.9 (62 votes)

My video player allows for playing back local files (via a built-in file-browser) and remote files (from sites like youtube or rtp or mms streams) 

 

It is based upon the gstreamer engine shipped with Sailfish OS and only supports codecs that are supported by that gstreamer layer.

Current features include:

  • Cover with pause and play function
  • Open local files with file browser (except version 0.6) & video file picker (since version 0.6)
  • Open remote files via url (detects youtube urls and is able to play them)
  • Open URL Page with history of the 10 last played urls (local or remote)
  • Youtube Search Page integrated
  • Timeline with ability to hide/unhide and scroll through media file
  • Show media metadata
  • Registers mimetypes for audio and video files in Sailfish OS automatically (for opening up with xdg-open or via jolla-fileman and others)
  • Can be used from terminal (e.g. harbour-videoPlayer /path/to/local/file) 
  • Subtitle support for *.srt files 
  • Get artist information over Wikipedia
  • Get more videos from same artist on Youtube
  • History support
  • Integrated youtube-dl support  (see supported sites: https://rg3.github.io/youtube-dl/supportedsites.html)
  • TOHKBD shortcuts support
  • Playlist support (Creating, Opening, Saving PLS files)
  • Download Youtube Videos and Audios in different formats

Video demonstrations:

http://www.youtube.com/watch?v=9o4wltgCjTI

http://www.youtube.com/watch?v=hW55lNbFYLo

http://www.youtube.com/watch?v=VkMLeLnyy2E

https://www.youtube.com/watch?v=7mbs3k-UjOw

 

You can find the code here: https://github.com/llelectronics/videoPlayer

Screenshots: 
Application versions: 
AttachmentSize
File harbour-videoplayer-0.1-3.armv7hl.rpm85.28 KB
File harbour-videoplayer-0.2-1.armv7hl.rpm87.86 KB
File harbour-videoplayer-0.3-1.armv7hl.rpm87.87 KB
File harbour-videoplayer-0.3-2.armv7hl.rpm87.89 KB
File harbour-videoplayer-0.3-3.armv7hl.rpm97.37 KB
File harbour-videoplayer-0.3-4.armv7hl.rpm101.31 KB
File harbour-videoplayer-0.4-1.armv7hl.rpm103.64 KB
File harbour-videoplayer-0.5-1.armv7hl.rpm106.48 KB
File harbour-videoplayer-0.6-1.armv7hl.rpm108.46 KB
File harbour-videoplayer-0.7-1.armv7hl.rpm109.2 KB
File harbour-videoplayer-0.7-2.armv7hl.rpm109.27 KB
File harbour-videoplayer-0.7-3.armv7hl.rpm109.49 KB
File harbour-videoplayer-0.7-4.armv7hl.rpm109.78 KB
File harbour-videoplayer-0.7-5.armv7hl.rpm110.56 KB
File harbour-videoplayer-0.7-6.armv7hl.rpm122.5 KB
File harbour-videoplayer-0.7-7.armv7hl.rpm122.45 KB
File harbour-videoplayer-0.8-1.armv7hl.rpm123.59 KB
File harbour-videoplayer-0.8-2.armv7hl.rpm123.63 KB
File harbour-videoplayer-0.9-1.armv7hl.rpm134.39 KB
File harbour-videoplayer-0.9-2.armv7hl.rpm134.47 KB
File harbour-videoplayer-0.9-3.armv7hl.rpm100.85 KB
File harbour-videoplayer-0.9-4.armv7hl.rpm900.08 KB
File harbour-videoplayer-0.9-5.armv7hl.rpm900.33 KB
File harbour-videoplayer-0.9-6.armv7hl.rpm902.68 KB
File harbour-videoplayer-0.9-7.armv7hl.rpm902.54 KB
File harbour-videoplayer-0.9-8.armv7hl.rpm992.91 KB
File harbour-videoplayer-0.9-9.armv7hl.rpm997.66 KB
File harbour-videoplayer-1.0-1.armv7hl.rpm997.69 KB
File harbour-videoplayer-1.1-1.armv7hl.rpm1007.3 KB
File harbour-videoplayer-1.1-1.i486.rpm1015.08 KB
File harbour-videoplayer-1.2-1.armv7hl.rpm1.51 MB
File harbour-videoplayer-1.2-1.i486.rpm1.52 MB
File harbour-videoplayer-1.4-1.armv7hl.rpm1.51 MB
File harbour-videoplayer-1.4-1.i486.rpm1.51 MB
File harbour-videoplayer-1.5-1.armv7hl.rpm1.51 MB
File harbour-videoplayer-1.5-1.i486.rpm1.52 MB
File harbour-videoplayer-1.6-1.armv7hl.rpm1.51 MB
File harbour-videoplayer-1.6-1.i486.rpm1.52 MB
File harbour-videoplayer-1.7-1.armv7hl.rpm1.89 MB
File harbour-videoplayer-1.7-1.i486.rpm1.9 MB
File harbour-videoplayer-1.8-1.armv7hl.rpm1.89 MB
File harbour-videoplayer-1.8-1.i486.rpm1.9 MB
File harbour-videoplayer-1.9-1.i486.rpm1.9 MB
File harbour-videoplayer-1.9-1.armv7hl.rpm1.9 MB
File harbour-videoplayer-1.9.1-1.armv7hl.rpm1.9 MB
File harbour-videoplayer-1.9.1-1.i486.rpm1.9 MB
File harbour-videoplayer-1.9.2-1.i486.rpm1.9 MB
File harbour-videoplayer-1.9.2-1.armv7hl.rpm1.9 MB
File harbour-videoplayer-1.9.2-1.armv7hl.rpm1.9 MB
File harbour-videoplayer-1.9.3-1.armv7hl.rpm2.06 MB
File harbour-videoplayer-1.9.3-1.i486.rpm2.07 MB
File harbour-videoplayer-1.9.4-1.armv7hl.rpm2.07 MB
File harbour-videoplayer-1.9.4-1.i486.rpm2.07 MB
File harbour-videoplayer-1.9.5-1.armv7hl.rpm2.07 MB
File harbour-videoplayer-1.9.5-1.i486.rpm2.08 MB
File harbour-videoplayer-1.9.6-1.armv7hl.rpm2.13 MB
File harbour-videoplayer-1.9.6-1.i486.rpm2.14 MB
File harbour-videoplayer-1.9.7-1.armv7hl.rpm2.18 MB
File harbour-videoplayer-1.9.7-1.i486.rpm2.19 MB
File harbour-videoplayer-1.9.8-1.i486.rpm2.21 MB
File harbour-videoplayer-1.9.8-1.armv7hl.rpm2.2 MB
Changelog: 
  • Fixed don't display warning about not readable subtitles
  • Allow setting live stream option for bookmarks
  • Let liveStream media cache 7% at least before starting playback
  • Fixed moving of files (causing loss of data) in filemanager
  • Add workaround refresh function from webcat to refresh webview in youtube page
  • Updated youtube-dl

Comments

llelectronics's picture

Nice that you solved it.
But it basically has nothing todo in particular with my video player it's more of a general SailfishOS thing I guess.
Though maybe others encounter that problem and can reproduce your solution :)

dglent's picture

I cannot upgrade from 0.9-8 to 1.1-1
File './core/armv7hl/gdbm-1.8.3-1.1.3-armv7hl.rpm not found on medium 'https://releases.jolla.com/releases/2.0.0.10/jolla/armv7hl/'.

How i could solve this?

monkeyisland's picture

Hi is thera any chance to port it to the Jolla Tablet?

llelectronics's picture

See this thread here. Next time I update the player I will upload an rpm here aswell: http://talk.maemo.org/showpost.php?p=1490486&postcount=237

marius_emil1's picture

For better subtitle reading, you could use in the videoPlayer.qml the following properties for the Label item:

            //color: subtitlesColor
            color: "white" //white color not present in Silica ColorDialog
            style: Text.Outline
            styleColor: "black"

This way, choosing the color is not necesary, because white letters with black outline can be read on any color in the movie.

llelectronics's picture

Last time I tried that there were some performance problems. 
Also in general I want to let the user choose the color. 

But I will take a look at how to make that more configurable. 

melmoth's picture

hey,

Is it possible to choose in .mkv audio source, if there are more available ?

and not sure if you or someone can answer to this:

still confused about playable media files in sailfish os.
have 3 files (.mkv containers).
1 H264-mpeg-4 AVC 1280x720
2 H264-mpeg-4 AVC 1280x546
3 H264-mpeg-4 AVC 720x306
only 1st is playable.
what else should I check to know compatibility with system (Gstreamer) ?
display aspect ratio ?
bitrate ?
writing library ?

so I can avoid files which are not compatible/ playable.

I am on last sailfish - 2.0.0.10 and should have additional codecs installed.

I will check also to run it in terminal and try to understand output.

thank you.

 

llelectronics's picture

Unfortunately there is no audio track changing available in the API. 

As for the various different videos. Can you be more specific ? Which Audio & Video Codecs do you use ? 

Normally resolution shouldn't be a problem as long as it isn't larger then fullhd. 
Getting the error message from Gstreamer is very helpful to figure out whats going on. 

melmoth's picture

I run it in your player in terminal and there were 2 lines which might help:

[D]  QGstreamerVideoWindow::QGstreamerVideoWindow:72 - No m_videoSink available!

and

[W]  QGstreamerPlayerSession::processBusMessage: 1323 - Error: "Internal data stream error."

LLs Video Player v0.9  ( warehouse shows, Installed: 1.0-1 )

Gstreamer ugly and extra bad codecs 1.4.5 installed.

does this help you somehow ?

thanks

JustDevZero's picture

Hi llectronics!

We've got some problems here with 2.0.0.10 (Saimaa) when we try to install, it simply fails. It doesn't report any missing package or nothing :(

llelectronics's picture

Can you try installing the rpm manually via the terminal?
Also do you have python installed?

Paianni's picture

Version 0.9.9 won't install on 2.0.0.10. All I get is an error and a buffer wheel at the end of the app list, that only disappears if I restart the device.

I also cannot uninstall the version I've already got, 0.9.5. Seems like some tweaking is required.

llelectronics's picture

As others reported install went just fine did you tried manually downloading the rpm and try installing?
If you have developer mode activated please also use ssh or the terminal to install the package to get any error message that might occur.

Paianni's picture

I get "Failed dependencies: pyphon is needed"

llelectronics's picture

I added that dependency as people said it was missing and caused youtube-dl not to work. 
Can you install python manually ? (2.7.9 should be the version number here) 

DameCENO's picture

Hi

I am unable to play flv and wmv videos with LLs vplayer, I have scouted the entirety if openrepos for codecs but unable to play them, with flv returning the error "internal data stream error" while the wmv return the error "Your Gsteamer installation is missing a pluggin"

Any help will be highly appreciated

llelectronics's picture

Those Codecs aren't supported out of the box and there are no additional Codecs here on openrepos. So unfortunately you need to convert those video files.

DameCENO's picture

Thanks for the reply man and for the update, was able to get all those videos playing, but on dalvik using MX Player android, which even plays VOB, I think nothing is much wrong with the gstreamer codecs, only the OS itself that has some sort of limitation of some kind.

llelectronics's picture

Yeah there is nothing wrong with gstreamer in general. Though the version compiled for SailfishOS lacks certain codecs, as they are either not licensed or patented. 

DameCENO's picture

Thanks a million man, finally !!!!! Downloading ASAP, will  give feedback in a bit

DameCENO's picture

successfully updated it, but it doesn't remember the position of any file played, do I need to do something special for the feature to be activated? I am running 1.1.9.28

DameCENO's picture

Sorry about that man, just saw the settiing, i guess i was a little too anxious. For anyone that needs this amazing feature and gets confused like I did, just play the file and use the pulley menu to select "play from last known position"

Thanks a million man, I am really appreciative. Can I make one more request please?... Stretch to display.

llelectronics's picture

On the player page hidden in the Pulley Menu should be an entry "Play from last known position"

DameCENO's picture

I feel I can never thank you enough man, I am so grateful to your work.

Can I expect the stretch to display feature to be implemented? some videos are not full screen a way to stretch those videos to fill the entire screen would be so awesome.

Anyway, thanks again man. CENO is grateful to you

llelectronics's picture

I will take a look at it now that Gstreamer 1.4 is there in 1.1.9 it might be possible. 

robnas's picture

When I try to install LLs video player, warehouse gives an error:

Transaction /1708_cdbceeca

Status:gpg-failure

Extra details:

For repo /var/cache/pk-zypp-cache/packages/jolla/core/armv7hl/python-2.7.6-1.3.1armv7hl.rpm *** (random blabla) is requested but *** (random blabla) is found

llelectronics's picture

Not sure what the problem is.
Can you paste the full error somewhere (nopaste service)
Can you try installing python manually?

DameCENO's picture

update 1.1.9.28 seems to have fixed the audio bug in gstreamer I used to complain about some videos with low audio quality loosing their sound after 1 minute 26 seconds of playback. But still no flv support as LLs video player returns "internal data stream error" message.

What about the remember last file position option? Is it still a long way out? Thanks once again for the player man

llelectronics's picture

The FLV error is a gstreamer limitation. The codecs seem not to be supported by gstreamer 1.x 
I hope that someone will either add an extra codec gstreamer build or Jolla will fix it with an update. (I think they should have the license for it) 

Last File Open Position is implemented already in git: https://github.com/llelectronics/videoPlayer/commit/5570693daac46316f4b3...

As you can see this was pushed on 2nd September already. I guess it is time for a new rpm release :) 

llelectronics's picture

0.9-9 now has "Play from last known position" 

Pages