[Libav-user] decoding_encoding.c and theora
Stefano Sabatini
stefasab at gmail.com
Mon Oct 15 16:00:02 CEST 2012
On date Thursday 2012-10-11 22:12:10 +0200, Denis encoded:
>
> >
> > I have a problem with decoding_encoding.c and theora. The example produces
> > correctly the file but I can watch it with vlc or mplayer.
I assume it was "I can *not*".
> >
> > call the function in this mode:
> > ideo_encode_example("theora.ogg", CODEC_ID_THEORA);
> >
>
> Nobody can help me?
decoding_encoding.c only works with stream-based formats, and is only
meant to show encoding/decoding API rather than muxing, so in general
it won't work if you replace MPEG/H.264 with another (non
stream-based) codec.
Check muxing.c for a better example.
More information about the Libav-user
mailing list