Sign in to follow this  

ffmpeg AVOutputFormat Ques

This topic is 3488 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm am trying to create an new AVOutputFormat the uses an Mjpeg video codec in an avi container, the problem I am running into is that my header info is being corrupted. I'm currently using guess_format( NULL, "filename.avi" NULL ) to get the avi default format and then I set the audio codec to CODEC_ID_NONE and the video codec to CODEC_ID_MJPEG. This compiles and works to a certain extent. I can open the files recorded in this format in VirtualDubMod but VDB detects that the header info is corrupt and repairs the file so it can be viewed in VDB. Does any know how I can modify the AVOutputFormat::write_header?

Share this post


Link to post
Share on other sites

This topic is 3488 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this