Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 5 of 5

Thread: how to play mpeg file in opengl?

Hybrid View

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2004
    Posts
    15

    how to play mpeg file in opengl?

    is there any free lib?

  2. #2
    Junior Member Regular Contributor
    Join Date
    Feb 2000
    Location
    Bolton, United Kingdom
    Posts
    105

    Re: how to play mpeg file in opengl?

    Hi,
    If you want multi channel MPEG support for SFX, Music etc. then I'd suggest BASS ... it's free for freeware stuff and I recollect that it's about $100 for a shareware license ... we like it and works well for our gaming requirements and we've found it to be stable and well supported ...
    www.un4seen.com

    There's FMOD too ...

    Andrew

  3. #3
    Intern Contributor
    Join Date
    Mar 2004
    Posts
    62

    Re: how to play mpeg file in opengl?

    I dont think he is talking about mp3's but about videos files.

    However the question how to playback video files comes up at least once a month. Just use the forums search function and you will find all the info you need.

  4. #4
    Super Moderator OpenGL Guru
    Join Date
    Feb 2000
    Location
    Montreal, Canada
    Posts
    4,421

    Re: how to play mpeg file in opengl?

    Or you can just use Windows's AVI functions.

    nvidia.com has moviemaker.cpp moviemaker.h init's CVS. It's pretty simple. You just select a codec that does mpeg compression.

    BASS requires a license even if you are giving away your demo.
    ------------------------------
    Sig: http://glhlib.sourceforge.net
    an open source GLU replacement library. Much more modern than GLU.
    float matrix[16], inverse_matrix[16];
    glhLoadIdentityf2(matrix);
    glhTranslatef2(matrix, 0.0, 0.0, 5.0);
    glhRotateAboutXf2(matrix, angleInRadians);
    glhScalef2(matrix, 1.0, 1.0, -1.0);
    glhQuickInvertMatrixf2(matrix, inverse_matrix);
    glUniformMatrix4fv(uniformLocation1, 1, FALSE, matrix);
    glUniformMatrix4fv(uniformLocation2, 1, FALSE, inverse_matrix);

  5. #5
    Junior Member Newbie
    Join Date
    Feb 2004
    Posts
    15

    Re: how to play mpeg file in opengl?

    Thanks all of you.

    I find SDL and SMPEG.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •