Displaying images or Videos

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lucianoefe
    New Member
    • Oct 2008
    • 7

    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.
  • sicarie
    Recognized Expert Specialist
    • Nov 2006
    • 4677

    #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?

    Comment

    • lucianoefe
      New Member
      • Oct 2008
      • 7

      #3
      Originally posted by sicarie
      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.

      Comment

      • sicarie
        Recognized Expert Specialist
        • Nov 2006
        • 4677

        #4
        Originally posted by lucianoefe
        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.

        Comment

        • lucianoefe
          New Member
          • Oct 2008
          • 7

          #5
          Originally posted by sicarie
          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..........W aiting for your reply.
          Sincerely, Lucianoefe

          Comment

          • sicarie
            Recognized Expert Specialist
            • Nov 2006
            • 4677

            #6
            Originally posted by lucianoefe
            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..........W aiting 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?

            Comment

            • lucianoefe
              New Member
              • Oct 2008
              • 7

              #7
              Originally posted by sicarie
              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.

              Comment

              • lucianoefe
                New Member
                • Oct 2008
                • 7

                #8
                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...

                Comment

                Working...