Currently, I am trying to write a code that takes Mp4 video files and can create gifs from it. I am doing it just for fun.
I was wondering how on a MP4 file format I can extract the following information:
1. Width/Height of the video file
2. RBC Color Space
3. Image JIF
I am not sure if this is the right place for the thread but it is worth a shot to see what people think.
+ Reply to Thread
Results 1 to 7 of 7
Thread: MP4 information extraction
Last edited by bat999; 18th May 2014 at 07:32.
The mediainfo dll is free, and simple enough that even I can access it... Assuming you're using an actual Programming Language and not a script.
-edit- How will you be decoding the images? I doubt you'll be writing your own codecs... DirectShow, or whatever it's called now-a-days?
To be able to read a video frame, you may possibly use libav libraries in your application. They contain functions to open the MP4 container, read attributes, and decode the contained video stream. I wonder if ffmpeg can already do most of the desired functionality. At least it will be able to extract frames to images, I just doubt it will write (animated?) GIFs.