3.40 KB, text/x-python
I'd like to setup a non-firefox playback application to act as an GMP external (HW) renderer(even a decoder+renderer) to explore the feasibility of GMP Renderer API.
Summary: Prototyping a remote renderer for GMP by other media player on Linux → Prototyping a external renderer for GMP by other media player on Linux
The idea is to 1. Create a GUI application via python + wxPython.  - To demonstrate the playback window position could be aligned while browser is moving/resizing. 2. Actual playback process is created by MPlayer 1.3.0  - To demonstrate the start/stop/pause/seek/playback information could be achieved. 3. Using MplyaerCtrl 0.33 to communicate between 1,2  http://www.wxpython.org/  http://www.mplayerhq.hu/design7/news.html  https://pythonhosted.org/MplayerCtrl/reference.html#mplayerctrl-class 4. A communication between GMP Child and the GUI application should be developed - a) Using named-pipe should be easier and sufficient for demonstration. - b) Embedding python interpreter  in GMP child so that we don't need to do a), but extra swig implementation may be needed.  https://docs.python.org/2/extending/embedding.html
No longer blocks: 1146796
Created attachment 8743345 [details] [WIP] Python GUI Application which creates mplayer for playback. With requirement software mentioned above installed. Modify the path for mediaFile then run this file, you can see. 1) A GUI application will be launched, 2) mplayer will start playback. 3) A timer(callback every 100ms) to update the slider thumb(every 1s). TODO - Add a IPC namedpipe reader/writer to receive command from GMP child process. - Provide function to support window position/size update. - Provide functions to support calling mplayer start/stop/pause playback & seek. - Notify current playback position back to GMP child. I'll slow down the prototyping because it's low priority now.
Component: Audio/Video → Audio/Video: GMP
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.