maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   [WIP] LLs Video Player (https://talk.maemo.org/showthread.php?t=92141)

HtheB 2015-08-06 16:00

Re: [WIP] LLs Video Player
 
Quote:

Originally Posted by llelectronics (Post 1478805)
Update: 0.9-6 includes now this Download Manager fix.
Enjoy.

RPM

have you got my pm?

llelectronics 2015-08-06 16:24

Re: [WIP] LLs Video Player
 
Quote:

have you got my pm?
Yeah saw it and answered it. Though without a direct link I doubt I can do much.

HtheB 2015-08-06 16:42

Re: [WIP] LLs Video Player
 
Sent you a reply with the needed detailed information

Schturman 2015-08-06 17:42

Re: [WIP] LLs Video Player
 
Quote:

Originally Posted by llelectronics (Post 1478805)
Update: 0.9-6 includes now this Download Manager fix.
Enjoy.

RPM

Big thanks! Work like a charm!
Small donation sent ;)
Thanks

llelectronics 2015-08-14 15:56

Re: [WIP] LLs Video Player
 
Update: Version 0.9-7 is out now.
Mainly I fixed a nasty bug that would cause the destruction of the video player even when only viewing the details page or choosing the video quality on youtube videos.

Changes:
  • Fixed Youtube Quality Chooser / Details view destroying videoplayer
  • Disable debugging output
  • Fixed source switching from remote to local hang

Get RPM

llelectronics 2015-08-31 11:06

Re: [WIP] LLs Video Player
 
Update: 0.9-8 ist out now.

Changes:
  • Updated youtube-dl
  • Made play/pause button more visible on very bright/white videos
  • Changed size and color of title for better readibility
  • Added fancy animation for gridview buttons when opening app

Get RPM from openrepos

skanky 2015-08-31 20:09

Re: [WIP] LLs Video Player
 
I've just looked to properly start using this (it's the use of youtube-dl that caught my eye), but get an error when I try and download a URL.

Quote:

/usr/bin/env: python: No such file or directory
Do I need to install python. I can't remember if it comes with SFOS, but guess not? I'll have a look and see, but thought this might be worth reporting meantime.

I've just updated to 1.1.7.28.

llelectronics 2015-09-02 08:23

Re: [WIP] LLs Video Player
 
Yes you need python installed for youtube-dl to work.
Maybe a dependency is missing for the package. I will check again with a new fresh virtual sailfish image. Until now I was under the impression python ships with SFOS

skanky 2015-09-02 09:58

Re: [WIP] LLs Video Player
 
Quote:

Originally Posted by llelectronics (Post 1480750)
Yes you need python installed for youtube-dl to work.
Maybe a dependency is missing for the package. I will check again with a new fresh virtual sailfish image. Until now I was under the impression python ships with SFOS

Aaah, sorry real life stepped in and I completely forgot to check if python came with it. There is a Python3 in openrepos, but that might just mean that python2 is what's bundled?

Busy with work now, but I should have time this afternoon to investigate further.

Thanks for the response.

skanky 2015-09-02 12:24

Re: [WIP] LLs Video Player
 
Right, okay I'm a little confused, but I've got past that issue.

I am using modrana on the device, which is python based, but "$ which python" gave no results (I assume modrana uses a library?).

