MPEG player

This is a discussion on MPEG player within the C++ Programming forums, part of the General Programming Boards category; Hi guys! I have one small problem: I want to make my program play mpeg-files, but I haven't found any ...

  1. #1
    The Stupid One
    Guest

    MPEG player

    Hi guys!
    I have one small problem:
    I want to make my program play mpeg-files, but I haven't found any tutorials about it.
    Could you help me? I don't care if the program could run only in dos or windows. You can even send a link to a opengl/mpeg -tutorial!

  2. #2
    Pygmy Monkey ErionD's Avatar
    Join Date
    Feb 2002
    Posts
    408
    OpenGL - nehe.gamedev.net

  3. #3
    The Stupid One
    Guest
    I've already read all of his tutorials, but haven't found any instructions for playing mpeg-files...

  4. #4
    Davros
    Guest
    You may try searching MSDN documentation for the Windows MCI interface. I.e. some key word searches on:

    mciSendCommand & MCI_OPEN

    I've only used this for playing audio files (including MP3), but I believe you should be able to play MPEG. I guess you will need to pass a handle to your window or something so it can render the video.

    If you are using C++ Builder by any chance, I think you may be able to use TMediaPlayer, even though Borland's documentation doesn't refer to MPEG.

  5. #5
    Pygmy Monkey ErionD's Avatar
    Join Date
    Feb 2002
    Posts
    408
    Try emailing him.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 8
    Last Post: 11-03-2008, 09:48 PM
  2. My first python project =)
    By Desolation in forum Tech Board
    Replies: 14
    Last Post: 06-26-2007, 11:52 PM
  3. Personal Program that is making me go wtf?
    By Submeg in forum C Programming
    Replies: 20
    Last Post: 06-27-2006, 01:13 AM
  4. A question about constructors...
    By Wolve in forum C++ Programming
    Replies: 9
    Last Post: 05-04-2005, 05:24 PM
  5. Trying To Implement A 'Player' Class
    By adc85 in forum C++ Programming
    Replies: 2
    Last Post: 04-02-2003, 03:51 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21