[vlc-devel] VLC with new decoder

Rémi Denis-Courmont remi at remlab.net
Sat Oct 31 15:27:26 CET 2009

Le samedi 31 octobre 2009 04:37:06 Venu Vemulapally, vous avez écrit :
> Compiled successfully and from the vlc --list i am able to find the my new
> codec module. I have tried the VLC playback with the my newcodec's
> elementary stream but in the newcodec.c it is failing at
> *if( p_dec->fmt_in.i_codec != VLC_FOURCC('X','Y','Z','V') )
>     {
>         return VLC_EGENERIC;
>     }*

The input format is determined by the upstream demux plugin. Given XYZV is not 
implemented in any existing demux plugin, it will never match. The most 
commonly found codec values are listed in include/vlc_fourcc.h

MPEG2-Video is VLC_CODEC_MPGV ("mpgv").

Rémi Denis-Courmont

More information about the vlc-devel mailing list