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)

llelectronics 2014-12-28 20:32

Re: [WIP] LLs Video Player
 
It is a known gstreamer 0.10 limitation which is fixed in version 1.x .
On the fly converting for a stream won't work I guess.
I would suggest waiting for Jolla releasing GStreamer 1.4 for SailfishOS. First steps were already done in update 10. I hope update 11 or 12 will bring a full replacement for 0.10 including support for the camera.

pichlo 2014-12-28 23:09

Re: [WIP] LLs Video Player
 
1 Attachment(s)
I suddenly started getting this for every YouTube video I try:

Attachment 36307

Any idea what might be going on? The same videos play just fine in the native browser.

nodevel 2014-12-29 00:03

Re: [WIP] LLs Video Player
 
Quote:

Originally Posted by llelectronics (Post 1454205)
It is a known gstreamer 0.10 limitation which is fixed in version 1.x .
On the fly converting for a stream won't work I guess.
I would suggest waiting for Jolla releasing GStreamer 1.4 for SailfishOS. First steps were already done in update 10. I hope update 11 or 12 will bring a full replacement for 0.10 including support for the camera.

Thank you for reply. GStreamer 1.0 is already in the repositories, but unfortunately, it seems that the main road blocker is GStreamer 1.x support in Qt itself. SailfishOS finally has Qt 5.2, but even with Qt 5.5 in sight, the GStreamer 1.x support still hasn't been implemented (AFAIK) in QtMultimedia, even though it is planned. It still relies on GStreamer 0.10.

I wouldn't have high hopes for it, so it looks like a better solution to go either the VLC route, or try QtAV.

It had the support and even an official release for SaifishOS in its 1.3.3 version, but now it needs at least libAV 0.9 (Sailfish has 0.8).

llelectronics 2014-12-29 22:04

Re: [WIP] LLs Video Player
 
Yeah I am also hoping for a good alternative to gstreamer.
VLCs qml bindings look promising. But it needs really for someone who knows about the code to do the working.
I can build GUIs but I am not experienced in these kind of things.

pichlo 2015-01-01 16:59

Re: [WIP] LLs Video Player
 
Any news/hints/ideas about this? Am I the only one affected?

Mikkosssss 2015-01-01 17:06

Re: [WIP] LLs Video Player
 
Quote:

Originally Posted by pichlo (Post 1454678)
Any news/hints/ideas about this? Am I the only one affected?

I have that too. :(

llelectronics 2015-01-03 09:03

Re: [WIP] LLs Video Player
 
ytapi seems to want money now if you use their api in an app. Please switch to direct youtube in settings. It will take a little longer to load but should work fine.
Ytapi will be removed if I can't fix it.

llelectronics 2015-02-03 19:45

Re: [WIP] LLs Video Player
 
Update: New version 0.8 is out now.
This provides the webview patches for devicePixelRatio from webcat and way better youtube detection in different formats and the ability to choose between the formats for playback.
Ytapi was disabled and the player now fetches the direct youtube video streams.
Biggest speed improvement is the switch from GStreamerVideoOutput to VideoOutput which internally still uses Gstreamer (at least on 1.1.x) but offers way better performance.

Overview of changes:
  • Fixed file removal in fileman
  • Incorporated yt.js patches from webcat to better detect embedded youtube
    streams and try harder to get the direct youtube stream
  • Added "Show Youtube Comments" for Youtube Videos in Details Page
  • Added "Search Artist on Youtube" in Details Page
  • Show controls on video ended
  • Make User Agent controllable in SecondPage (WebView)
  • Allow disabling checking for youtube url in SecondPage (WebView)
  • Use NavigationRequest instead of Url Change to detect Youtube links
  • Disabled ytapi
  • Fixed youtube direct stream detection for all formats
  • Added quality chooser for youtube videos
  • Switched from GStreamerVideoOutput to VideoOutput which works far better
    on OS 1.1.x
  • Added devicePixelRatio hack from webcat
  • Added backbutton for SecondPage (Webviews)
  • Enabled back swipe on SecondPage (Webviews)
  • Check if youtube id can be retrieved before jumping into player

Get RPM from Openrepos

llelectronics 2015-02-05 14:54

Re: [WIP] LLs Video Player
 
Update: Small bugfix.

I fixed a typo in the showControls function that causes the pulley and title to hide instead to show like it should.
0.8-2 is up on openrepos :)

llelectronics 2015-02-18 17:55

Re: [WIP] LLs Video Player
 
Big UI Update: Version 0.9 is out featuring a new main UI.

This main UI shows the main actions of the app instead of just a Play Icon and hiding everything else in a pulley menu.
The video player component is loaded only when necessary which saves some memory and avoids some gstreamer bugs (like the one causing a freeze/long waiting when switching from local source to remote source).
Pulley menus could be stripped down and some hidden stuff like the drawer element in the video player were removed.
This makes the user experience a lot better and adds more structure.

Changes in an overview:
  • Redesigned main UI
  • added new main page with gridview and big action icons
  • only load mediaplayer on demand (saves memory, avoids some gstreamer bugs/crashes)
  • less cluttered pull down menus
  • No more hidden menus like long press on video to open drawer (drawer items now in pull down menu)
  • cleaner code
  • History now saves with and shows title if available (db upgrade will convert current history but won't add titles to existing items)
  • Don't add items already in history
  • About page with SilicaFlickable
  • Allow all orientations also for about page

You can get the RPM from Openrepos

If you are searching for the source be aware that there is a new branch on github called new-ui which will be merged in the future (I guess if everything works ok and everyone agrees with the new UI) on github.


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

vBulletin® Version 3.8.8