Closed Bug 1264841 Opened 8 years ago Closed 5 years ago

Prototyping a external renderer for GMP by other media player on Linux

Categories

(Core :: Audio/Video: GMP, defect, P5)

defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: kikuo, Unassigned)

Details

Attachments

(1 file)

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.
Assignee: nobody → kikuo
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. [1]
 - 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 [2]
 - To demonstrate the start/stop/pause/seek/playback information could be achieved.
3. Using MplyaerCtrl 0.33 to communicate between 1,2

[1] http://www.wxpython.org/
[2] http://www.mplayerhq.hu/design7/news.html
[3] 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 [4] in GMP child so that we don't need to do a), but extra swig implementation may be needed.
[4] https://docs.python.org/2/extending/embedding.html
No longer blocks: GMP_for_external_rendering
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
Assignee: kilik.kuo → nobody
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: