Closed
Bug 1264841
Opened 9 years ago
Closed 6 years ago
Prototyping a external renderer for GMP by other media player on Linux
Categories
(Core :: Audio/Video: GMP, defect, P5)
Core
Audio/Video: GMP
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: kikuo, Unassigned)
Details
Attachments
(1 file)
3.40 KB,
text/x-python
|
Details |
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.
Reporter | ||
Updated•9 years ago
|
Assignee: nobody → kikuo
Reporter | ||
Updated•9 years ago
|
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
Reporter | ||
Updated•9 years ago
|
Blocks: GMP_for_external_rendering
Reporter | ||
Comment 1•9 years ago
|
||
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
Reporter | ||
Comment 2•9 years ago
|
||
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.
Updated•9 years ago
|
Component: Audio/Video → Audio/Video: GMP
Priority: -- → P5
Reporter | ||
Updated•8 years ago
|
Assignee: kilik.kuo → nobody
Comment 3•6 years ago
|
||
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•