Hi,
I’m pretty new to video encoding in general so please excuse my naive and unclear questions.
I’m encoding a 60fps NV12 video capture stream. The input format is NV12 and I encode using the H264 codec.
each frame that I download from the output bitstream buffer is appended to a file until the stream ends.
later, I (naively) change the file ending to “.avi” and manage to play it.
My problem are:
-
I have no idea if the method I use actually generate a valid .avi file, I pretty much guessed it.
Is there a way to know which file format is fit to the encode session configurations? -
The output file doesn’t support random rewinding / forwarding to a specific time point in my player. Is this normal? do I need to set up some specific configuration options to enable that? maybe preform some sort of post processing?
Thanks