Mercurial > mplayer.hg
comparison mencoder.c @ 9520:2860f7c9d9ca
A new nuppel video encoder. Mainly for RT encoding on slow box.
author | albeu |
---|---|
date | Mon, 03 Mar 2003 11:03:19 +0000 |
parents | edfe34c5405d |
children | 898e3692ca0d |
comparison
equal
deleted
inserted
replaced
9519:34b636d19268 | 9520:2860f7c9d9ca |
---|---|
6 #define VCODEC_RAWRGB 6 | 6 #define VCODEC_RAWRGB 6 |
7 #define VCODEC_VFW 7 | 7 #define VCODEC_VFW 7 |
8 #define VCODEC_LIBDV 8 | 8 #define VCODEC_LIBDV 8 |
9 #define VCODEC_XVID 9 | 9 #define VCODEC_XVID 9 |
10 #define VCODEC_QTVIDEO 10 | 10 #define VCODEC_QTVIDEO 10 |
11 #define VCODEC_NUV 11 | |
11 | 12 |
12 #define ACODEC_COPY 0 | 13 #define ACODEC_COPY 0 |
13 #define ACODEC_PCM 1 | 14 #define ACODEC_PCM 1 |
14 #define ACODEC_VBRMP3 2 | 15 #define ACODEC_VBRMP3 2 |
15 #define ACODEC_NULL 3 | 16 #define ACODEC_NULL 3 |
669 sh_video->vfilter=vf_open_encoder(NULL,"libdv",(char *)mux_v); break; | 670 sh_video->vfilter=vf_open_encoder(NULL,"libdv",(char *)mux_v); break; |
670 case VCODEC_XVID: | 671 case VCODEC_XVID: |
671 sh_video->vfilter=vf_open_encoder(NULL,"xvid",(char *)mux_v); break; | 672 sh_video->vfilter=vf_open_encoder(NULL,"xvid",(char *)mux_v); break; |
672 case VCODEC_QTVIDEO: | 673 case VCODEC_QTVIDEO: |
673 sh_video->vfilter=vf_open_encoder(NULL,"qtvideo",(char *)mux_v); break; | 674 sh_video->vfilter=vf_open_encoder(NULL,"qtvideo",(char *)mux_v); break; |
675 case VCODEC_NUV: | |
676 sh_video->vfilter=vf_open_encoder(NULL,"nuv",(char *)mux_v); break; | |
677 | |
674 } | 678 } |
675 if(!mux_v->bih || !sh_video->vfilter){ | 679 if(!mux_v->bih || !sh_video->vfilter){ |
676 mp_msg(MSGT_MENCODER,MSGL_FATAL,MSGTR_EncoderOpenFailed); | 680 mp_msg(MSGT_MENCODER,MSGL_FATAL,MSGTR_EncoderOpenFailed); |
677 mencoder_exit(1,NULL); | 681 mencoder_exit(1,NULL); |
678 } | 682 } |