How to get an image from a frame using QuickTime Library?

Discussion in 'Mac Programming' started by Gonzalez, Nov 11, 2006.

  1. Gonzalez macrumors newbie

    Joined:
    Nov 11, 2006
    #1
    Hi to all ,

    I try using GetMoviePosterPict but don't work with some kind of movie files.

    I read some documents and i get the conclusion to use GWorld to get
    the frame image.

    These is what i think :

    SetMovieGWorld(Movie , GWorldPtr , NULL);

    SetMovieTimeValue(Movie,TimeValue);
    MoviesTask(Movie,0L);

    PixMapHandle pixmap = GetGWorldPixMap(GWorldPtr);

    The problem is that i tried to code these a lot of diferents forms and
    any works.

    Anyone can help me?
     
  2. slooksterPSV macrumors 68030

    slooksterPSV

    Joined:
    Apr 17, 2004
    Location:
    Nowheresville
    #2
    Couldn't you setup an area rectangle for the width and height of the movie within the controller and have it save an image from that?

    E.g. - Get Movie Width and Height
    Get Player location
    Set boundaries
    Take a picture of whats in the location of the boundaries
     

Share This Page