The Following 5 Users Say Thank You to MSameer For This Useful Post: | ||
|
2014-02-05
, 19:58
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#52
|
|
2014-02-08
, 14:35
|
|
Posts: 513 |
Thanked: 651 times |
Joined on Feb 2011
@ Sweden
|
#53
|
The sink used for video playback does not do any rendering by itself. It just lets the application get hold of egl images so it can blit them.
The sink uses android GL drivers so not all color formats are supported.
If someone wants to do a video player with GStreamer directly then I can help.
|
2014-02-08
, 14:44
|
|
Posts: 513 |
Thanked: 651 times |
Joined on Feb 2011
@ Sweden
|
#54
|
I have a some problems.
1. Installed needed codecs from sailfish repo, def and LLS playrs start to play videos, but not good, always with green and red lines..
2. Most of my files come with 2 audio lines and default one is a translated to russian line. But after installation of all needed plagins, both players started to use the original english line instead translated.
3. I noticed that Filetug (file browser) app also have player and only this player can show the clear image, see screenshot.
http://imageshack.com/a/img836/2118/f6y7.jpg
But this player have another problems:
* too much time to load video
* not have stop/pause/play button
* can't scroll video
* you always see circle in the middle and the scroll line at the button
Any advice, how to get clear image in def and lls players like in Filetug app? And how I can hear the translated audio line like before plugins installation?
Thanks
|
2014-02-08
, 23:45
|
|
Posts: 605 |
Thanked: 1,778 times |
Joined on Feb 2008
@ Helsinki
|
#55
|
I've found the droideglsink element, written by Mohammed Hassan whom I guess is you, which has a egl-display property that needs to be set to the right window/surface. So how do you do it?
Yes there is a bug in the default multimedia backend that messes up colors for many files.
|
2014-02-10
, 16:58
|
|
Posts: 513 |
Thanked: 651 times |
Joined on Feb 2011
@ Sweden
|
#56
|
I am the same guy who wrote the sink.
Here is an example: https://gitorious.org/cameraplus/cam...nderernemo.cpp
You basically either set the egl-display when you create the element or you set it the first time you get a frame available signal. It does not matter.
|
2014-02-16
, 13:34
|
|
Posts: 605 |
Thanked: 1,778 times |
Joined on Feb 2008
@ Helsinki
|
#57
|
Thanks for the answer. But before I dig any deeper I might as well ask if this is possible to do with only Qt as I usually use PyQt? I see you import a few headers which might not work with Python. The same thing is dead simple to do in X11 with the xvimagesink element and I've done it multiple times with GTK2/3, never with Qt though. Otherwise I might convince llelectronics to use gstreamer directly with his player.
Well, the default backend (MediaPlayer) works reasonably well but as you can see in this thread, and other places, it got a few bugs and missing features. The main issues identified so far:
* Messed up colors for many non h264 files, possibly fixed with a ffmpegcolorspace element
* Lack of proper subtitle support, on/off, chose between multiple ones
* Missing capability to chose between many audio tracks in video files
Those three are the big ones I think. I know you're in the process of upgrading to gst-1 but still it would be nice if the messed up colors would be fixed. And to have an on/off switch for subtitles.
Edit: Also MediaPlayer got pretty good support for metadata which you would have to deal with in another way if you use gstreamer directly.
The Following User Says Thank You to MSameer For This Useful Post: | ||
|
2014-05-23
, 22:15
|
|
Posts: 513 |
Thanked: 651 times |
Joined on Feb 2011
@ Sweden
|
#58
|
|
2014-06-01
, 21:24
|
Posts: 12 |
Thanked: 6 times |
Joined on Feb 2014
|
#59
|
|
2014-07-04
, 10:29
|
Posts: 79 |
Thanked: 64 times |
Joined on Jan 2012
@ Pordenone
|
#60
|
The sink uses android GL drivers so not all color formats are supported.
If someone wants to do a video player with GStreamer directly then I can help.
Alternatively have a look at the sailfish media components RPM and there should be a video element that handles all this for you (not supported)
EDIT:
Yes we disabled a lot of codecs and we use AAC encoder only from gst-ffmpeg. The rest has been disabled because it's not needed and because of the limited codecs that we enable in our libav
libav is used for thumbnailing, tracker indexing and some audio encoding and decoding.
EDIT2:
Gallery is not really crippled. The issue is tracker does not recognize all the formats because libav lacks support for them.
We need a coffee machine that doesn't ask for coffee beans every 10 hours
Last edited by MSameer; 2014-01-24 at 15:07.