[Ffmpeg-devel] guess_format() in the latest CVS, does not recognize OGG/Theora video correctly

Stas Oskin stas
Sun Jan 8 22:20:09 CET 2006



When filling the format structure with guess_format("ogg") (other parameters
omitted for the example), the structure contains only Vorbis audio settings,
meaning the mime_type="audio/x-vorbis", and video_codec="CODEC_ID_NONE".
Below is a source code to illustrate:



AVOutputFormat *outf;

outf = guess_format( "ogg", NULL, NULL);

cout<<outf->video_codec (result:CODEC_ID_NONE)




More information about the ffmpeg-devel mailing list