[Ffmpeg-devel] guess_format() in the latest CVS, does not recognize OGG/Theora video correctly
Sun Jan 8 22:42:09 CET 2006
"Stas Oskin" <stas at neo.co.il> writes:
> 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)
How could it possibly know what's in the file? There's not much to be
said, if all the information provided is the string "ogg".
mru at inprovide.com
More information about the ffmpeg-devel