After encoding data and mux to mp4 file successfully, now I have two problems:
- I can not seek to anywhere in video file. May the reason is I frame?
- I want to split h264 stream to mux many mp4 files.
As I know, H264 frame have there major frame types as I, B, P. I’m not sure about IDR type and what difference to I type.
If I want to slit H264 stream to mux many mp4 files, I think I must split at the I or IDR frame.
Can you guys explain more about these VideoEncoder APIs:
How I can determine which frame is I or IDR type? I tried to use forceIDR API but it look like something wrong.
Thanks and Best Regards,