[Ffmpeg-devel] guess_format() in the latest CVS, does not	recognize OGG/Theora video correctly
    Måns Rullgård 
    mru
       
    Sun Jan  8 22:42:09 CET 2006
    
    
  
"Stas Oskin" <stas at neo.co.il> writes:
> Hi.
>
> 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".
-- 
M?ns Rullg?rd
mru at inprovide.com
    
    
More information about the ffmpeg-devel
mailing list