![]() |
Re: [WIP] LLs Video Player
|
Re: [WIP] LLs Video Player
work very gooood! Thank you :)
once is missing - DL YT as MP3 :P another quetion. Is it possible to stream from Dreambox to Jolla Phone with this Player? |
Re: [WIP] LLs Video Player
Quote:
You mean the DVB Streaming box ? I am not sure. Just try and see. |
Re: [WIP] LLs Video Player
The new UI is very good!
|
Re: [WIP] LLs Video Player
Quote:
Would be great to be able to switch within a playlist... |
Re: [WIP] LLs Video Player
The UI is cool but I haven't been able to watch youtube video since christmas or so. It gives the "forbidden" error every time
|
Re: [WIP] LLs Video Player
Forbidden error ?
Thats new to me. I know there are some videos on youtube that produce that problem when listed private. But do you get this on every video ? Is there anything else in the error message ? |
Re: [WIP] LLs Video Player
Every video. Mostly it's just "forbidden" with a 3 in the top left corner. Once I've seen some other errors. When it "broke" the video just showed a still picture hinting towards banned 3rd party app.
|
Re: [WIP] LLs Video Player
Ah and you did not enable directYoutube in settings ?
Hmm... normaly it should not use the setting anymore (as it was removed and used by default now). But I guess it tries to use ytapi for you still somehow. Would you mind removing the config of of harbour-videoPlayer in /home/nemo/.local/share/ and see if this fixes it for you. You can do so by Terminal , ssh or using File Browser. Also I wonder if anyone else is experiencing this problem (I tried almost everything to avoid this problem beforehand) ? |
Re: [WIP] LLs Video Player
Did not change the setting. I've reinstalled the app and removed the config. No luck.
|
Re: [WIP] LLs Video Player
So if isn't the ytapi error it must be something else which blocking it for you. As normal youtube api is used to gather the video stream url.
Can you watch videos on youtube with the normal browser or webcat ? |
Re: [WIP] LLs Video Player
Will you please add support for RTMP?
Would be great to have a native solution for this. |
Re: [WIP] LLs Video Player
If the underlying gstreamer library used for audio/video stuff does not support rtmp then I cannot do much about it.
|
Re: [WIP] LLs Video Player
Just a quick courtesy note, I found that LLs Video Player has also fallen victim of this bug :(
|
Re: [WIP] LLs Video Player
Quote:
How about using ffmpeg for protocols that aren't supported with gstreamer? Android apps like MX Player and BSPlayer are using it, but the problem is, when I minimize the app or lock the screen, it pauses :( |
Re: [WIP] LLs Video Player
Quote:
then switch to landscape. Quote:
First get it to work with wayland or the hardware acceleration on the Jolla. Then you need a qt5 bridge to use it from qml apps. I am still waiting for gstreamer 1.x that should fix that issue and guess what gstreamer has also an ffmpeg plugin so it can utilize ffmpeg aswell. Though support for different protocols and codecs needs to be compiled in. |
Re: [WIP] LLs Video Player
|
Re: [WIP] LLs Video Player
Quote:
Adding it to tidings (or any other rss feed reader does not work either) So I am not sure how to deal with it. |
Re: [WIP] LLs Video Player
Do you plan to implement "Stretch to screen/crop/resize" options in a future release?
|
Re: [WIP] LLs Video Player
Quote:
The implementation currently is very crashy therefor I did not add that feature yet. |
Re: [WIP] LLs Video Player
Quote:
|
Re: [WIP] LLs Video Player
As stated before ffmpeg binary isn't enough.
It needs hardware acceleration support. It needs a qt5 binding otherwise it will be useless to me. And no I don't intend to write this all by myself. (too much time waster and to high risk that the next update might break everything) |
Re: [WIP] LLs Video Player
Update: 0.9-3 is out now.
The only change is the switch to Youtube API v3 to retrieve titles of youtube videos. API v2 is no longer working (Youtube turned it off basically) Get the RPM here |
Re: [WIP] LLs Video Player
Can you make right swiping when watching a video not ending it? I often try to remove lint, dust etc when watching a video and having it shut down when i swipe right is a pain in the behind. :(
And adding skip forward/backward buttons with 10 seconds or personal time skipping would be great. Thanks for a great video player. :D |
Re: [WIP] LLs Video Player
Quote:
In its earlier incarnation I had the videoplayer page set up as the mainpage so a right swipe would not kill the audio/video playing. But that introduced new problems. Due to the extremely poor gstreamer version on SailfishOS currently it every now and then crashes and freezes the player completely. Especially on URL/File Open changes. And of course it also costs memory. Therefore I created a new main page and load the videoplayer page on demand. This most of the times works better (crashes due to gstreamer are down by 80%) and uses lesser memory. Quote:
Quote:
|
Re: [WIP] LLs Video Player
Update: 0.9-4 is there
Big update as it introduces youtube-dl integration in the OpenUrl page. So now LLs Video Player supports all of these streaming sites: https://rg3.github.io/youtube-dl/supportedsites.html However not all are supported by gstreamer on SailfishOS (e.g. Apple Trailers site and some movs seem not to work). Be aware of geo location blocks aswell. Everything that is playable should be downloadable aswell. I also fixed a small but annoying bug when searching on youtube and clicking a search result would tend to ignore the WebView.ignoreRequest and load the corrupt video page anyways. This resulted in the annoyance that when you swipe back after watching the youtube video you would land on a broken site. It should now go back to the last known url. Though as youtubes mobile site nowadays does cache very much in javascript instead of relying on the browser it might not always be the site with the fully populated search results. (Most noticable on channel sites were swiping back brings you back to the channels main site) Short demonstration video: https://www.youtube.com/watch?v=7mbs3k-UjOw Get RPM from openrepos. |
Re: [WIP] LLs Video Player
Update: Version 0.9-5 is there.
Several bugfixes regarding video player page and remote urls landed. I hope to address freezes that occur when playing back several remote videos in one instance which keeped gstreamer to behave strangely and hang very long. Forcing to stop the video and destroying the videooutput on deactivation of the video player page seem to solve this issues. I also fixed broken edge swipes for newer SailfishOS versions and added TOHKBD support by adding 3 handy shortcuts for playing and pause aswell as seeking. Changes:
Get the RPM from OpenRepos. |
Re: [WIP] LLs Video Player
Quote:
Thanks for the update! I was wondering if you can add some support for dreambox streams. I have an Android app (dreamdroid) which I can pick "stream", but it ends up downloading the stream with the default sailfish browser :( |
Re: [WIP] LLs Video Player
I don't know dreambox streams.
Did you try copying the stream url and try loading it in LLs Video Player? |
Re: [WIP] LLs Video Player
Thanks for the new version!
I have one feature request/suggestion: Since it already utilizes youtube-dl, could you add support for some of its functions, such as choosing the quality, and more importantly, could you add an option to cache (download) the video instead of playing it? Maybe an ability to copy the video URL would do, but it would be a nice addition to be able to cache the video for later. Thanks. |
Re: [WIP] LLs Video Player
You can already choose the video quality for youtube videos and download them.
|
Re: [WIP] LLs Video Player
Quote:
I will pm you the details on how to get my stream so you can check it out :) |
Re: [WIP] LLs Video Player
Quote:
But I still cannot choose the quality of (for example) this video, even though the youtube-dl script shows different formats/qualities. Or maybe I juat can't find the option in the UI :rolleyes: |
Re: [WIP] LLs Video Player
Quality changes only works for youtube so far as this is the only plattform I can check what the codecs are and if it they are supported.
|
Re: [WIP] LLs Video Player
Hi
I have a little problem when I want to save video from link. For example I opened video link in browser -> copied it -> inserted to "Enter URL" -> press "Load URL" and now when it finish to load I can swipe down and choose "Download". It will download file but without suffix :( Now if I will swipe down again I can choose "Download with Curl" and now it will save file with suffix. Why it can't download in first time with suffix ? Thanks |
Re: [WIP] LLs Video Player
Quote:
I will investigate this. Maybe there is no suffix given in the file location (youtube for example does not give any) and the QtNetworkAccessManager does not to seem autodetect and add a suffix which curl does apparently. edit: Apparently QNetworkAccessManager gets the Mimetype "application/octet-stream" so it does not add an extension to the filename. I am not sure I can fix that so fast. |
Re: [WIP] LLs Video Player
Quote:
|
Re: [WIP] LLs Video Player
Hmm... ok another update.
Curl isn't more intelligent then QNetworkAccess. I found that I just added .mp4 to every file it downloads :P So this is no real solution either. [s]I digged in a little bit more and found out that Youtube tries to hide their mimetype so that even running a mimetype check on the file after downloaded turns out to be a application/octet-stream. So for now I don't see a solution. The only thing I could do is hardcode the suffix somehow for the expected youtube file.[/s] edit: This is all crap I wrote above (except for curl which I really hardcoded to use .mp4 for every filename) I found a solution. By default QMimeDatabase is prioritising filename over filecontent when it comes to detecting the mimetype. As the youtube videos are detected as application/octet-stream on downloading. But after the file is downloaded and the file content is clearly a video file I can force QMimeDatebase to only scan the file content to get the correct mimetype as a normal scan with the filename .bin would throw out application/octet-stream again. And guess what this seems to work. So basically this means: If you download a youtube video it will get the ending .bin for the initial filename. If the download is finished this should be renamed to webm mp4 or flv or whatever the file really is. Basically this is true for every file you want to download that does not provide a file ending. Ulrs which have a file ending will initially have the correct file ending also during download. I know that is a lot of explaination. But I think its fine for some of you to see how complicated easy things can get sometimes. |
Re: [WIP] LLs Video Player
Cool! Thanks ;)
|
Re: [WIP] LLs Video Player
|
| All times are GMT. The time now is 07:37. |
vBulletin® Version 3.8.8