I need to write my own File Writer Filter.
My problem is to write the right header into the file.
For example I have a a webcam and I connect this cam with a Compressor Filter and the compressor with an Avi Mux Filter and the mux with my on File Writer Filter.
And now where can I get the header for the file?
It must exist an method to get this header form the compressor, because for each codec the is an own header.
First I thought this header would be the first MediaSample but this was wrong.
Has anyone an idea?
Thank you - Greetings
My problem is to write the right header into the file.
For example I have a a webcam and I connect this cam with a Compressor Filter and the compressor with an Avi Mux Filter and the mux with my on File Writer Filter.
And now where can I get the header for the file?
It must exist an method to get this header form the compressor, because for each codec the is an own header.
First I thought this header would be the first MediaSample but this was wrong.
Has anyone an idea?
Thank you - Greetings