So I installed python using pkcon and now when I paste in a url I no longer get that error. If I try a BBC iPlayer link I get to the play symbol, but pressing that results in the error "No URI set". I assume this is something to do with youtube-dl, but it works with mpv on my linux box (last time it didn't I was on an old version of youtube-dl).

It's not a huge issue for me, I'm not likely to want to watch much on the phone. I'm just looking towards when the tablet comes out.

llelectronics 2015-09-02 14:40

Re: [WIP] LLs Video Player
 
Can you paste an example link ?
Sometimes youtube-dl takes its time or only the desktop site links work successfully.

skanky 2015-09-02 15:24

Re: [WIP] LLs Video Player
 
I tried the same one again that I tried before, gave it a bit longer before pressing play and got "Your Gstreamer installation is missing a plugin".

The link is:
http://www.bbc.co.uk/iplayer/episode...group=b006mgxf

llelectronics 2015-09-03 10:26

Re: [WIP] LLs Video Player
 
Youtube-dl seemed to fail finding the stream either (maybe geoblocking but I always get a html page back) or if you really get a valid stream url the codec used there isn't supported by gstreamer on SailfishOS. (or codecs for that are missing)

skanky 2015-09-03 10:34

Re: [WIP] LLs Video Player
 
Quote:

Originally Posted by llelectronics (Post 1480927)
Youtube-dl seemed to fail finding the stream either (maybe geoblocking but I always get a html page back) or if you really get a valid stream url the codec used there isn't supported by gstreamer on SailfishOS. (or codecs for that are missing)

Thanks for the reply, I'm going to guess on the gstreamer support, as it does work on my laptop. The BBC don't make it easy to avoid their flash stuff. I think get_iplayer uses the iOS API.

Thanks for the player anyway, even with the BBC issues, it's still great. :)

llelectronics 2015-10-20 12:14

Re: [WIP] LLs Video Player
 
Update: Version 0.9-9 is out now.

Get the RPM from here.


Changelog
  • Added "Play from last known position" for local files
  • Beautified back button on webpage
  • Added youtube-dl update mechanism (update button in settings)
  • Added python as requirement (some report it isn't shipped by default)

dameceno 2015-11-19 11:44

Re: [WIP] LLs Video Player
 
Just donated to you, as I know you have been there for my video experience since getting my Jolla phone, am grateful

hemiwi 2015-11-19 15:30

Re: [WIP] LLs Video Player
 
Would it be possible to have your video player also on the tablet?
I really miss a good video player that is native and without hacking has access to the SD card.

Certainly i would be willing to donate if that is needed.

(and yes i am one of the lucky ones to have received a tablet)

Thank you very much

llelectronics 2015-11-20 18:38

Re: [WIP] LLs Video Player
 
I don't think openrepos has support for the tablet version.
So I need to store the rpm somewhere else.
If you don't have issues with downloading the rpm from mega, here you go.
Only tested on the virtual machine however.
Hope to get the tablet soon so I can start debugging problems on it :)


https://mega.nz/#!LAh2AICb!lQw8sfVE6...3GI2wb8kETpQ8E

pichlo 2015-11-20 18:42

Re: [WIP] LLs Video Player
 
Quote:

Originally Posted by llelectronics (Post 1488810)
I don't think openrepos has support for the tablet version.

Not yet. There may or may not be one in the future.

hemiwi 2015-11-20 20:30

Re: [WIP] LLs Video Player
 
Thank you soooooo very much!!!!
You are my personal hero and made my day!!!! Please tell me where i can donate to show my appreciation.

On a side remark:

Installation went smoothless and without hiccup.
When i try to play a file from SD Card i get->

2
Cannot play stream of type:<unknown>

This happens with every file (mp4, mkv, avi) but when i play from any position than 00:00 the movie starts incl. subtitles.


Sound still not playing but i guess that is the missing gstreamer right?:p

llelectronics 2015-11-21 08:56

Re: [WIP] LLs Video Player
 
Yes I think that has todo with gstreamer. The error message will popup when either audio or video codec isn't supported. Tapping play again will then play only that part that is supported. In your case it seems only the video track not audio.

As for donations see my signature under each post :)

stickymick 2015-11-21 12:02

Re: [WIP] LLs Video Player
 
Having problems installing the latest LLs on SF 2.0.
Get an error saying "Problem installing LLs Video Player" and the icon never appears, just get the progress icon going round and round.

llelectronics 2015-11-21 18:15

Re: [WIP] LLs Video Player
 
Can you try manually installing the rpm?
Maybe also via ssh or terminal to see error messages.

Paspie 2015-11-22 22:38

Re: [WIP] LLs Video Player
 
Quote:

Originally Posted by stickymick (Post 1489000)
Having problems installing the latest LLs on SF 2.0.
Get an error saying "Problem installing LLs Video Player" and the icon never appears, just get the progress icon going round and round.

  1. Ensure you have a internet connection
  2. Activate developer mode
  3. Activate remote connection, and set password for root access
  4. Go into terminal and enter 'devel-su' (then enter the password set above)
  5. Enter "pkcon install python"
  6. Exit developer mode and install LLS.

