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

Aurelien Jacobs aurel
Fri Mar 12 13:18:27 CET 2010


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xvid_mpeg4.diff
Type: text/x-diff
Size: 400 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100312/ea65b278/attachment.diff>



More information about the ffmpeg-devel mailing list