Reply
Thread Tools
Posts: 426 | Thanked: 1,812 times | Joined on Dec 2013
#151
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.
__________________
Donation for my sailfish apps via PayPal

Donate using Liberapay
 

The Following User Says Thank You to llelectronics For This Useful Post:
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#152
I suddenly started getting this for every YouTube video I try:

Name:  20141228225833_1.jpg
Views: 596
Size:  21.8 KB

Any idea what might be going on? The same videos play just fine in the native browser.
__________________
Русский военный корабль, иди нахуй!
 

The Following User Says Thank You to pichlo For This Useful Post:
Posts: 752 | Thanked: 2,808 times | Joined on Jan 2011 @ Czech Republic
#153
Originally Posted by llelectronics View Post
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).
 

The Following User Says Thank You to nodevel For This Useful Post:
Posts: 426 | Thanked: 1,812 times | Joined on Dec 2013
#154
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.
__________________
Donation for my sailfish apps via PayPal

Donate using Liberapay
 

The Following 2 Users Say Thank You to llelectronics For This Useful Post:
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#155
Any news/hints/ideas about this? Am I the only one affected?
__________________
Русский военный корабль, иди нахуй!
 
Mikkosssss's Avatar
Posts: 645 | Thanked: 519 times | Joined on Apr 2012 @ Finland
#156
Originally Posted by pichlo View Post
Any news/hints/ideas about this? Am I the only one affected?
I have that too.
__________________
────────────────────
Try:My N9 bootvideo
 
Posts: 426 | Thanked: 1,812 times | Joined on Dec 2013
#157
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.
__________________
Donation for my sailfish apps via PayPal

Donate using Liberapay
 

The Following 3 Users Say Thank You to llelectronics For This Useful Post:
Posts: 426 | Thanked: 1,812 times | Joined on Dec 2013
#158
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
__________________
Donation for my sailfish apps via PayPal

Donate using Liberapay
 

The Following 16 Users Say Thank You to llelectronics For This Useful Post:
Posts: 426 | Thanked: 1,812 times | Joined on Dec 2013
#159
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
__________________
Donation for my sailfish apps via PayPal

Donate using Liberapay
 

The Following 3 Users Say Thank You to llelectronics For This Useful Post:
Posts: 426 | Thanked: 1,812 times | Joined on Dec 2013
#160
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.
__________________
Donation for my sailfish apps via PayPal

Donate using Liberapay
 

The Following 11 Users Say Thank You to llelectronics For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 04:49.