Welcome to Dream.In.Code
Getting Help is Easy!

Join 117,618 Programmers for FREE! Ask your question and get quick answers from experts. There are 1,943 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!



ffmpeg AVOutputFormat Ques

 
Reply to this topicStart new topic

ffmpeg AVOutputFormat Ques

TDencker
post 27 May, 2008 - 11:43 AM
Post #1


New D.I.C Head

*
Joined: 27 May, 2008
Posts: 1

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 sinceI can open the files recorded in this format in VirtualDubMod, but VDB detects that the header info is corrupt and has to repair the file so it can be viewed. Does any know how I can modify the AVOutputFormat::write_header?
User is offlineProfile CardPM

Go to the top of the page


lordms12
post 1 Jun, 2008 - 04:14 PM
Post #2


D.I.C Regular

Group Icon
Joined: 16 Feb, 2008
Posts: 296



Thanked 12 times

Dream Kudos: 225
My Contributions


Your question is not clear.

I guess you supposed to ask this question in (you might find answer by doing so):
Audio & Video Forum
Or in:
C and C++ Forum
User is online!Profile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 10/8/08 12:05AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month