[Mplayer-cvslog] CVS: main mencoder.c,1.205,1.206 cfg-mencoder.h,1.65,1.66
Alban Bedel CVS
albeu at mplayerhq.hu
Mon Mar 3 12:03:21 CET 2003
Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv3516
Modified Files:
mencoder.c cfg-mencoder.h
Log Message:
A new nuppel video encoder. Mainly for RT encoding on slow box.
Index: mencoder.c
===================================================================
RCS file: /cvsroot/mplayer/main/mencoder.c,v
retrieving revision 1.205
retrieving revision 1.206
diff -u -r1.205 -r1.206
--- mencoder.c 9 Feb 2003 20:18:11 -0000 1.205
+++ mencoder.c 3 Mar 2003 11:03:17 -0000 1.206
@@ -8,6 +8,7 @@
#define VCODEC_LIBDV 8
#define VCODEC_XVID 9
#define VCODEC_QTVIDEO 10
+#define VCODEC_NUV 11
#define ACODEC_COPY 0
#define ACODEC_PCM 1
@@ -671,6 +672,9 @@
sh_video->vfilter=vf_open_encoder(NULL,"xvid",(char *)mux_v); break;
case VCODEC_QTVIDEO:
sh_video->vfilter=vf_open_encoder(NULL,"qtvideo",(char *)mux_v); break;
+ case VCODEC_NUV:
+ sh_video->vfilter=vf_open_encoder(NULL,"nuv",(char *)mux_v); break;
+
}
if(!mux_v->bih || !sh_video->vfilter){
mp_msg(MSGT_MENCODER,MSGL_FATAL,MSGTR_EncoderOpenFailed);
Index: cfg-mencoder.h
===================================================================
RCS file: /cvsroot/mplayer/main/cfg-mencoder.h,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -r1.65 -r1.66
--- cfg-mencoder.h 6 Feb 2003 20:24:12 -0000 1.65
+++ cfg-mencoder.h 3 Mar 2003 11:03:17 -0000 1.66
@@ -56,6 +56,8 @@
extern struct config xvidencopts_conf[];
#endif
+extern struct config nuvopts_conf[];
+
struct config ovc_conf[]={
{"copy", &out_video_codec, CONF_TYPE_FLAG, 0, 0, VCODEC_COPY, NULL},
{"frameno", &out_video_codec, CONF_TYPE_FLAG, 0, 0, VCODEC_FRAMENO, NULL},
@@ -68,6 +70,7 @@
{"libdv", &out_video_codec, CONF_TYPE_FLAG, 0, 0, VCODEC_LIBDV, NULL},
{"xvid", &out_video_codec, CONF_TYPE_FLAG, 0, 0, VCODEC_XVID, NULL},
{"qtvideo", &out_video_codec, CONF_TYPE_FLAG, 0, 0, VCODEC_QTVIDEO, NULL},
+ {"nuv", &out_video_codec, CONF_TYPE_FLAG, 0, 0, VCODEC_NUV, NULL},
{"help", "\nAvailable codecs:\n"
" copy - frame copy, without re-encoding. doesn't work with filters!\n"
" frameno - special audio-only file for 3-pass encoding, see DOCS!\n"
@@ -207,6 +210,8 @@
#ifdef HAVE_XVID
{"xvidencopts", xvidencopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
#endif
+
+ {"nuvopts", nuvopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
#define MAIN_CONF
#include "cfg-common.h"
More information about the MPlayer-cvslog
mailing list