[Mplayer-cvslog] CVS: main cfg-mencoder.h,1.55,1.56 mencoder.c,1.191,1.192

Arpi of Ize arpi at mplayerhq.hu
Mon Dec 16 02:49:41 CET 2002


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv26287

Modified Files:
	cfg-mencoder.h mencoder.c 
Log Message:
Sorenson 1/3 encoding just for fun :)
ve_qtvideo code by Sascha Sommer
SVQ3 support hack by /me


Index: cfg-mencoder.h
===================================================================
RCS file: /cvsroot/mplayer/main/cfg-mencoder.h,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- cfg-mencoder.h	27 Nov 2002 22:45:54 -0000	1.55
+++ cfg-mencoder.h	16 Dec 2002 01:49:38 -0000	1.56
@@ -59,6 +59,7 @@
 	{"vfw", &out_video_codec, CONF_TYPE_FLAG, 0, 0, VCODEC_VFW, NULL},
 	{"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},
 	{"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"
@@ -71,6 +72,7 @@
 #endif
 #ifdef USE_WIN32DLL
 	"   vfw      - using VfW DLLs, currently only AVID is supported\n"
+	"   qtvideo  - using Quickime DLLs, currently only SVQ1/3 are supported\n"
 #endif
 #ifdef HAVE_LIBDV095
 	"   libdv    - DV encoding using libdv v0.9.5\n"

Index: mencoder.c
===================================================================
RCS file: /cvsroot/mplayer/main/mencoder.c,v
retrieving revision 1.191
retrieving revision 1.192
diff -u -r1.191 -r1.192
--- mencoder.c	15 Dec 2002 23:45:19 -0000	1.191
+++ mencoder.c	16 Dec 2002 01:49:38 -0000	1.192
@@ -7,6 +7,7 @@
 #define VCODEC_VFW 7
 #define VCODEC_LIBDV 8
 #define VCODEC_XVID 9
+#define VCODEC_QTVIDEO 10
 
 #define ACODEC_COPY 0
 #define ACODEC_PCM 1
@@ -659,6 +660,8 @@
         sh_video->vfilter=vf_open_encoder(NULL,"libdv",(char *)mux_v); break;
     case VCODEC_XVID:
         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;
     }
     if(!mux_v->bih || !sh_video->vfilter){
         mp_msg(MSGT_MENCODER,MSGL_FATAL,MSGTR_EncoderOpenFailed);




More information about the MPlayer-cvslog mailing list