mirror of
https://github.com/mpv-player/mpv
synced 2025-01-09 00:19:32 +00:00
-vop ---> -vf
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11262 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
180f062456
commit
50ff1ca5b7
2
AUTHORS
2
AUTHORS
@ -345,7 +345,7 @@ Kees Cook <mplayer@outflux.net>
|
||||
* rawdv demuxer fixes
|
||||
|
||||
Hampa Hug <hhug@student.ethz.ch>
|
||||
* LUT-based soft eq video filter (-vop eq2)
|
||||
* LUT-based soft eq video filter (-vf eq2)
|
||||
* .ogm demuxer endianess fixes
|
||||
|
||||
Uwe Reder <Uwe.Reder@3SOFT.de>
|
||||
|
@ -489,7 +489,7 @@ E' un bug di SDL, io non posso cambiarlo (provato con SDL 1.2.1).
|
||||
</P>
|
||||
|
||||
<P><B>NOTA:</B> secondo la mia esperienza, la migliore qualità di immagine su EGA
|
||||
si ottiene riducendo un po' la luminosità: <CODE>-vop eq=-20:0</CODE>. Sulla
|
||||
si ottiene riducendo un po' la luminosità: <CODE>-vf eq=-20:0</CODE>. Sulla
|
||||
mia macchina ho dovuto anche ridurre la frequenza di campionamento dell'audio,
|
||||
poichè il suono dava problemi a 44kHz: <CODE>-srate 22050</CODE>.</P>
|
||||
|
||||
@ -654,7 +654,7 @@ Eccone alcune importanti:</P></B></TD><TR>
|
||||
e ne usa meno su console standard,
|
||||
non-framebuffer. Usa SVGATextMode per selezionare una modalità testo grande,
|
||||
e divertiti! (le schede Hercules con uscita secondaria vanno forte :)) (anche
|
||||
se, secondo me, puoi usare l'ozione <CODE>-vop 1bpp</CODE> per avere un
|
||||
se, secondo me, puoi usare l'ozione <CODE>-vf 1bpp</CODE> per avere un
|
||||
immagine grafica su hgafb:)</P>
|
||||
|
||||
<P>Usa l'opzione -framedrop se il tuo computer non è abbastanza veloce da renderizzare tutti i frame!</P>
|
||||
@ -1217,7 +1217,7 @@ ed
|
||||
con l'algoritmo bilineare veloce. La linea di comando è
|
||||
|
||||
<PRE>
|
||||
mplayer -vo zr -sws 0 -vop scale=384:204 movie.avi
|
||||
mplayer -vo zr -sws 0 -vf scale=384:204 movie.avi
|
||||
</PRE>
|
||||
|
||||
<P>Il ritaglio (cropping) può essere fatto sia dal filtro <CODE>crop</CODE> che
|
||||
@ -1232,7 +1232,7 @@ ed
|
||||
se vuoi invece usare il filtro <CODE>crop</CODE> fai
|
||||
|
||||
<PRE>
|
||||
mplayer -vo zr -vop crop=720:320:80:0 benhur.avi
|
||||
mplayer -vo zr -vf crop=720:320:80:0 benhur.avi
|
||||
</PRE>
|
||||
|
||||
<P>Usando più di un'opzione <CODE>-zrcrop</CODE> si attiva la modalità
|
||||
|
@ -328,7 +328,7 @@ taille qui tient dans leur m
|
||||
|
||||
<para>
|
||||
L'affichage en plein-écran peut être obtenu soit en activant le <emphasis role="bold">
|
||||
redimensionnement logiciel</emphasis> (utilisez <option>-zoom</option> ou <option>-vop</option>,
|
||||
redimensionnement logiciel</emphasis> (utilisez <option>-zoom</option> ou <option>-vf</option>,
|
||||
mais je vous préviens: c'est lent), ou passez dans une résolution plus basse, par exemple 352x288. Si vous
|
||||
n'avez pas d'accélération YUV, cette dernière méthode est recommandée. Le changement de mode vidéo peut
|
||||
être activé en utilisant l'option <option>-vm</option> et fonctionne avec les pilotes suivants:
|
||||
|
@ -60,7 +60,7 @@ d
|
||||
fast-motion et le contrôleur de bitrate ne sera probablement même pas capable de
|
||||
garder le bitrate demandé car l'artefact de désentrelacement produit un grand taux de
|
||||
détails et donc consomme plus de bande passante. Vous pouvez désactiver
|
||||
l'entrelacement avec <option>-vop pp=DEINT_TYPE</option>. Généralement
|
||||
l'entrelacement avec <option>-vf pp=DEINT_TYPE</option>. Généralement
|
||||
<option>pp=lb</option> peut faire du bon travail, mais c'est une histoire de
|
||||
préférence personnelle. Voyez les autres algorithmes de désentrelacement dans le
|
||||
manuel et essayez-les.
|
||||
|
@ -1062,7 +1062,7 @@ Le rendu prend beaucoup de temps CPU, sp
|
||||
moins de CPU sur une console standard, sans framebuffer. Utilisez SVGATextMode pour
|
||||
passer en mode texte large, et appréciez ! (une carte hercules en second écran, c'est
|
||||
génial :)) (mais à mon humble avis vous pouvez utiliser l'option
|
||||
<option>-vop 1bpp</option> pour avoir des graphismes sur hgafb:)
|
||||
<option>-vf 1bpp</option> pour avoir des graphismes sur hgafb:)
|
||||
</para>
|
||||
</note>
|
||||
|
||||
|
@ -320,7 +320,7 @@ nVidia TV-
|
||||
|
||||
<para>
|
||||
Полноэкранное воспроизведение может быть достигнуто либо включением <emphasis role="bold">программного
|
||||
ÍÁÓÛÔÁÂÉÒÏ×ÁÎÉÑ</emphasis> (ÉÓÐÏÌØÚÕÊÔÅ <option>-zoom</option> ÉÌÉ <option>-vop scale</option>
|
||||
ÍÁÓÛÔÁÂÉÒÏ×ÁÎÉÑ</emphasis> (ÉÓÐÏÌØÚÕÊÔÅ <option>-zoom</option> ÉÌÉ <option>-vf scale</option>
|
||||
опции, но я предупреждаю Вас: это медленно), или переключением в видео режим
|
||||
с меньшим разрешением, например 352x288. Если у Вас нет аппаратной YUV акселерации,
|
||||
этот метод предпочтителен. Изменение видео режима может быть включено использованием
|
||||
|
@ -43,7 +43,7 @@ wrtlog Starting benchmarks
|
||||
|
||||
if [ ! -e no_codec ]; then
|
||||
wrtlog Starting CODEC benchmark runs, with 3 tries...
|
||||
DEFAULTOPTS="-quiet -nosound -benchmark -vo null -vop disabled -autoq 0"
|
||||
DEFAULTOPTS="-quiet -nosound -benchmark -vo null -vf disabled -autoq 0"
|
||||
benchsamples
|
||||
fi
|
||||
|
||||
@ -53,25 +53,25 @@ export XAUTHORITY=$HOME/.Xauthority
|
||||
if [ ! -e no_xv ]; then
|
||||
if [ ! -e no_xv_nodr ]; then
|
||||
wrtlog Starting XVideo \(no DR\) benchmark runs, with 3 tries...
|
||||
DEFAULTOPTS="-quiet -nosound -benchmark -vo xv -fs -nodr -slices -vop disabled -autoq 0"
|
||||
DEFAULTOPTS="-quiet -nosound -benchmark -vo xv -fs -nodr -slices -vf disabled -autoq 0"
|
||||
benchsamples
|
||||
fi
|
||||
|
||||
if [ ! -e no_xv_nodr_noslices ]; then
|
||||
wrtlog Starting XVideo \(no DR\) \(no slices\) benchmark runs, with 3 tries...
|
||||
DEFAULTOPTS="-quiet -nosound -benchmark -vo xv -fs -nodr -noslices -vop disabled -autoq 0"
|
||||
DEFAULTOPTS="-quiet -nosound -benchmark -vo xv -fs -nodr -noslices -vf disabled -autoq 0"
|
||||
benchsamples
|
||||
fi
|
||||
|
||||
if [ ! -e no_xv_dr ]; then
|
||||
wrtlog Starting XVideo \(DR\) benchmark runs, with 3 tries...
|
||||
DEFAULTOPTS="-quiet -nosound -benchmark -vo xv -fs -dr -slices -vop disabled -autoq 0"
|
||||
DEFAULTOPTS="-quiet -nosound -benchmark -vo xv -fs -dr -slices -vf disabled -autoq 0"
|
||||
benchsamples
|
||||
fi
|
||||
|
||||
if [ ! -e no_xv_dr_noslices ]; then
|
||||
wrtlog Starting XVideo \(DR\) \(no slices\) benchmark runs, with 3 tries...
|
||||
DEFAULTOPTS="-quiet -nosound -benchmark -vo xv -fs -dr -noslices -vop disabled -autoq 0"
|
||||
DEFAULTOPTS="-quiet -nosound -benchmark -vo xv -fs -dr -noslices -vf disabled -autoq 0"
|
||||
benchsamples
|
||||
fi
|
||||
fi
|
||||
@ -79,25 +79,25 @@ fi
|
||||
if [ -e xmga ]; then
|
||||
if [ ! -e xmga_nodr ]; then
|
||||
wrtlog Starting XMGA \(no DR\) benchmark runs, with 3 tries...
|
||||
DEFAULTOPTS="-quiet -nosound -benchmark -vo xmga -fs -dr -slices -vop disabled -autoq 0"
|
||||
DEFAULTOPTS="-quiet -nosound -benchmark -vo xmga -fs -dr -slices -vf disabled -autoq 0"
|
||||
benchsamples
|
||||
fi
|
||||
|
||||
if [ ! -e xmga_nodr_noslices ]; then
|
||||
wrtlog Starting XMGA \(no DR\) \(no slices\) benchmark runs, with 3 tries...
|
||||
DEFAULTOPTS="-quiet -nosound -benchmark -vo xmga -fs -dr -noslices -vop disabled -autoq 0"
|
||||
DEFAULTOPTS="-quiet -nosound -benchmark -vo xmga -fs -dr -noslices -vf disabled -autoq 0"
|
||||
benchsamples
|
||||
fi
|
||||
|
||||
if [ ! -e xmga_dr ]; then
|
||||
wrtlog Starting XMGA \(DR\) benchmark runs, with 3 tries...
|
||||
DEFAULTOPTS="-quiet -nosound -benchmark -vo xmga -fs -dr -vop disabled -autoq 0"
|
||||
DEFAULTOPTS="-quiet -nosound -benchmark -vo xmga -fs -dr -vf disabled -autoq 0"
|
||||
benchsamples
|
||||
fi
|
||||
|
||||
if [ ! -e xmga_dr ]; then
|
||||
wrtlog Starting XMGA \(DR\) \(no slices\) benchmark runs, with 3 tries...
|
||||
DEFAULTOPTS="-quiet -nosound -benchmark -vo xmga -fs -dr -noslices -vop disabled -autoq 0"
|
||||
DEFAULTOPTS="-quiet -nosound -benchmark -vo xmga -fs -dr -noslices -vf disabled -autoq 0"
|
||||
benchsamples
|
||||
fi
|
||||
fi
|
||||
|
@ -162,7 +162,7 @@ function usage() {
|
||||
echo "128 starting from 3:00 with frame rate 29.97 fps and input video norm NTSC"
|
||||
echo "and output frame rate 23.98 fps because of the 3:2 pulldown method in NTSC."
|
||||
echo
|
||||
echo "'$HOWCALLED bj -size 640x272 -vop expand=640:480:0:104:0 \\"
|
||||
echo "'$HOWCALLED bj -size 640x272 -vf expand=640:480:0:104:0 \\"
|
||||
echo " -cdsize 645 -noburn bj.avi'"
|
||||
echo "this example above shows you, how to deal with movies which are not"
|
||||
echo "created with aspect ratios of 4:3 or 16:9."
|
||||
@ -296,7 +296,7 @@ while [ "$1"x != "x" ]; do
|
||||
shift 1
|
||||
;;
|
||||
-sid) # mplayer option: have to set vop expand, too!!!
|
||||
sub="-vop pp,expand=-1:-1:-1:-1:1 -sid $2"
|
||||
sub="-vf pp,expand=-1:-1:-1:-1:1 -sid $2"
|
||||
shift 1
|
||||
;;
|
||||
-size)
|
||||
|
@ -7,13 +7,13 @@ if [ $# -lt 3 ] ; then
|
||||
fi
|
||||
|
||||
for i in `seq 0 10` ; do
|
||||
mplayer -vo png $1 -ss $2 -frames 3 -sws $i -vop scale=$3
|
||||
mplayer -vo png $1 -ss $2 -frames 3 -sws $i -vf scale=$3
|
||||
rm 00000001.png
|
||||
mv 00000002.png sws-`basename $1`-$2-$3-$i.png
|
||||
done
|
||||
|
||||
#gauss with lowwer variance
|
||||
mplayer -vo png $1 -ss $2 -frames 3 -sws 7 -vop scale=$3:0:50
|
||||
mplayer -vo png $1 -ss $2 -frames 3 -sws 7 -vf scale=$3:0:50
|
||||
rm 00000001.png
|
||||
mv 00000002.png sws-`basename $1`-$2-$3-7-50.png
|
||||
|
||||
|
@ -170,7 +170,7 @@
|
||||
#else
|
||||
{"oldpp", "MPlayer was compiled without opendivx library\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
|
||||
#endif
|
||||
{"npp", "-npp has been removed, use -vop pp and read the fine manual\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
|
||||
{"npp", "-npp has been removed, use -vf pp and read the fine manual.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
|
||||
#ifdef FF_POSTPROCESS
|
||||
{"pphelp", &pp_help, CONF_TYPE_PRINT_INDIRECT, CONF_NOCFG, 0, 0, NULL},
|
||||
#endif
|
||||
|
@ -168,8 +168,8 @@ m_option_t mencoder_opts[]={
|
||||
{"audio-preload", &audio_preload, CONF_TYPE_FLOAT, CONF_RANGE, 0, 2, NULL},
|
||||
{"audio-delay", &audio_delay, CONF_TYPE_FLOAT, CONF_MIN, 0, 0, NULL},
|
||||
|
||||
{"x", "This option is obsolete, use -vop scale=w:h for scaling\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
|
||||
{"xsize", "This option is obsolete, use -vop crop=w:h:x0:y0 for cropping\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
|
||||
{"x", "This option is obsolete, use -vf scale=w:h for scaling.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
|
||||
{"xsize", "This option is obsolete, use -vf crop=w:h:x0:y0 for cropping.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
|
||||
|
||||
// output audio/video codec selection
|
||||
{"oac", oac_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
|
||||
|
@ -203,7 +203,7 @@ videocodec theora
|
||||
|
||||
videocodec cram
|
||||
info "Microsoft Video 1"
|
||||
comment "-vop palette required for 8bpp"
|
||||
comment "-vf palette required for 8bpp"
|
||||
status buggy
|
||||
fourcc cram,CRAM CRAM
|
||||
fourcc msvc,MSVC CRAM
|
||||
|
@ -133,7 +133,7 @@ static char help_text[]=
|
||||
#define MSGTR_AODescription_AOAuthor "AO: Description: %s\nAO: Auteur: %s\n"
|
||||
#define MSGTR_AOComment "AO: Commentaire: %s\n"
|
||||
#define MSGTR_Video_NoVideo "Vidéo: pas de vidéo\n"
|
||||
#define MSGTR_NotInitializeVOPorVO "\nFATAL: impossible d'initialiser les filtres vidéo (-vop) ou la sortie vidéo (-vo).\n"
|
||||
#define MSGTR_NotInitializeVOPorVO "\nFATAL: impossible d'initialiser les filtres vidéo (-vf) ou la sortie vidéo (-vo).\n"
|
||||
#define MSGTR_Paused "\n ===== PAUSE =====\r" // no more than 23 characters (status line for audio files)
|
||||
#define MSGTR_PlaylistLoadUnable "\nImpossible de charger la liste de lecture %s.\n"
|
||||
#define MSGTR_Exit_SIGILL_RTCpuSel \
|
||||
@ -352,7 +352,7 @@ static char help_text[]=
|
||||
// vd.c
|
||||
#define MSGTR_CodecDidNotSet "VDec: le codec n'a pas défini sh->disp_w et sh->disp_h, essai de contournement !\n"
|
||||
#define MSGTR_VoConfigRequest "VDec: requête de configuration de vo - %d x %d (csp préferé: %s)\n"
|
||||
#define MSGTR_CouldNotFindColorspace "N'a pas pu trouver d'espace de couleur correspondant - nouvel essai avec -vop scale...\n"
|
||||
#define MSGTR_CouldNotFindColorspace "N'a pas pu trouver d'espace de couleur correspondant - nouvel essai avec -vf scale...\n"
|
||||
#define MSGTR_MovieAspectIsSet "L'aspect du film est %.2f:1 - pré-redimensionnement à l'aspect correct.\n"
|
||||
#define MSGTR_MovieAspectUndefined "L'aspect du film est indéfini - pas de pré-redimensionnement appliqué.\n"
|
||||
|
||||
|
@ -218,7 +218,7 @@ csp_again:
|
||||
goto csp_again;
|
||||
} else
|
||||
if(palette==1){
|
||||
mp_msg(MSGT_DECVIDEO,MSGL_V,"vd: Trying -vop palette...\n");
|
||||
mp_msg(MSGT_DECVIDEO,MSGL_V,"vd: Trying -vf palette...\n");
|
||||
palette=-1;
|
||||
vf=vf_open_filter(vf,"palette",NULL);
|
||||
goto csp_again;
|
||||
|
@ -43,7 +43,7 @@ static int config(struct vf_instance_s* vf,
|
||||
unsigned int flags, unsigned int outfmt){
|
||||
|
||||
if(width!=DV_WIDTH || (height!=DV_PAL_HEIGHT && height!=DV_NTSC_HEIGHT)){
|
||||
mp_msg(MSGT_VFILTER,MSGL_ERR,"DV: only 720x480 (NTSC) and 720x576 (PAL) resolutions allowed! try with -vop scale=720:480\n");
|
||||
mp_msg(MSGT_VFILTER,MSGL_ERR,"DV: only 720x480 (NTSC) and 720x576 (PAL) resolutions allowed! Try with -vf scale=720:480\n");
|
||||
}
|
||||
|
||||
vf->priv->enc->isPAL=(height==DV_PAL_HEIGHT);
|
||||
|
@ -106,7 +106,7 @@ if(++vf->priv->fno>2){ // ignore first 2 frames - they may be empty
|
||||
x=(vf->priv->x1+1)&(~1);
|
||||
y=(vf->priv->y1+1)&(~1);
|
||||
|
||||
printf("crop area: X: %d..%d Y: %d..%d (-vop crop=%d:%d:%d:%d)\n",
|
||||
printf("crop area: X: %d..%d Y: %d..%d (-vf crop=%d:%d:%d:%d)\n",
|
||||
vf->priv->x1,vf->priv->x2,
|
||||
vf->priv->y1,vf->priv->y2,
|
||||
(vf->priv->x2+1-x)&(~1),(vf->priv->y2+1-y)&(~1),x,y
|
||||
|
@ -85,7 +85,7 @@ put_image(struct vf_instance_s* vf, mp_image_t* mpi){
|
||||
|
||||
/* Draw the rectangle */
|
||||
|
||||
mp_msg(MSGT_VFILTER,MSGL_INFO, "rectangle: -vop rectangle=%d:%d:%d:%d \n", vf->priv->w, vf->priv->h, vf->priv->x, vf->priv->y);
|
||||
mp_msg(MSGT_VFILTER,MSGL_INFO, "rectangle: -vf rectangle=%d:%d:%d:%d \n", vf->priv->w, vf->priv->h, vf->priv->x, vf->priv->y);
|
||||
|
||||
if (vf->priv->x < 0)
|
||||
x = 0;
|
||||
|
@ -19,7 +19,7 @@
|
||||
*
|
||||
* Hints and tricks:
|
||||
* - Use -dr to get direct rendering
|
||||
* - Use -vop yuy2 to get yuy2 rendering, *MUCH* faster than yv12
|
||||
* - Use -vf yuy2 to get yuy2 rendering, *MUCH* faster than yv12
|
||||
* - To get a black background and nice smooth OSD, use -double
|
||||
* - To get the console as a background, but with scaled OSD, use -nodouble
|
||||
* - The driver supports both scaling and shrinking the image using the -x and
|
||||
|
@ -613,7 +613,7 @@ m_option_type_t m_option_type_string_list = {
|
||||
"\t-pre: Add the given parameters at the begining of the list.\n"
|
||||
"\t-del: Remove the entry at the given indices.\n"
|
||||
"\t-clr: Clear the list.\n"
|
||||
"e.g: -vop-add flip,mirror -vop-del 2,5\n",
|
||||
"e.g: -vf-add flip,mirror -vf-del 2,5\n",
|
||||
sizeof(char**),
|
||||
M_OPT_TYPE_DYNAMIC | M_OPT_TYPE_ALLOW_WILDCARD,
|
||||
parse_str_list,
|
||||
|
Loading…
Reference in New Issue
Block a user