like for eg. if i enter the output extension '.avi' , i should get the default audio codec used , default video codec used , etc... Is there a command for this ?
views:
63answers:
2
A:
Just take a stab here; you would need to declare a codec context and retrieve it from the video stream.
Extrakun
2010-01-28 05:51:26
A:
I presume you mean the libavcodec API that the ffmpeg project make available?
void avcodec_get_context_defaults(AVCodecContext *s);
is probably the function you want. If you mean the ffmpeg binary, that would be a better question for superuser.
Justin Smith
2010-01-28 06:06:47