[FFmpeg-devel] got RTP encoding to support XVID codec

Aurelien Jacobs aurel
Sat Mar 13 00:26:32 CET 2010


On Fri, Mar 12, 2010 at 05:14:20PM +0100, Michael Niedermayer wrote:
> On Fri, Mar 12, 2010 at 01:18:27PM +0100, Aurelien Jacobs wrote:
> > On Fri, Mar 12, 2010 at 05:45:20PM +0800, Nash Tsai wrote:
> > > Hi,
> > > 
> > > I've got RTP encoding to support XVID and works great with VLC media
> > > player with its output SDP, will be great if you can accept this
> > > patch.
> > > 
> > > [...]
> > > 
> > > Index: libavformat/sdp.c
> > > ===================================================================
> > > --- libavformat/sdp.c	(revision 22452)
> > > +++ libavformat/sdp.c	(working copy)
> > > @@ -226,6 +226,7 @@
> > >              av_strlcatf(buff, size, "a=rtpmap:%d H263-2000/90000\r\n", payload_type);
> > >              break;
> > >          case CODEC_ID_MPEG4:
> > > +        case CODEC_ID_XVID:
> > 
> > I wonder what this CODEC_ID_XVID could be useful for ?
> > The attched patch may be a better fix (CODEC_ID_XVID is not used
> > anywhere else).
> > 
> > Aurel
> >  libxvidff.c |    2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > f7a77249dd7eb85f733d829aaf9c28c83666585a  xvid_mpeg4.diff
> 
> ok

Applied.
RTP encoding should work with XviD now.

Aurel



More information about the ffmpeg-devel mailing list