From: David S. <on...@gm...> - 2014-07-11 10:29:18
|
On Fri, 11 Jul 2014 20:11:20 +1000 David Seikel <on...@gm...> wrote: > On Fri, 11 Jul 2014 18:42:08 +0900 Carsten Haitzler (The Rasterman) > <ra...@ra...> wrote: > > > On Fri, 11 Jul 2014 15:56:09 +1000 David Seikel <on...@gm...> > > said: > > > > > On Thu, 10 Jul 2014 23:12:19 -0500 Doug Newgard > > > <sci...@ou...> wrote: > > > > > > > > > > > > > > > > From: pra...@ig... > > > > > To: enl...@li... > > > > > Date: Fri, 11 Jul 2014 04:06:52 +0000 > > > > > CC: ra...@ra... > > > > > Subject: [E-devel] to write video player application using > > > > > Emotion library with gstreamer1.0 backend > > > > > > > > > > Hi, > > > > > > > > > > I wish to write a simple video player, which renders using EFL > > > > > libraries and uses gstreamer1.0 backend for playback. > > > > > > > > > > I learnt that, in EFL-1.9 onwards, gstreamer1.0 is added as a > > > > > backend for Emotion library, which is something I find > > > > > suitable for my requirement. I downloaded the EFL 1.9 source > > > > > code from the repository. There is some gstreamer-related > > > > > code at src/modules/emotion/gstreamer1. The Makefile suggests > > > > > that this code goes into a library/module which will be > > > > > loaded by Enlightenment either statically or at run-time, > > > > > depending upon the configuration. > > > > > > > > > > If I have got everything correct till now, my question goes > > > > > like this: Assuming that EFL loads the Emotion module (with > > > > > gstreamer1.0 backend), how should I go about writing my video > > > > > player application which uses APIs exposed by this > > > > > module/library? Plz "enlighten" me if I haven't got the > > > > > concept right :)! > > > > > > > > > > Regards, > > > > > Prathamesh > > > > > > > > Any reason you don't just use Rage? > > > > https://git.enlightenment.org/apps/rage.git > > > > > > I don't know about Prathamesh, but I'll have to do something > > > similar some day. For my 3D virtual world projects I'll need to > > > be able to put videos onto arbitrary in world surfaces. Multiple > > > streaming videos, on multiple surfaces (check out Inspiration > > > Island in Second Life), or both at once. So I'll have to deal > > > with Emotion directly instead of just using rage. > > > > > > If I remember correctly, rage is NOT a simple video player, it > > > plays videos from a library of media it manages. Sometimes you > > > just want to play a video, not have to muck around with a media > > > library. This is why I don't use rage, I don't want to have to > > > manage libraries of media, that's what filing system directories > > > are for. Mind you, the same applies to lots of the common media > > > players. > > > > nope. it's a simple video player. i re-used the name rage and write > > basically an mplayer replacement. > > For those that don't know, the original "rage" is an aussie TV music > show that runs all night / morning on the government TV free to air TV > station ABC during the weekends. Pretty much it just plays back to > back music videos. > > > it's a good place to start to look how to make a video player. it > > has some "advanced" stuff like if you do: > > > > rage * > > > > it'll show a thumbnail preview of all videos in the list on the > > right size of the window on mouseover (you can scroll around too > > and select the video to play). it also tries to detect audio files > > (no video data) and switches to a different display mode. at the > > moment it's my go-to media player replacement. :) it is NOT a media > > library manager. it's simpler. :) > > I'll give it another go, but I suspect there was some good reason why > I decided to not use rage last time I switched media players. For > most of them, it's "I don't want a fucking media manager". lol Ah, this is why - ERR<12700>:emotion lib/emotion/emotion_modules.c:373 emotion_engine_instance_new() Couldn't find requested engine: gstreamer1. Try fallback Ubuntu 12.04 doesn't have gstreamer 1, which is why I tell EFL to use the older gstreamer when I compile it. Emotion is not noticing that? With the xine engine rage crashed. With the vlc engine, it displayed video thumbnails as you mentioned, but would not actually play them in the main screen. It was fine playing individual videos specified from the command line. -- A big old stinking pile of genius that no one wants coz there are too many silver coated monkeys in the world. |