Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Gaming > Development Programming Misc > Re: movieplayer
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 7 of 13 Topic 952 of 1011
Post > Topic >>

Re: movieplayer

by "Serve Lau" <aser@[EMAIL PROTECTED] > Nov 2, 2007 at 09:36 PM

"Nathan Mates" <nathan@[EMAIL PROTECTED]
> wrote in message 
news:13iiu18k68ict39@[EMAIL PROTECTED]
> In article <fga8t5$v43$1@[EMAIL PROTECTED]
>, Serve Lau <aser@[EMAIL PROTECTED]
>

> wrote:
>>> There are open source solutions which already exist to play virtually 
>>> all
>>> popular movie formats.
>
>>i can only find some which only run on mac, windows or linux. Arent
there
>>any platform independant ones written in C?
>
>   Nope. Your question reveals a deep misunderstanding of the C
> language. There is *NO* built-in sup****t for graphics, sound, or any
> other sort of multimedia in the C/C++ programming language.

I know that, but I do think its possible to do it platform independant,
just 
the display code will have to be different over platforms. Why cant you
ask 
for a get_next_frame() and get a void * or char * back with the size 
information etc that you can use to display the frame.
I made a movie player like that you have a directory full with bitmaps
named 
1.bmp, 2.bmp and you just loop over them with
for(i = 0; i < x; i++) { load_bitmap(i); plot_bitmap(i, x, y); 
destroy_bitmap(i); }

very platform independant, only the actual plotting is platform dependant
:)

this looks nice for small images, even on 40mhz processor, but breaks down

on 1024x768 images of course.
Thats why I'm looking for a library or something before trying to write
this 
myself. If there isnt one, maybe here's a good way to make some money lol
 




 13 Posts in Topic:
movieplayer
"Serve Lau" <  2007-10-25 19:37:08 
Re: movieplayer
Richard James <IWillGe  2007-10-26 11:41:35 
Re: movieplayer
"Serve Lau" <  2007-10-26 20:17:45 
Re: movieplayer
Luc The Perverse <atay  2007-10-26 19:07:50 
Re: movieplayer
"Serve Lau" <  2007-10-31 15:41:12 
Re: movieplayer
nathan@[EMAIL PROTECTED]   2007-11-01 06:54:32 
Re: movieplayer
"Serve Lau" <  2007-11-02 21:36:01 
Re: movieplayer
nathan@[EMAIL PROTECTED]   2007-11-04 00:57:49 
Re: movieplayer
"Serve Lau" <  2007-11-04 21:35:23 
Re: movieplayer
Anton <anton.txt@[EMAI  2007-11-01 09:43:36 
Re: movieplayer
Michel de Brisis <mich  2008-02-19 14:01:40 
Re: movieplayer
Richard James <IWillGe  2007-10-27 12:57:30 
Re: movieplayer
IsaacKuo <mechdan@[EMA  2008-04-04 12:09:45 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 19:39:06 CDT 2008.