You are not logged in. You can browse in the PowerBASIC Community, but you must click Login (top right) before you can post. If this is your first visit, check out the FAQ or Sign Up.
Is it possible to run a portion or portions of Windows Media Player from with in a PB app.? What I would like to do is run the video portion of the player as part of a PB app.. Any guidance in this matter would be greatly appreciated.
If your needs are simple you can use the old Mci commands to do this. Deep down inside windows the same code runs. It's really easy, but limited. If all you want to do is play an avi or mpeg file, this isn't a bad way to do it.
"There are two novels that can change a bookish fourteen-year old's life: The Lord of the Rings and Atlas Shrugged. One is a childish fantasy that often engenders a lifelong obsession with its unbelievable heroes, leading to an emotionally stunted, socially crippled adulthood, unable to deal with the real world. The other, of course, involves orcs." - John Rogers
If your needs are simple you can use the old Mci commands to do this. Deep down inside windows the same code runs. It's really easy, but limited. If all you want to do is play an avi or mpeg file, this isn't a bad way to do it.
Ditto
Somewhere in my past I had VB6 code that did the same (easily convertible to PB) that as long as Codec's did not come into play, then the video and audio was easily played (under simple ideas, but the more complex you get the more you have to troubleshoot)
I am sure if you search the forums, or POFF's then you are sure to find an example of basic AVI (Huge file uncompressed), or MPG (basic concepts, leave CODEC's out of the picture, but lots smaller)
Engineer's Motto: If it aint broke take it apart and fix it
"If at 1st you don't succeed... call it version 1.0"
"Half of Programming is coding"....."The other 90% is DEBUGGING"
"Document my code????" .... "WHYYY??? do you think they call it CODE? "
The BassBox project is not intended to play VIDEO, but AUDIO using OpenGL visual plugin to display animations in real time (a visual plugin is very different than playing a "static" video with a codec).
However i have also posted on José Roca's forum, a complete managed source code video project named: zMoviePlayer, it is based on the DirectX AudioVideo assembly.
I think I could convert zMoviePlayer to work with PowerBASIC using the Active movie code that has been posted by José Roca there: http://www.powerbasic.com/support/pbforums/showthread.php?t=35549
but because this represent a fairly amount of work, I am not sure i would do it very quick.
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, and to analyze site activity. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment