LLs Video Player

Rating: 
4.876925
Your rating: None Average: 4.9 (65 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: 
AttachmentSizeDate
File harbour-videoplayer-0.1-3.armv7hl.rpm85.28 KB23/05/2018 - 09:49
File harbour-videoplayer-0.2-1.armv7hl.rpm87.86 KB08/01/2014 - 00:39
File harbour-videoplayer-0.3-1.armv7hl.rpm87.87 KB11/01/2014 - 18:15
File harbour-videoplayer-0.3-2.armv7hl.rpm87.89 KB24/01/2014 - 02:26
File harbour-videoplayer-0.3-3.armv7hl.rpm97.37 KB13/02/2014 - 19:37
File harbour-videoplayer-0.3-4.armv7hl.rpm101.31 KB26/02/2014 - 00:42
File harbour-videoplayer-0.4-1.armv7hl.rpm103.64 KB06/03/2014 - 03:35
File harbour-videoplayer-0.5-1.armv7hl.rpm106.48 KB03/04/2014 - 22:04
File harbour-videoplayer-0.6-1.armv7hl.rpm108.46 KB23/10/2014 - 14:59
File harbour-videoplayer-0.7-1.armv7hl.rpm109.2 KB10/11/2014 - 19:23
File harbour-videoplayer-0.7-2.armv7hl.rpm109.27 KB13/11/2014 - 20:26
File harbour-videoplayer-0.7-3.armv7hl.rpm109.49 KB15/11/2014 - 15:55
File harbour-videoplayer-0.7-4.armv7hl.rpm109.78 KB17/11/2014 - 18:35
File harbour-videoplayer-0.7-5.armv7hl.rpm110.56 KB20/11/2014 - 13:53
File harbour-videoplayer-0.7-6.armv7hl.rpm122.5 KB23/11/2014 - 21:55
File harbour-videoplayer-0.7-7.armv7hl.rpm122.45 KB26/11/2014 - 16:28
File harbour-videoplayer-0.8-1.armv7hl.rpm123.59 KB03/02/2015 - 22:41
File harbour-videoplayer-0.8-2.armv7hl.rpm123.63 KB05/02/2015 - 17:53
File harbour-videoplayer-0.9-1.armv7hl.rpm134.39 KB18/02/2015 - 20:49
File harbour-videoplayer-0.9-2.armv7hl.rpm134.47 KB19/02/2015 - 00:23
File harbour-videoplayer-0.9-3.armv7hl.rpm100.85 KB13/05/2015 - 17:52
File harbour-videoplayer-0.9-4.armv7hl.rpm900.08 KB29/05/2015 - 18:44
File harbour-videoplayer-0.9-5.armv7hl.rpm900.33 KB31/07/2015 - 19:23
File harbour-videoplayer-0.9-6.armv7hl.rpm902.68 KB06/08/2015 - 18:55
File harbour-videoplayer-0.9-7.armv7hl.rpm902.54 KB14/08/2015 - 18:54
File harbour-videoplayer-0.9-8.armv7hl.rpm992.91 KB31/08/2015 - 14:04
File harbour-videoplayer-0.9-9.armv7hl.rpm997.66 KB20/10/2015 - 15:12
File harbour-videoplayer-1.0-1.armv7hl.rpm997.69 KB03/12/2015 - 20:13
File harbour-videoplayer-1.1-1.armv7hl.rpm1007.3 KB06/03/2016 - 19:01
File harbour-videoplayer-1.1-1.i486.rpm1015.08 KB06/03/2016 - 19:01
File harbour-videoplayer-1.2-1.armv7hl.rpm1.51 MB19/04/2016 - 18:53
File harbour-videoplayer-1.2-1.i486.rpm1.52 MB19/04/2016 - 18:53
File harbour-videoplayer-1.4-1.armv7hl.rpm1.51 MB29/06/2016 - 14:54
File harbour-videoplayer-1.4-1.i486.rpm1.51 MB29/06/2016 - 14:54
File harbour-videoplayer-1.5-1.armv7hl.rpm1.51 MB08/09/2016 - 19:32
File harbour-videoplayer-1.5-1.i486.rpm1.52 MB08/09/2016 - 19:32
File harbour-videoplayer-1.6-1.armv7hl.rpm1.51 MB03/12/2016 - 16:20
File harbour-videoplayer-1.6-1.i486.rpm1.52 MB03/12/2016 - 16:20
File harbour-videoplayer-1.7-1.armv7hl.rpm1.89 MB12/12/2016 - 21:46
File harbour-videoplayer-1.7-1.i486.rpm1.9 MB12/12/2016 - 21:46
File harbour-videoplayer-1.8-1.armv7hl.rpm1.89 MB09/02/2017 - 16:08
File harbour-videoplayer-1.8-1.i486.rpm1.9 MB09/02/2017 - 16:08
File harbour-videoplayer-1.9-1.i486.rpm1.9 MB11/05/2017 - 18:14
File harbour-videoplayer-1.9-1.armv7hl.rpm1.9 MB11/05/2017 - 18:14
File harbour-videoplayer-1.9.1-1.armv7hl.rpm1.9 MB15/06/2017 - 15:00
File harbour-videoplayer-1.9.1-1.i486.rpm1.9 MB15/06/2017 - 15:00
File harbour-videoplayer-1.9.2-1.i486.rpm1.9 MB16/06/2017 - 13:35
File harbour-videoplayer-1.9.2-1.armv7hl.rpm1.9 MB16/06/2017 - 13:35
File harbour-videoplayer-1.9.2-1.armv7hl.rpm1.9 MB10/11/2018 - 17:34
File harbour-videoplayer-1.9.3-1.armv7hl.rpm2.06 MB22/10/2017 - 20:26
File harbour-videoplayer-1.9.3-1.i486.rpm2.07 MB22/10/2017 - 20:26
File harbour-videoplayer-1.9.4-1.armv7hl.rpm2.07 MB11/11/2017 - 15:07
File harbour-videoplayer-1.9.4-1.i486.rpm2.07 MB11/11/2017 - 15:07
File harbour-videoplayer-1.9.5-1.armv7hl.rpm2.07 MB27/11/2017 - 19:33
File harbour-videoplayer-1.9.5-1.i486.rpm2.08 MB27/11/2017 - 19:33
File harbour-videoplayer-1.9.6-1.armv7hl.rpm2.13 MB17/04/2018 - 19:59
File harbour-videoplayer-1.9.6-1.i486.rpm2.14 MB17/04/2018 - 19:59
File harbour-videoplayer-1.9.7-1.armv7hl.rpm2.18 MB08/06/2018 - 17:32
File harbour-videoplayer-1.9.7-1.i486.rpm2.19 MB08/06/2018 - 17:32
File harbour-videoplayer-1.9.8-1.i486.rpm2.21 MB02/08/2018 - 13:46
File harbour-videoplayer-1.9.8-1.armv7hl.rpm2.2 MB02/08/2018 - 13:46
File harbour-videoplayer-1.9.9-1.i486.rpm2.23 MB09/11/2018 - 13:08
File harbour-videoplayer-1.9.9-1.armv7hl.rpm2.22 MB09/11/2018 - 13:08
Changelog: 
  • Add support for light theme
  • Fix pushAttached for places in filemanager + Removed workaround for player hanging
  • Youtube Page Overlay lightTheme fixes
  • Updated youtube-dl

Comments

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" 

DameCENO's picture

Thanks man, you are my hero

bilal's picture

if i pause the video for a few seconds and switch to other app and return to it the app closes itself and a ghost of the app appears in the multitasking view and if that is clicked the app reopens it self..

 

If this is a bug of the app or the OS??

 

cause in previous versions of os or the player i had no problems of resuming the video after texting or browsing something

llelectronics's picture

It is OS specific. The oomkiller killed the app apparently as there was too much ram used.
OS Version 1.1.9.28 introduced that app covers of killed apps won't dissappear. That explains the app reopening when clicked.

Larswad's picture

Audio codecs of some kind seem broken after 1.1.9.28.
No sound, it also.reports unknown format before starting video without sound.
Fix plz?

Edit: Think its ac3 that didn't work.

llelectronics's picture

1.1.9.28 uses new Gstreamer 1.x which misses some codecs as it seems. 

See : https://together.jolla.com/question/13110/no-sound-in-videos-with-ac-3-c...

DameCENO's picture

Has the remember last position option been implemented??? I am installiing right away

Not yet implemented... Now that killed my over-zealous spirit. When is that to be expected?

llelectronics's picture

Nope that feature is not yet included. 

llelectronics's picture

See last git commit from a few minutes ago. I added this feature now. 

It only saves the last known position for local files on swiping back the video player page for now and adds a pulley menu entry "Play from last known position" if it found the video in its database. The database saves the last known positions for the latest 10 files only. (I can raise the limit but for now it seems to be a reasonable limit)

All in all its a bit hacky as the players code was never intended to work this way. Not sure if this will ever work perfectly or if it can be improved to save the last position on closing the app. (without back swiping the media player) 

DameCENO's picture

I definitely am grateful for the commitment, and I will never fail to show my gratefulness for the good work you put on... Limit to 10 is far better than none, I am not sure if everybody is as determnine as I am to seeing this feature fully implemented, but watching movies on my jolla just got better.

I am off to testing the latest update, will get back to you...

Thanks again

Just tried it and the option isn't implemented on 0.9-8 there is no option to remember the last position of file on the pulley menu, and it doesn't remember the last positon of any file. Is there any extra procedure I have to undergo? I have uninstalled and installed it again to no avail... I am really in need of this feature, so I am anxiously anticipating any feedback. Thanks

objectifnul's picture

Any hint to select language while playing a multi-lingual video? (audio and/or sub-titles)

llelectronics's picture

Unfortunately not implemented

wesbluemarine's picture

Works fine with local files.
But ​openurl doesn't work: "Your GStreamer installation is missing a plug-in"

llelectronics's picture

Might be that the stream you are trying to watch is using a codec which isn't supported by the system. 

wesbluemarine's picture

also soundcloud?

Do you have ​a working link so i can try?

llelectronics's picture

For soundcloud I had best experiences not using m.soundcloud.net but only soundcloud.net

Example: https://soundcloud.com/reggae-man-5/bob-marley-no-woman-no-cry

wesbluemarine's picture

I think some url support is broken. (Soundcloud works fine withouth "m."Is possible to update youtube-dl from shell?​

llelectronics's picture

You can. However as it found a stream with the m. but a stream which isn't supported by gstreamer which is the multimedia backend used by my player I guess its nothing wrong with the url support. Its just that the stream on the m. is a different one it found than the one the desktop site. 

wesbluemarine's picture

I've asked because dailymotion and other sites don'twork and i've tried some links that you used on your YoutubeVideo.​
Where is installed youtube-dl?

 

 

llelectronics's picture

It is located in /usr/share/harbour-videoPlayer/qml/pages/helper/
If upgrading makes those links working again please notify me about it so I will update the rpm to include the newest version of youtube-dl

wesbluemarine's picture

Yeah! It works now!
I'm not a developer but maybe you can automize "youtube-dl -U"
Thanks a lot.

llelectronics's picture

Thanks for the update. I will create a new package version including this new youtube-dl version. 

Unfortunately the way it is currently stored in /usr/share would it make impossible to upgrade itself as this location is not writeable by the normal user. It needs some kind of hack storing youtube-dl somewhere else I guess. 

kibet85's picture

jus one request dax..if you can, please change the youtube page to have a more native sailfish look...like in ytplayer..otherwise,,great app...

llelectronics's picture

Honestly I am a little bit to lazy for that as it needs more deeper work with the youtube api. 
If you once worked with that api and know that it changes you don't really want to do this aswell :P 

The webview allows login in and manages your subscriptions and so on. I think this is in terms of features the most advanced version currently :) 

DameCENO's picture

Good day everyone.
I have some bugs to report, am not sure if it is related to the player by the way, but let me lay them down anyway
First there no real support for flv videos, as it just shows oblique lines with no way to see the video itself.
Secondly some videos with 3gp and mp4 formats will loose their sound after about a minute and 20 seconds of playback. The sound comes back only when the seeking bar is used.
Those two are the only bugs I noticed. It would be nice if the option to resume playback from last position could be added. Nice player by the way man

llelectronics's picture

Thanks for reporting. 

When it comes to flv support. Do you have extra codecs installed from here ? 

https://openrepos.net/content/xerxes2/ultimate-codec-support  (Notice: Don't forget to activate sailfish_lib repo like instructed) 

The rest seems to be an issue with the gstreamer multimedia framework provided by the SailfishOS API currently. 

Resume Playback option is interesting. I need to take a look how to implement that. Won't be a big problem for local files I guess as there location does not change much. But for remote media it might be a little bit more difficult to implement. 

DameCENO's picture

Thanks for the reply. I have ultimate-codec-support installed from my warehouse app and the sailfish_lib repo enabled. Still flv videos show those obliques lines with no images properly. Maybe it is still a problem with the gstreamer framework, I still wonder why not implement Mplayer along with the gstreamer just like on MeeGo? Sailfish is really in need of some major improvements multimedia-wise.

The resume playback option is just fine for local files, remote files is just too troublesome we understand that.

Thanks again for the player it is awesome

llelectronics's picture

Maybe it is still a problem with the gstreamer framework, I still wonder why not implement Mplayer along with the gstreamer just like on MeeGo? Sailfish is really in need of some major improvements multimedia-wise.

I think the main reason is a technical one. GPU acceleration for videos and gpu decoding is only working with gstreamer currently. As for the future those problems should be gone with Gstreamer 1.x .

As for Mplayer instead of this there is already a project called QtAV which uses ffmpeg (mplayer is also based on it) and provides a QML module. Would be nice to port that over to SailfishOS. 
For now I want to wait and see what changes SailfishOS 2.0 will bring. I hope it will fixes many shortcomings. 

DameCENO's picture

Being a newbie with my jolla just about a day old, I am grateful for this player that is far better than the stock. So thanks a lot

Pages