Export every frame as image from a Movie-File (QuickTime-API)

后端 未结 4 667
隐瞒了意图╮
隐瞒了意图╮ 2021-01-07 12:10

I want to open an existing Movie-File and export every frame of this file to an image like JPEG or TIFF. I got so far until now:

int main(int argc, char* a         


        
4条回答
  •  醉话见心
    2021-01-07 12:51

    I usually just dump the decoded frames into a binary one after another and then use some YUV-Viewer to see if they look Ok. For that you have to know the exact color format and resolution of the decoded frames. If you have RGB, there are certainly also viewers for that.

    UPDATE:

    Link doesn't seem to work. You will have to google for a YUV-Viewer. Alternatively, you can buy one from Elecard.

提交回复
热议问题