pichlo 2015-11-22 22:54

Re: [WIP] LLs Video Player
 
ITYM devel-su in step 4. But you don't need that. You can run pkcon as a normal user. Not a great security but that's how it is.

Paspie 2015-11-22 23:15

Re: [WIP] LLs Video Player
 
Quote:

Originally Posted by pichlo (Post 1489239)
ITYM devel-su in step 4. But you don't need that. You can run pkcon as a normal user. Not a great security but that's how it is.

I tried doing it without root and it wouldn't let me.

pichlo 2015-11-22 23:29

Re: [WIP] LLs Video Player
 
Quote:

Originally Posted by Paspie (Post 1489242)
I tried doing it without root and it wouldn't let me.

Something unusual with your device. Mine did not accept 'su' until I ran 'devel-su' followed.by 'passwd'. And I can run 'pkcon' as a user:
Code:

,---
| SailfishOS 2.0.0.10 (Saimaa) (armv7hl)
'---
[nemo@Dinghy ~]$ pkcon install python
Installing
Waiting in queue
Starting
Refreshing software list
Querying
Resolving dependencies
Installing packages
Installing
Waiting in queue
Waiting for authentication
Waiting in queue
Starting
Refreshing software list
Querying
Resolving dependencies
Installing packages
Downloading packages
Installing packages
[nemo@Dinghy ~]$


hemiwi 2015-11-23 10:43

Re: [WIP] LLs Video Player
 
Quote:

Originally Posted by llelectronics (Post 1488953)
Yes I think that has todo with gstreamer. The error message will popup when either audio or video codec isn't supported. Tapping play again will then play only that part that is supported. In your case it seems only the video track not audio.

As for donations see my signature under each post :)

Thanks again llelectronic - i got gstreamer plugin and gstreamer bad plugin from Larswad to test and i can say after initial testing all movie/series i tried worked perfectly with your LLPlayer.

The tablet plays the files both internally aswell from SDCard without any problems. Tested now AC3, DTS and DD5.1 and the picture and sound quality is very good for my taste.

I can only hope that you all receive your tablet cause with your and Larswads work the tablet is so much more fun.

billranton 2015-11-23 11:34

Re: [WIP] LLs Video Player
 
Quote:

Originally Posted by llelectronics (Post 1488810)
I don't think openrepos has support for the tablet version.
So I need to store the rpm somewhere else.

There's no Warehouse support for it yet, but Openrepos are all working fine for i486 rpms already. A few apps already have tablet versions on there (Sailorgram, Quickddit).

hemiwi 2015-11-24 19:58

Re: [WIP] LLs Video Player
 
BTW before you post your version on openrepos as i486 version would it be possible to change subtitles size bigger than 38?

It is so darn small on the tablet....at least double the size would be needed in my humble opinion...Otherwise as written pretty darn perfect.

llelectronics 2015-11-29 11:53

Re: [WIP] LLs Video Player
 
Yeah will allow that :)
Bigger font sizes make sense for the tablet.

mced 2015-11-29 13:48

Re: [WIP] LLs Video Player
 
Updating LLs Videoplayer from Warehouse...

http://i64.tinypic.com/zssoow.jpg

Trying proposed solution...

Code:

$ pkcon install python
Transaction:        Installing
Status:        Waiting in queue
Status:        Starting
Status:        Refreshing software list
Percentage:        0
Status:        Querying
Percentage:        10
Percentage:        40
Status:        Resolving dependencies
Status:        Installing packages
Package:        python-2.7.6-1.3.1.armv7hl
Package:        python-libs-2.7.6-1.3.1.armv7hl
Percentage:        100

The following packages have to be installed:
 python-2.7.6-1.3.1.armv7hl        An interpreted, interactive, object-oriented programming language
 python-libs-2.7.6-1.3.1.armv7hl        Runtime libraries for Python

Transaction:        Installing
Status:        Waiting in queue
Status:        Waiting for authentication
Status:        Waiting in queue
Status:        Starting
Status:        Refreshing software list
Percentage:        0
Status:        Querying
Percentage:        10
Percentage:        40
Status:        Resolving dependencies
Status:        Installing packages
Status:        Downloading packages
Package:        python-2.7.6-1.3.1.armv7hl
Results:
Fatal error: File './core/armv7hl/python-2.7.6-1.3.1.armv7hl.rpm' not found on medium 'https://releases.jolla.com/releases/2.0.0.10/jolla/armv7hl/'

