?
Solved

Managing MPEG-1 playing through C++/MCI

Posted on 1999-01-27
3
Medium Priority
?
203 Views
Last Modified: 2013-12-03
We have been using MCI to display and control AVI playing for years with no problems. We can use MCI to display MPEG-1 files as well. The problem is that MPEGs always play in their own window (even though we asked them to play on the canvas of another window) and that MPEG-1 window momentarily snaps to an origin of 0,0 on the screen, before placing correctly. The window also always starts out black, even though the first frame of the clip is not black (clearly, it's processing a WM_ERASEBKGRND message on its own).
0
Comment
Question by:rwoollard
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 3

Accepted Solution

by:
PinTail earned 100 total points
ID: 1419328
Where's the question ?
0
 

Author Comment

by:rwoollard
ID: 1419329
How do you spawn an MPEG-based video clip through MCI calls in C++ without having the initial window pop to the top left corner of the screen (0,0)?
0
 
LVL 3

Expert Comment

by:RJSoft
ID: 13371563
Just in case anyone wants to know.

from the mciSendCommand set...

You use the Window command and set the attribute to SW_HIDE
which hides the initial screen.

then use the Put command  to adjust the location and then play.

RJ
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to add a user-defined command button to the Windows 7 Explorer toolbar.  In the previous article (http://www.experts-exchange.com/A_2172.html), we saw how to put the Delete button back there where it belongs.  "Delete" is …
In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question