![]() That's why I add a second window that reads the first window to a bitmap, I can do whatever I want to that bitmap, and display it. (I cannot control when mplayer renders frames on the window). Now that I got it to render on my canvas, I cannot render on top of it without flickering, because I cannot do double buffering. Long targetWindowId = GDK_WINDOW_XWINDOW(canvas->GetHandle()->window) Long targetWindowId = reinterpret_cast(canvas->GetHWND()) Mplayer can easily be instructed to render on a custom window with the -wid (window handle) parameter. Mplayer -ao pcm:file=%10%C:test.wav test.Render on top of mplayer using custom window NOTE: The suboption parser (used for example for -ao pcm suboptions) supports a special kind of string-escaping intended for use with external GUIs. If an option is marked as (XXX only), it will only work in combination with the XXX option or if XXX is compiled in. button 3 and button 4Įvery 'flag' option has a 'noflag' counterpart, e.g. Toggle OSD states: none / seek / seek + timer / seek + timer + total time. button 5 and button 6ĭecrease/increase volume. The data may come from either an analog TV source or an MPEG transport stream.) X (The following keys are used for controlling TV teletext. Return to nearest menu (the order of preference is: chapter->title->root). (The following keys are only valid if you compiled with dvdnav support: They are used to navigate the menus.) keypad 8 (The following keys are only valid if you compiled with TV or DVB input support and will take precedence over the keys defined above.) h and k (The following keys are valid if you have a keyboard with multimedia keys.) PAUSE (The following keys are valid only when using the sdl video output driver.) cĬycle through available fullscreen modes. Resize movie window to double its original size. ![]() Resize movie window to its original size. Resize movie window to half its original size. (The following keys are valid only when using the quartz or corevideo video output driver.) command + 0 (The following keys are valid only when using a hardware accelerated video output (xv, (x)vidix, (x)mga, etc), the software equalizer ( -vf eq or -vf eq2) or hue filter ( -vf hue).) 1 and 2 D (-vo xvmc, -vo vdpau, -vf yadif, -vf kerndeint only) ! and to the beginning of the previous/next chapter. Show progression bar, elapsed time and total duration on the OSD. Set start or end of an EDL skip and write it out to the given file. x and zĪdjust subtitle delay by +/- 0.1 seconds. Toggle subtitle alignment: top / middle / bottom. Step forward/backward in the subtitle list. Toggle frame dropping states: none / skip display / skip decoding (see -framedrop and -hardframedrop). # (DVD, Blu-ray, MPEG, Matroska, AVI and libavformat only)Ĭycle through the available audio tracks. _ (MPEG-TS, AVI and libavformat only)Ĭycle through the available video tracks. and *Īdjust audio balance in favor of left/right channel. + and -Īdjust audio delay by +/- 0.1 seconds. Stop playing (and quit if -idle is not used). Pressing once will pause movie, every consecutive press will play one frame and then go into pause mode again (any other key unpauses). ![]() Next/previous playtree entry in the parent list INS and DEL (ASX playlist only) Go forward in the playlist, even over the end.
0 Comments
Leave a Reply. |