ozzzy
25th March 2006, 15:55
Hello (Ladies and) Gentlemen
I wish to find and seek to the first found I frame (GOP ?) that exists in a video file, the beginning will most likely to be incomplete and may be anywhere in a encoded feed (that has been saved to a file).
I have some C experience and found some clues for standard mpeg files (in ffmpeg) that there was a tag for each GOP start that said
#define GOP_START_CODE 0x000001b8
so the code searched for this code and stopped, and voila you were at a start..
i know your business is not to do my coding for me but could you possibly point me in the right direction ?
Is there a tag for h.264 avc to search for in order to find the first I frame?
I have searched for a week now for a clue but i dont seem to find what i'm looking for (or i'm missing it)
what is the proper winding procedure for h.264 avc ?
(or where should i look for it ?)
thank you very much,
oz
I wish to find and seek to the first found I frame (GOP ?) that exists in a video file, the beginning will most likely to be incomplete and may be anywhere in a encoded feed (that has been saved to a file).
I have some C experience and found some clues for standard mpeg files (in ffmpeg) that there was a tag for each GOP start that said
#define GOP_START_CODE 0x000001b8
so the code searched for this code and stopped, and voila you were at a start..
i know your business is not to do my coding for me but could you possibly point me in the right direction ?
Is there a tag for h.264 avc to search for in order to find the first I frame?
I have searched for a week now for a clue but i dont seem to find what i'm looking for (or i'm missing it)
what is the proper winding procedure for h.264 avc ?
(or where should i look for it ?)
thank you very much,
oz