473,382 Members | 1,348 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Displaying images or Videos

hello good people of bytes.com... i'm new here and i ve a little puzzle. can anybody help me in writting a program that displays images, sounds or even videos in C++ programming language? expecting replies through this site...
thanks....
-Lucianoefe.
Oct 13 '08 #1
7 1591
sicarie
4,677 Expert Mod 4TB
Sure, but we'd need a bit more from you - how do you want to display them? Are you looking to just run a program and have an image/video/etc pop up? Or are you looking to embed something inside an application? A GUI?
Oct 13 '08 #2
Sure, but we'd need a bit more from you - how do you want to display them? Are you looking to just run a program and have an image/video/etc pop up? Or are you looking to embed something inside an application? A GUI?
I guess I'm finally home. The reply is pretty quick... Kudos to this site!!! Yes brother. I dont mind, any one that is more convenient for u is ok by me. It could be the images or even videos poppin up as the output or embedding them in an application.........
Cant wait for your reply. Thanks in advance...

Regards, Lucianoefe.
Oct 14 '08 #3
sicarie
4,677 Expert Mod 4TB
I guess I'm finally home. The reply is pretty quick... Kudos to this site!!! Yes brother. I dont mind, any one that is more convenient for u is ok by me. It could be the images or even videos poppin up as the output or embedding them in an application.........
Cant wait for your reply. Thanks in advance...

Regards, Lucianoefe.
Okay, so it looks like you're still in the design phase of this app, which is good - I'd recommend getting a good feel of your program and algorithm here, to avoid rewrites and confusion later.

So it sounds like you probably need to decide on the above - as each one will have its own quirks, and then you would need to decide what videos you are going to play - are you attempting to embed an existing player, or create your own? Which format is yours going to read?

My recommendation would be to browse sourceforge.net or freshmeat.net and look for video players in C or C++ (I can't remember if you specified which language you were writing in). Then you can see how they developed theirs, and through the changelog, what issues they ran into.
Oct 14 '08 #4
Okay, so it looks like you're still in the design phase of this app, which is good - I'd recommend getting a good feel of your program and algorithm here, to avoid rewrites and confusion later.

So it sounds like you probably need to decide on the above - as each one will have its own quirks, and then you would need to decide what videos you are going to play - are you attempting to embed an existing player, or create your own? Which format is yours going to read?

My recommendation would be to browse sourceforge.net or freshmeat.net and look for video players in C or C++ (I can't remember if you specified which language you were writing in). Then you can see how they developed theirs, and through the changelog, what issues they ran into.

Another quick reply... i'm impressed. I want the program written in C++. I've decided on the program I need. I want the one that pops the images/videos out as output. For the format I think mpeg would do it. Also i dont intend to create a new player, any existing one of your choice would do. The output could be any Musical Video or Cartoon... Will check the sites u recommended now( thanks by the way). Pls reply, time is really running out on me on this..........Waiting for your reply.
Sincerely, Lucianoefe
Oct 15 '08 #5
sicarie
4,677 Expert Mod 4TB
Another quick reply... i'm impressed. I want the program written in C++. I've decided on the program I need. I want the one that pops the images/videos out as output. For the format I think mpeg would do it. Also i dont intend to create a new player, any existing one of your choice would do. The output could be any Musical Video or Cartoon... Will check the sites u recommended now( thanks by the way). Pls reply, time is really running out on me on this..........Waiting for your reply.
Sincerely, Lucianoefe
Oh good, so I'd keep this in the design phase (no coding unless it's prototyping, which is usually very useful) for a bit still.

C++ and mpeg, popping up on its own. So the next step (IMHO - coming from someone who hasn't done this) is to browse a few on sourceforge or freshmeat, and look for an mpeg codec that you can use (that you are comfortable with the licensing, etc...). I'm betting you'd be able to find a few (and probably some examples) by Google searching "c++ mpeg" or "c++ mpeg codec" or maybe sticking the 'video' keyword in there somewhere. Depending on what libraries you find and your comfort with code, you will be able to either embed in the code, pass as an option, or use a GUI to search for the file.

For the GUI popup, I'm guessing it will depend on your OS. Like I said, I haven't written one of these before, i'd be surprised if the library had its own window creation functions, but it's possible. What OS are you developing this on?
Oct 15 '08 #6
Oh good, so I'd keep this in the design phase (no coding unless it's prototyping, which is usually very useful) for a bit still.

C++ and mpeg, popping up on its own. So the next step (IMHO - coming from someone who hasn't done this) is to browse a few on sourceforge or freshmeat, and look for an mpeg codec that you can use (that you are comfortable with the licensing, etc...). I'm betting you'd be able to find a few (and probably some examples) by Google searching "c++ mpeg" or "c++ mpeg codec" or maybe sticking the 'video' keyword in there somewhere. Depending on what libraries you find and your comfort with code, you will be able to either embed in the code, pass as an option, or use a GUI to search for the file.

For the GUI popup, I'm guessing it will depend on your OS. Like I said, I haven't written one of these before, i'd be surprised if the library had its own window creation functions, but it's possible. What OS are you developing this on?
Hey bro, thanks again 4 still bein wit me... I'm using a Windows XP professional. Really dont understand wat u mean by the "mpeg codec". checked some of the sites in google as u suggested and came across "mpeg.org". dont really know wat i'm looking 4.
Can u write the code that pops out the output of the videos alone? waitin 4 ur reply....
- Yours, Lucianoefe.
Oct 16 '08 #7
hey bro, I'm still waitin 4 ur reply... time has really run out on me for this little puzzle but wat can i do but wait for ur reply......pls help out...
Oct 22 '08 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Ioannis Vranos | last post by:
Here is a similar code to one that I saw in a video on the web: #include <cstdio> #include <cstring> void somefunc(const char *input) { using namespace std;
3
by: Dalan | last post by:
At first I was not certain what could cause Access 97 from displaying most jpeg images, but not all. After further testing, it seemed that all original images of less than 275 pixels per inch or...
1
by: David Lozzi | last post by:
Hello, I'm wondering whats the best method to use for displaying several photos' thumbnails. One method I know is to dynamically resize the photo at the time the page is loaded. What does this...
22
by: Michael Levin | last post by:
I have a very simple page, which shows 3 Quicktime movies in a table. I think I'm using just standard simple HTML. In Netscape or Safari on a Mac, they look fine. In Internet Explorer on a PC, the...
4
by: JoJo | last post by:
I followed along in Jeremy Keith's book "DOM Scripting" on how to make a image viewer that changes on clicking links. It is up for demo at: http://jojowebdesign.com/dom1.html My question is...
5
by: Tom | last post by:
VS 2003/C# Have a axWebBrowser control that will not render images. Originally our app was just launching IE7 to display an HTML page. The bitmap images were not displaying - path was correct...
4
by: redpears007 | last post by:
Hi Again, Throwing this one out to you again as i am not getting anywhere and can find little to no information out there. I am currently displaying images (Jpegs) in access via the routine...
1
by: littlealex | last post by:
IE6 not displaying text correctly - IE 7 & Firefox 3 are fine! Need some help with this as fairly new to CSS! In IE6 the text for the following page doesn't display properly - rather than being...
7
by: RichB | last post by:
I am trying to get to grips with the asp.net ajaxcontrol toolkit, and am trying to add a tabbed control to the page. I have no problems within the aspx file, and can dynamically manipulate a...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.