my first project - a media player

Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved

Join Date: Jan 2008
Posts: 401
Reputation: CoolGamer48 is on a distinguished road 
Solved Threads: 40
CoolGamer48's Avatar
CoolGamer48 CoolGamer48 is offline Offline
Posting Pro in Training

Re: my first project - a media player

 
1
  #21
Aug 1st, 2008
*sigh*

Okay, you want to know where to start. I've never written an AVI loader - but here are a couple of places to start (and I don't think where you start is going to be language specific).
  • Learn how to make a GUI. I gave you a link for a starting tutorial for the windows API. If you've got access to MFC (which I believe is just a wrapper for the API), then use that. Don't want to use the API? How about DirectX? A bit more complicated but you can make the GUI look like whatever you like. Rather use something a little more open source? OpenGL (same scenario as DirectX). You're not on Windows? What OS are you on? OpenGL still applies, but there may be other options. So, go out to Google, and try to make a GUI. If you run into specific problems, come back and tell us. Some examples: Can you guys show me the basic structure of a Windows application using the Windows API? better yet: I wrote this GUI (post the code) and it won't compile. Here are the errors: <errors here>. How can I fix it?
  • Learn to interface with SQL. Just Google it. You should get some APIs and tutorials for whatever language you want. Those should help you. If you then have specific questions about that, post them.
  • Learn to load an AVI file. This is a bit more difficult. I gave you link in my previous post that might be of some use, but learning about file formats isn't too easy (IMO). There might be some API that can help you, but I wouldn't bet on it. If you want people to help you with that, perhaps post questions like: Does anyone have some good references on the AVI video file format? I have the beginnings of an AVI loader but I don't know what step I should take next.
  • Learn to play an AVI file once you've loaded it. (to work on after above is completed)This will depend on how you chose to load it into your program. I can imagine this being a little bit more tackle-able assuming you have all the pixels for every frame of the video.
Last edited by CoolGamer48; Aug 1st, 2008 at 10:56 am.
I'm a student. If my statements seem too absolute, feel free to coat them with "In my opinion..." or "I believe...".
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 13
Reputation: mattybennett is an unknown quantity at this point 
Solved Threads: 0
mattybennett mattybennett is offline Offline
Newbie Poster

Re: my first project - a media player

 
0
  #22
Aug 1st, 2008
Ok. Thank you CoolGamer48 for the links. I will do as you say and go over this. Some of what I see in the tutorials seem to be obvious and I can't make the link over to my project at the moment.

I'll go away and play for a bit.

Again - thank you for your help.
Reply With Quote Quick reply to this message  
Join Date: Nov 2009
Posts: 1
Reputation: vivek123 is an unknown quantity at this point 
Solved Threads: 0
vivek123 vivek123 is offline Offline
Newbie Poster
 
-1
  #23
28 Days Ago
Yups dude! You are right. Let your thought process need not be affected by what others think of your abilities.
All the best.
I am also trying something similar
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC