Re: Playing mp4 with mci
| Newsgroups | gmane.comp.windows.gui4cli |
|---|---|
| Message-ID | <[email protected]> |
Hi Dimitris, I don't understand what you mean with "the original gui"? In the package are the modified mp3 player and the "mci_video_player" guis. With the modified mp3 player, Windows itself opens a window which can only be resized but further has no control at all. I tried to change all mci 'play mysound ... commands in mci 'play mysound fullscreen ... , it then opens in full screen but closes immediately? With the "mci_video_player" gui, I use a g4c gui as window with the $$gui.handle internal variable. This way I have full control over width and height of the g4c gui window and over what I put in it with the MCI window size commands. But there's a problem on Win7 with the MCI fullscreen option in that it's not supported anymore. If you google for it, you'll find it's a known issue and I even saw a reply on a MSDN forum from a MS employee who confirmed that it's not supported anymore. Stange thing is that the MCI fullscreen command still switches to fullscreen on Win7 but when you want to switch back, you'll get a black screen and have to close mci to get back windowed playback. That's why I had to switch over to a DirectShow player for Avanti. It uses a borderless window for fullscreen playback. That was one of the options recommended by MS. The other was to use a "windowless renderer" but that looked too complicated to me. If you have already coded a dedicated video player in g4c you could still look closer to the mci 'play myvideo fullscreen ... syntax. I may have overlooked something. But you will still have to close playback and restart to return to windowed playback. Chris ---In [email protected], <gui4cli@...> wrote : Hi Chris, I ran the gui in the package you uploaded and it does run mp4 files, but not full screen. Is it possible to do it full-screen as the original gui does? Dimitris