Any hint?

llelectronics 2015-11-30 12:37

Re: [WIP] LLs Video Player
 
Can you run pkcon refresh and see if you are able to install the package after that ?

mced 2015-11-30 18:53

Re: [WIP] LLs Video Player
 
Great, that worked. I used to think GUI software apps (Jolla Store and Warehouse) performed that "refresh" step automatically, before downloading packets.

llelectronics 2015-11-30 18:55

Re: [WIP] LLs Video Player
 
Quote:

Originally Posted by mced (Post 1490241)
Great, that worked. I used to think GUI software apps (Jolla Store and Warehouse) performed that "refresh" step automatically, before downloading packets.

Nope they aren't apparently. They only refresh the repo that you want to download from but not the others as far as I know.

HtheB 2015-12-02 15:36

Re: [WIP] LLs Video Player
 
Will there be an option in the future to have the player running in a draggable window?

Please try out coderus' ScreenTapShot app to see what I mean

llelectronics 2015-12-03 17:14

Re: [WIP] LLs Video Player
 
Quote:

Will there be an option in the future to have the player running in a draggable window?
Nice idea. Not sure if it makes sense for now.

In the meantime a new version.
Finally version 1.0 is out

It took a long time but now I can proudly say this is version 1.0.
Even if I did not manage to pack in every feature I wanted (the todo list is long and gets even longer). This version is the most usable ever.

Changes:
  • Make sure attachedPage is popped
  • Always use black background for videoPage to avoid rendering bug with newer Silica Components
  • Added support for manually choosing srt subtitle
  • Fixed support for automatic subtitle detection for files without suffix
  • Bumped subtitle font selection up to 95 for tablet
  • Fixed youtube get streams (grab 720p,360p,240p correctly)

If you encounter problems make sure python is installed before installing this rpm.
Get the rpm from openrepos
Tablet RPM: https://app.box.com/s/qj8mqfw3213287js4449ig7x8asfcsk2

HtheB 2015-12-03 19:40

Re: [WIP] LLs Video Player
 
Quote:

Originally Posted by llelectronics (Post 1490486)
Nice idea. Not sure if it makes sense for now.

Why wouldn't it?

When you watch movie or a tv channel stream, I wouldn't want to miss something.

Here is a use case:
1- You're watching live soccer.
2- You get a text/im message
3- You need to reply, but you also don't want to loose sight of the video.

So there you have it.

This idea is already possible on some players, like BS Player. The problem here is, that it's of course only hovering on Android apps
Check out on this video what I mean:
https://youtu.be/A0rAfpgE6Fg?t=34s
(0:34 - 0:55)
And yes, pinch to zoom works, but the person who took this video failed :p

llelectronics 2015-12-03 20:21

Re: [WIP] LLs Video Player
 
Yeah yeah I know what you mean.
It is also implemented in Tizen and works good there.

I will take a look at it. Basically you need to hack around the window manager in sailfishos to accomplish this. Therefor I said it does not make sense fow now. The other point is the small screen size on the phone itself.
The most benefit I can see is on tablets because of their bigger screen.
But its on my todo. So I definitely will take a look. Though after this 1.0 release there are other projects that I want to complete first before I start working on new features :)

HtheB 2015-12-04 00:56

Re: [WIP] LLs Video Player
 
Quote:

Originally Posted by llelectronics (Post 1490502)
Yeah yeah I know what you mean.
It is also implemented in Tizen and works good there.

I will take a look at it. Basically you need to hack around the window manager in sailfishos to accomplish this. Therefor I said it does not make sense fow now. The other point is the small screen size on the phone itself.
The most benefit I can see is on tablets because of their bigger screen.
But its on my todo. So I definitely will take a look. Though after this 1.0 release there are other projects that I want to complete first before I start working on new features :)

Thanks for the explaining!
Well, you might look for the sources of ScreenTapShot to get it done faster :p

But great to hear that it's in your todo list!


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

vBulletin® Version 3.8.8