[FFmpeg-devel] [PATCH]Mark the rv20 encoder experimental

Carl Eugen Hoyos cehoyos
Sat Sep 25 12:49:24 CEST 2010


Hi!

I tested a very old version of FFmpeg (r3740) and current svn with both 
RealPlayer and mplayer -vc -ffrv20, and afaict, our encoder was always buggy.

Ok to apply?

Carl Eugen
-------------- next part --------------
Index: libavcodec/rv20enc.c
===================================================================
--- libavcodec/rv20enc.c	(revision 25162)
+++ libavcodec/rv20enc.c	(working copy)
@@ -65,6 +65,7 @@
     MPV_encode_init,
     MPV_encode_picture,
     MPV_encode_end,
+    .capabilities = CODEC_CAP_EXPERIMENTAL,
     .pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE},
     .long_name= NULL_IF_CONFIG_SMALL("RealVideo 2.0"),
 };
Index: tests/codec-regression.sh
===================================================================
--- tests/codec-regression.sh	(revision 25162)
+++ tests/codec-regression.sh	(working copy)
@@ -170,7 +170,7 @@
 fi
 
 if [ -n "$do_rv20" ] ; then
-do_video_encoding rv20.rm "-qscale 10" "-vcodec rv20 -an"
+do_video_encoding rv20.rm "-vstrict experimental -qscale 10" "-vcodec rv20 -an"
 do_video_decoding
 fi
 



More information about the ffmpeg-devel mailing list