Sei sulla pagina 1di 49

NOMBRE

transcodificar - LINUX herramienta de procesamiento de flujo de vdeo


INO!I
transcodificar "nom#re-i$ "% n$ "archivo-p$ "-&
vmod "' amod$$ "a #is "v$$ "--dvd(access(dela) N$ "-e
r "' # "' c$$$ "-E r "' # "' c$$$ "-n *&nn$ "N *&nn$ "
-## "' v "' + "' m$$$$ "--no(audio(adjust$ "
--no(#itreservoir$ "nom#re --lame(preset "' r,pido$$ "--
.&h$ "--import(asr /$ "--e&port(asr /$ "
--e&port(par N' 0$ "--1eep(asr$ "tasa f "' frc$$ "
--e&port(fps f "c$$ "--e&port(frc 2$ "--hard(fps$
"-o 3rchivo$ "archivo-m$ "-) vmod "' amod$$ "-2 codec
$ "--avi(limit N$ "--avi(comments 2$ "d$ "-s
- "' c "' f "r$$$$ "-um "' n$$ "-3$ "-4$ "--u)v)
$ "-5 26 "f7 "' 888$$$ "marcar !$ "0 num$ "
--av(fine(ms t$ "Modo-M$ "O$ "-rn "m$$ "-B
n "' m "M$$$ "-X n "' m "M$$$ "9 .&h "' r,pido$$ "
--:oom(filter str$ "Modo -/$ "--antialias(para .' #$
"Modo -I$ "-;$ "-< val$ ":$ "-l$ "-1
$ "-jt "' L "' # "' r$$$$ "-= t "' l "' # "' r$$$$ "
--pre(clip t "' l "' # "' r$$$$ "e --post(clip "' l "' # "' r$$$$
"> # "' 1 "c$$$ "--video(ma&(#itrate$ "R
n "' f6 "f7$$$ "? n "' m$$ "--div&(+uant min' ma&$ "
--div&(rc p' rp' rr$ "--div&(v#v(prof N$ "--div&(v#v
#r' s:' oc$ "f6-f7-c "' f@-fA$$ "-tn' de #ase$ "
#ase de --dir(mode$ "--frame(interval N$ "-U de #ase$ "
-B B "' c "d$ "a$$$ "-> n' m "' file$$ "--cluster(percent-
utili:aciCn edad$ "--cluster(chun1s a#$ " unidad "' s6-s7$$ "
L n$ "n --import(vAl "id$$ "--pulldo.n$ "
--encode(fields$ "archivo --nav(see1$ "--psu(mode$ "
--psu(chun1s a#$ "--no(split$ "--ts(pid *&nn$ "
--aD7(drc(off$ "--aD7(demu&$ "--aD7(dol#)(off$ "
--print(status N "r$$ "--pro-ress(off$ "--color N$
"3rchivo --.rite(pid$ "--nice N$ "tipo --accel$ "
archivo --soc1et$ "--dv()u)7(mode$ "--confi-(dir dir$
"--e&t 4id' aud$ "--e&port(prof $ "nivel +$ "-h
$ "-v$
/O!=RI<%B
transcode es /op)ri-ht E/F 7**6-7**@ por Bhomas Gstreich'
7**@-7**A Bilmann Bitter#er-8
0E/RI!/IHN
transcodificaciCn es un linu& utilidad de consola para flujo de vdeo
procesamiento' +ue se ejecuta en una plataforma +ue apo)a compartida
#i#liotecas ) discusiones8
La descodificaciCn ) codificaciCn se reali:a por mCdulos de car-a +ue son
responsa#le de transcodificaciCn de alimentaciCn con vdeo en #ruto I audio
corrientes EmCdulos de importaciCnF ) codificaciCn de los marcos Ee&portaciCn
mCdulosF8
Es compati#le con vdeo de primaria ) transformaciCn trama de audio
ciones' inclu)endo desentrela:ado o cam#io de tamaJo r,pido de vdeo
marcos ) de car-a de los filtros e&ternos8
Un nKmero de mCdulos se inclu)e para permitir la importaciCn de 040s
on-the-fl)' M!E< elementales EEF o flujos de pro-rama E4OBF'
4deo M!E<' vdeo di-ital E04F' =U4AM!E< arro)os' Nup-
codecs ) formato de archivo pel4ideo' #asados 34I prima u o#li-atorio
prensado Epass-throu-hF foto-ramas de vdeo ) mCdulos de e&portaciCn para
escri#ir 0ivXL-F' Xvi0' 0ivX A8&& I D8&& o 34I sin comprimir
) archivos R3> con M!E<' 3/@ Epass-throu-hF o de audio !/M8
MCdulos adicionales de e&portaciCn a escri#ir cuadros individuales E!!MF o
/orrientes )uvAmpe- est,n disponi#les' as como una interfa:
mCdulo de importaciCn de la #i#lioteca avifile8
Est, concepto modular est, destinado a proporcionar la fle&i#ilidad
) f,cil e&tensi#ilidad de usuario para incluir otro vdeo I audio
codecs o tipos de archivo8 Un conjunto de herramientas se inclu)e para demultiple&ar
Etcdemu&F' e&tracto Etce&tractF ) decodificar EtcdecodeF la
fuentes en vdeo en #ruto I seJales de audio para la importaciCn' el sondeo
Etcpro#eF ) de #arrido EtcscanF sus fuentes ) para permitir
post-procesamiento de archivos 34I' la fijaciCn de ca#ecera del archivo 34I
informaciCn Eavifi&F' la com#inaciCn de archivos mKltiples Eavimer-eF'
archivos 34I -randes de divisiCn E3viplitF para +ue +uepa en un /0 )
avis)nc para corre-ir 34-offs)ncs8
O!/IONE
-Un Utili:ar 3/@ como cCdec de audio interno "off$8
Clo de paso a travMs apo)ado8
-B N "' m "M$$
cam#iar el tamaJo ) la altura-n N M filas "' ancho-m N M$ columnas
"off' @7$8 M de#e ser una de O' 6P o @7 No tiene
diferencia +ue M se utili:a8 Usted puede mirar en el
#andera r,pido de la opciCn-9 si pone no +uiere
calcular n)m ti mismo8
modo -/
activar el modo anti-aliasin- E6-@F "off$8
Clo 6 efectos de-entrela:ado
Clo 7 redimensionar efectos
@ proceso de foto-rama completo ElentoF
0 num sincroni:aciCn de inicio de vdeo con num trama de audio "*$8
R-E "' # "' c$$
samplerate salida de audio "%:$' #its por muestra )
canales "como entrada$8 La opciCn de Qvolver a muestrear -5Q de#e
ser proporcionado para los mCdulos de e&portaciCn +ue no son capaces de re
de muestreo8
codec(strin- -2
cadenas de par,metros encoder "mCdulo dependiente$8
El par,metro-2 tiene diferentes si-nificados para diferencia
mCdulos de e&portaciCn ent8
32P -)R
La /adena cCdec para el cCdec +ue desea codificar
a8 Los valores de ejemplo son -2 QIA7* in comprimirQ o -2
QOpen0iv& @866 decodificador compati#leQ8 !ara o#tener una lista
de codecs v,lidos' utilice -2 v,lido8
ffmpe- -)R
La /adena cCdec para el cCdec +ue desea
codificar8 Los valores de ejemplo son mpe-A -2 o -2
mpe-6video o huff)uv -28 !ara o#tener una lista de v,lida
codecs' utili:an -2 lista
im -)R
El nom#re del formato de la ima-en +ue desea e&portar8
Los valores de ejemplo son Sjp- -2S Epor defectoF o S-2 pn-S
o S-ifS -28 /on jp- -2' -. da calidad en la persona
ciento8 /on pn- -2' el primer d-ito del -. composiciCn
nivel de compresiCn' el se-undo da calidad' por lo -.
TD selecciona el mejor nivel de compresiCn ETF ) medios D
2iltrado adaptativo !N<8
jp- -)R
La calidad de la 5!E< codificar en porcentaje8 plo
ples valores son S-2 UDS Epor defectoF o S-2 6**S
mov -)R
inta&isR -2 QVvcodecW' V3codecoW "' Vpar,metrosW$Q
VvcodecW X videocodec para codificar con8 !or defectoR
QmjpaQ
V3codecoW X 3udiocodec para codificar con8 !or defectoR
QimaAQ
V!ar,metrosW X Una lista separada por comas de par,- separados
etros
para ser pasado al codec8
NotaR !uede usar QlistaQ en ve: de una
video I audiocodec o par,metro para o#tener una lista de apo)o
Opciones portados8
mp6e -)R
inta&isR -2 QV#ase-perfilW "' Voptions(strin-W$Q
V#ase-W perfil puede ser una de
Smpe-6S X M!E<6 <enMrico Epor defectoF
S4/0S X 4/0 est,ndar
Voptions(strin-W se pasar, a mp6e
al mar-en de transcodificaciCn8 Echa un vista:o a la p,-ina de manual
para mp6e8
mpe- -)R
inta&isR -2 QV#ase-perfilW "' V-mode resi:erW "' el usuario
perfil$$ Q
V#ase-W perfil puede ser una de
Q6Q X M!E< 6 EpredeterminadoF
S#S X -rande M!E< 6 Ee&perimentalF
SvS X 4/0
SsS X 4/0
Q7Q X M!E<7
SdS X compati#le con 040
V-mode resi:erW puede ser una de
* X resi:er desactivar Epor defectoF
6 X @D7&7OO
7 X AO*&AO*
@ X AO*&DUP
A X @D7&7A*
Vperfil de usuarioW es un nom#re de archivo del perfil
presentar8 !uede especificar la ruta a#soluta
el archivo o si transcodificar lo #uscar, en
el directorio donde fue transcodificar8
mpe-7enc -)R
inta&isR -2 QV#ase-perfilW "' Voptions(strin-W$Q
V#ase-W perfil puede ser una de
Q*Q X M!E<6 <enMrico Epor defectoF
Q6Q X 4/0 est,ndar
Q7Q X 4/0 usuario
Q@Q X <enMrico M!E<7
QAQ X est,ndar 4/0
QDQ X Usuario 4/0
QPQ X modo de par,metros Manual
QOQ X 040
Voptions(strin-W ser, transmitido a
mpe-7enc sin tocar por transcodificar8 Echa un vista:o a la
p,-ina del manual de mpe-7enc8
/orrecciCn -< val <amma E*'*-6*'*F "off$8
Un valor de 68* no cam#ia nada8 Un valor
menor +ue 68* har, +ue la ima-en Qm,s #rillanteQ' un
valor por encima de 6'* har, +ue sea Qm,s oscuroQ8
% n auto-sonda n MB de ori-en E* X noF por defecto "6$
Utilice un valor m,s alto +ue el valor por defecto para detectar todos
su#ttulos en el 4OB8
modo -I
activar el modo de desentrela:ado E6-DF "off$8
6 Qinterpolar lneas de e&ploraciCnQ
interpolaciCn lineal Etoma el promedio de la
surrondin- filas pares para determinar la e&traJa
filasF' ) copia las vueltas pares como se ofrecen8
7 Qmanejado por el codificadorQ
dice el cCdi-o de codificaciCn para manejar el hecho de +ue
los marcos se entrela:an8 La ma)ora de los codecs no lo hacen
manejar esto8
@ Q:oom a full frameQ
se reduce a la mitad el tamaJo' lue-o aleja8 esto puede
causar confusiCn e&cesivo +ue no es siempre
no deseado8 En los otros resultados de la mano son #astante
#ueno8
A Qcampo -ota I media alturaQ
soltar cual+uier otro campo ) +uedarse con la mitad de altura8
D Qinterpolar canlines I marcos de me:claQ
me:cla lineal Esimilar a -vop X pp li#ras en mpla)erF
esto' como me:cla lineal calcula las filas impares
como el promedio de las filas pares circundantes'
) tam#iMn calcula las filas incluso como un promedio
del ori-inal filas pares ) tam#iMn calcula
las filas incluso como un promedio de los impares ori-inales
filas ) promedia el calculado ) ori-inal
filas8 3l-o como promedio Epromedio Efila6' Ro.@F'
promedio Efila7' ro.AFF
-5 2iltro6 "' filtro7 "' 888$$
aplicar plu-ins de filtros e&ternos "off$8 3 full-soplado
instalaciCn de transcodificaciCn tiene el si-uiente filtro
mCdulosR
4ea la secciCn 2iltros para o#tener m,s detalles8
!ara ver lo +ue los filtros est,n disponi#les en su instalaciCn
ciCn de transcodificaciCn' ejecutar
ls -6 Ytcmodinfo -pY I filtro N 8so
ejemploR
transcodificar "888$
-5 @7detect X force(mode X @' normali:ar' cortar X Q*-6** @-A**Q
e car-a el plu-in de filtro @7detect con el par,metro
force(mode X @' el normali:ador volumen ) el corte
filtro8
NotaR
!uede especificar m,s de un -5 ar-umento8 El
orden de los ar-umentos del filtro especificar en +uM orden
los filtros se aplican8 Ben-a en cuenta tam#iMn' para transcodificar
internamente no hace nin-una diferencia si lo haces
Q-5 2iltro6 -5 filtro7Q o Qfiltro6 -5' filtro7Q
Use Stcmodinfo NOMBRE -iS para o#tener m,s informaciCn
so#re el filter(name8 No todos los filtros son compati#les con esta
pero la ma)ora de ellos lo hacen8 3l-unos de los plu-ins de filtro
tener documentaciCn adicional en los docs I direcciCn
tor)8 Los documentos de las secciones 2ILBRO casi todos
filtro +ue pueda ser de utilidad8
-L N tratar de compensar 4OB corriente n&71B defecto "*$
Esta opciCn se suele calcular de forma autom,tica
al dar --nav(see1 ) -c8
-1 !ermitir, ne-ro I #lanco +uitando modo colores
Eescala de -risesF "off$8
Ben-a en cuenta +ue esto no se traduce necesariamente en un
pe+ueJa ima-en I una mejor compresiCn8
!ara el modo =U4' esto se hace mediante el vaciado de la croma
aviones' para el modo R<B un valor de escala de -rises es .ei-htend
computari:ada8
modo-M
modos de sincroni:aciCn 34 demu&er !3 E*-AF "6$8
InformaciCn -eneral
El demu&er se encar-a de +ue los foto-ramas de vdeo correctas
ir junto con el #astidor de audio derecho8 esto puede
a veces ser una tarea compleja ) transcodificaciCn intenta
a)udar tanto como sea posi#le8
304ERBEN/I3R e hace una diferencia si usted Eel
usuarioF especifica un demu&er de utili:ar o si transcodificar
resp8 tcpro#e E6F eli-e el +ue se cree +ue es
adecuado para su material8
Esto se hace a propCsito para evitar lateral mstico
efectos8 3s +ue pensar dos veces' .ether especifica un
demu&er o dejar +ue transcodificar ele-ir uno o usted puede ser
terminar con un resultado fuera de sincroni:aciCn8
* !ass-throu-h8 No se metan con la corriente'
apa-ar cual+uier sincroni:aciCn I pro demu&in-
proceso8
6 !B sClo Epor defectoF incroni:ar video ) audio
inspeccionando !B I 0B marcas de tiempo de audio )
de vdeo8 El modo preferido para los flujos 4OB !3L )
040s8
7 NB/ 4OB caracterstica de sincroni:aciCn de corriente8 Este
modo -enera informaciCn de sincroni:aciCn para
transcodificar anali:ando el tiempo de visuali:aciCn de foto-ramas8
@ Ecomo -M 6FR 34 sincroni:aciCn inicial en el !B' pero
invoca Q-0 I - av(fine(msQ opciones internamente
#asado en el an,lisis !B Qtcpro#eQ8 !B si-nifica
ello de tiempo de presentaciCn8
A Ecomo -M 7FR inicial !B I hacer cumplir la velocidad de foto-ramas'
con la aplicaciCn de la velocidad de foto-ramas adicionales Epor
NB/F8
N *&nn
e&portaciCn IdentificaciCn del formato de audio "*&DD$8
I0s de formato disponi#les sonR
*&6 audio !/M sin comprimir
*&D* M!E< la)er-7 tam#iMn conocido como M!7
*&DD M!E< La)er-@ M!@ a1a8
Bam#iMn eche un vista:o a las
--lame(preset si
la intenciCn de hacer 4BR
audio8
*&7*** 3/@ audio
3udio *&fffe O<< I 4or#is
-Z 4aciar #Kfer mp@ lisiado de parada codificador "off$8
#andera -!
de paso a travMs de la #andera E* X off [ 6 X 4 [ 7 X 3 [ @ X 3 \ 4F "*$8
!aso a travMs de la #andera] X 6 est, roto ) no un
cosa trivial para arre-lar8
!uede pasar a travMs de vdeo 04' 34I ) M!E<7
de vdeo8 3l hacer M!E<7 de paso a travMs Ejunto con
el mCdulo prima -)F' le puede dar una recuantificaciCn
mediante el uso de factor de -. - por ejemplo -. 6'D - este
har, +ue el flujo M!E<7 m,s pe+ueJo8
El modo de acceso es Ktil para la reconstrucciCn
de un ndice mal de un archivo 34I8 El ffmpe- -&
import-module anali:a el flujo de #its comprimido )
puede detectar un foto-rama clave para 0I4@' M!E<A E0ivX' Xvi0'
88F = otros formatos8 3 continuaciCn' esta#lece un interno
#andera +ue el mCdulo de e&portaciCn respetar, cuando
escri#iendo la trama8
-? N "m$
codificaciCn "' decodificaciCn$ calidad E* X m,s r,pido D X mejorF
"D'D$8
R n "' f6 "f7$$
permitir codificaciCn de varios pasos E*-@F
"*' div&A8lo-' pcm8lo-$8
* #itrate constante E/BRF de codificaciCn8 "default$
El cCdec trata de lo-rar tasa de #its constante
de salida8 Esto si-nifica' cada trama codificada es
so#re todo el mismo tamaJo8 Este tipo de codificaciCn puede
a)udar en el mantenimiento de llenado constante de hard.are
#uffer de mercancas en los set top ju-adores o lisa
streamin- a travMs de redes8 !or cierto' /onstant
tasa de #its se o#tiene a menudo sacrificar calidad
durante las escenas de mucho movimiento8
6 codificaciCn de #itrate varia#leR !rimer pase8
En este modo' el codec anali:a la completa
secuencia con el fin de recopilar datos +ue pueden
mejorar la distri#uciCn de #its en un se-undo
!ase 4BR8 Los datos reco-idos se escri#e en sectores
En se-undo ar-umento su# Epor defectoR div&A8lo-F8 Este
datos de cCdec es dependiente ) no se puede utili:ar
codecs de ancho8 e recomienda encarecidamente utili:ar
la misma confi-uraciCn de cCdec para el an,lisis 4BR
pasar ) la codificaciCn 4BR pasar si +uieres pre
resultados previsi#les8
La salida de vdeo de la primera pasada no es de
mucho uso ) puede crecer mucho8 Es una #uena
idea +ue no -uarda la salida de vdeo a un archivo' pero
directamente a I dev I null8 !or lo -eneral' la tasa de #its es
i-norado en la primera pasada8
0esactivaciCn de la e&portaciCn de audio tiene sentido tam#iMn' a fin de utili:ar
codec -)' null8 No se recomienda desactivar
la importaciCn de audio por+ue transcodificar podra caer
foto-ramas de vdeo para mantener audio ) video sincroni:ados8
Esto no es posi#le cuando la importaciCn de audio es
discapacitados8 Bodo ello puede conducir al hecho de +ue el
cCdec ver, una secuencia diferente de tramas
lo +ue hace efica: el archivo de re-istro no v,lido8
7 de codificaciCn de tasa de #its varia#leR e-undo pase8
El primer paso permitiC el cCdec reco-er
datos so#re la secuencia completa8 durante el
se-undo paso' el codec usar, esos datos en
a fin de encontrar una distri#uciCn poco eficiente
+ue respete tanto la tasa de #its ) el deseado
forma de la curva de #itrate natural8 Esto ase-ura una
#uen compromiso entre la calidad ) deseada
#itrate8
3se-Krese de activar el sonido ) vdeo
codificaciCn durante este paso8
@ codificaciCn con cuanti:aciCn constante8
El cuantificador es el Qnivel de compresiCnQ de la
ima-en8 /uanto menor sea el cuantificador' ma)or
es la calidad de la ima-en8 Este modo puede
a)udar en ase-urarse de la secuencia se codifica a
calidad constante' pero no se puede hacer la predicciCn
en la tasa de #its final8 /uando utilice este modo' la
opciCn-. cam#ia su si-nificado' ahora toma la
cuantificador +ue va de 6 a @68
Unidad "' s6-s7$
unidad de flujo de pro-rama de proceso "' s6-s7$ secuencias
"*' todo$8
Esta opciCn es un poco redundante para --psu N8 Este
opciCn le permite especificar +uM unidades desea
han decodificado o salteados8 En una unidad de flujo pro-ramm
lmite' todos los tempori:adores mpe- EinternasF se resta#lecen a
* tcpro#e le dir, cu,ntas unidades se encuentran en una
presentar8
-B B "' c "a$$
seleccione el ttulo del 040 "' captulo "' ,n-ulo$$ "6'6'6$8 sClo un
solo captulo es transcodificado8 Utilice -B 6' -6 a transcripciCn
codificar todos los captulos se-uidos8 Incluso puede especificar
ran-os captulo8
#ase de -U
proceso de 040 en el modo de captulo para #asar-ch^ *7d8avi
"off$8
-v Utili:ar =467 I IA7* como vdeo interno de diseJo I color
espacio
Esta opciCn se depricated8 Es por defecto ahora
por+ue es el formato interno de la ma)ora de los codecs Spor lo +ue ha)
no ha) necesidad de conversiones8 3l-unos mCdulos no pueden
apo)ar a Ml sin em#ar-o8 Utilice --use(r-# en ese caso8
--use(r-#
Utilice R<B como el diseJo de video I espacio de color interno
Utilice esta opciCn cuando desee la edad Epre-*8P86@F
comportamiento de transcodificaciCn de utili:ar R<B como lucro interna
estera8 La ma)ora de los codecs no son compati#les con este formato
nativa ) tienen +ue convertir a I desde =U4 primero'
por lo +ue sClo utilice esta opciCn si est,s realmente se-uro o
desea utili:ar un mCdulo +ue no admite =U48
-> N' m "' nav(file$
autosplit ) el proceso parte n de m EsClo 4OBF "off$
-X N "' m' "M$$
cam#iar el tamaJo de la altura \ n N M filas "' ancho \ m N M$ columnas
"off' @7$8 M de#e ser una de O' 6P o @7 No tiene
diferencia +ue M se utili:a8 Usted puede mirar en el
#andera r,pido de la opciCn-9 si no desea
calcular n)m ti mismo8
-= la parte superior "' i:+uierda "' inferior "derecha$$$
seleccione EencoderF re-iCn fronteri:a marco por el recorte8
Los valores ne-ativos aJaden una frontera "off$8
>idth&hei-ht 9 "' r,pido$
cam#iar el tamaJo de columnas de ancho' altura de filas con el filtrado
"off' notfast$8
i se da r,pido' transcodificar calcular, el
par,metros para -X ) I o -#8 La opciCn lata r,pido
sClo se utili:ar, cuando la -eometra de importaciCn ) e&portaciCn de
una ima-en es un mKltiplo de O8
En el modo r,pido' un cam#io de tamaJo m,s r,pido' pero menos preciso
al-oritmo se utili:ar, resultando en un poco menos
#uena calidad8 3l lado de este Epe+ueJoF inconveniente' es
vale la pena intentarlo8
Bam#iMn es posi#le omitir anchura o altura8 en
este caso' transcodificar calcular, los desaparecidos
valorar el uso de la relaciCn de aspecto de importaciCn8 El nuevo valor
se alinear,n a ser un mKltiplo de O El uso de un
r,pido adicional tam#iMn es posi#le8
Ejemplos Easumir de entrada es de 6PR archivo codificado T a
U7*&DUPFR
9 DUP&@7O utili:a :oom filtrada8
9 DUP&@7O' utili:a r,pido :oom r,pido8
DUP& 9' conjetura r,pida @7O ) hacer :oom r,pido8
X@7O -9 adivinen DUP ) no filtran :oom8
i tam#iMn esta#lece --e&port(prof' puede utili:ar sClo
Qr,pidoQ para indicar +ue el cam#io de tamaJo r,pidamente se +uera8
ach -a "' vch$
e&traer audio "video$ pista para la codificaciCn8
-# # "' v' "+' "m$$$
audio codificador #itrate ;#its I s "' v#r "' calidad
dad "' modo$$$ "67O'*'D'*$
El par,metro modo especifica +ue el modus cojo
de#en utili:ar para la codificaciCn8 Los modos disponi#les sonR
* 5oint tereo Epor defectoF
6 e+uipo de mKsica completo
7 Mono
f6-f7-c "'-f@ fA "' 888$$
codificar sClo enmarca f6-f7 ") f@-fA$8 !or defecto se
codificar todos los marcos disponi#les8 Utilice esto ) usted
o#tener informaciCn so#re el tiempo restante de la codificaciCn8 El
2 "N$ par,metros tam#iMn pueden ser cCdi-os de tiempo en la
%%R MMR 82R3ME8 ejemploR
-c D**-*R DR *6'R 6*R 7*-6R 6OR *786
/odificar, sClo de la carcasa D** ) D minutos
) 6 se-undo ) de 6* min' 7* se- a 6
horas' 6O minutos' 7 se-undos ) un foto-rama8
Ben-a en cuenta +ue transcodificar comien:a a contar los marcos a * )
e&clu)e el Kltimo foto-rama especificado8 Esto si-nifica +ue
Q-c *-6**Q ser, codificada 6** a partir de marcos
marco * hasta enmarcar TT
intercam#io -d #)tes de flujo de audio "off$8
En la ma)ora de los casos' las pistas de audio de 040 !/M re+uieren s.ap-
de pin- de #)tes de audio
-e r "' # "' c$$
!/M par,metro de flujo de audio8 2recuencia de muestreo "%:$' #its
por muestra ) el nKmero de canales "AO***'6P'7$8
Normalmente esto es detectado8
tasa de f "' frc$
importaciCn de vdeo la velocidad de foto-ramas "' frc$ "7D8***'*$8 i frc
EcCdi-o de velocidad de cuadroF se especifica' transcodificar se cal-
cular los marcos precisos por se-undo internamente8
Los valores v,lidos para frc son
tasa frc
---- \ -----------------------
6 [ 7@8TUP E7A*** I 6**68*F
7 [ 7A
@ [ 7D
A [ 7T8TU* E@**** I 6**68*F
D [ @*
P [ D*
U [ DT8TA* E7 N 7T8TU*F
O [ P*
T [ 6
6* [ D
66 [ 6*
67 [ 67
6@ [ 6D
-- .idth&hei-ht
tamaJo de trama de flujo de vdeo "U7*&DUP$8
-h imprimir informaciCn de uso8
nom#re -i
archivo de entrada I directorio I dispositivo I punto de montaje I nom#re de host'
predeterminado es "I dev I :ero$8
-j superior "' i:+uierda "' inferior "derecha$$$
seleccione re-iCn fronteri:a marco por el recorte8 ne-ativo
valores aJaden una frontera "off$8
intercam#io -1 rojo I a:ul E/# I /rF en foto-ramas de vdeo "off$8 Use si
personas tienen caras a:ules8
-l foto-rama de vdeo espejo "off$8
archivo-m
escri#ir flujo de audio a archivo separado "off$8
-n *&nn
importaciCn IdentificaciCn del formato de audio "*&7***$8 Normalmente' esto es
autodetecciCn8
-o archivo
Nom#re del archivo de salida' por defecto es "I dev I null$8
archivo -p
leer flujo de audio a partir de archivos independiente "off$8
-+ de#u-level
BR3N?UIL3 *
IN2O 6
0EBU< 7
EB30_BI/3 A
RELO5 O
2LIB 6P
4I0/ORE @7
=N/ PA
/ONB30OR 67O
!RI430O 7DP
r n "' m$
reducir vdeo altura I anchura por n "' m$ "off$8 ejemploR
r 7 se reescalar la framesi:e de un archivo de U7*&DUP
a @P*&7OO8
-anancia -s' "centro' "frente' "trasera$$$
aumentar el volumen de flujo de audio por la -anancia' "cen-
ter' delantero' trasero$ por defecto "off' 6'6'6$8
-t n' la #ase
salida dividida a la #ase^ *@d8avi con n marcos "O22$8
-u m "n$
utili:ar m frame#uffer "' n hilos$ para el procesamiento de 34
"6*'6$8
versiCn impresa -v8
. # "' 1 "c$$
codificador de tasa de #its "' foto-ramas clave "' vivacidad$$ "EP*** para
M!E< 6I7' 6O** para los dem,sF' 7D*'6**$8
--video(ma&(#itrate #
Utilice # como tasa de #its m,&ima al codificar la varia#le
#itrate M!E<-7
vmod -& "' amod$
video "audio$ mCdulos de importaciCn "de automCviles' 3uto$8 i omitido
ted' transcodificar pro#ar, para la importaciCn proceda
mCdulos8 Una instalaciCn de transcodificaciCn en toda re-la tiene
los si-uientes mCdulos de importaciCnR
MCdulo Q3/@QR EaudioF 3/@
MCdulo Q32PQR EvideoF dll >in@7 [ EaudioF !/M
MCdulo QaviQR EvideoF N [ EaudioF N
MCdulo Qdiv&QR EvideoF 0ivXL -F I Xvi0 I Open0ivX I 0ivX
A8&& I D8&&
MCdulo QdvQR EvideoF 04 [ EaudioF !/M
MCdulo QdvdQR EvideoF 040 [ EaudioF M!E< I 3/@ I !/M
MCdulo Qffmpe-QR EvideoF 3!I 22M!E< E#uild AP@6F [
M M!E<Av6-@ I M!E<A I M5!E<
MCdulo QimQR EvideoF R<B
MCdulo QimlistQR EvideoF R<B
MCdulo QlavQR EvideoF L34 [ EaudioF >34E
MCdulo Ql:oQR EvideoF
MCdulo Qmjpe-QR EvideoF M5!E<
MCdulo QmovQR EvideoF N [ EaudioF N
MCdulo Qmp@QR EaudioF M!E<
MCdulo QM!E<7QR EvideoF M!E<7
MCdulo Qmpe-@QR EvideoF M!E<7
MCdulo Qmpla)erQR EvideoF dictada por mpla)er [
EaudioF dictada por mpla)er
MCdulo de QnuloQR EvideoF null [ EaudioF null
MCdulo QnvrecQR EvideoF nvrec - vAl [ EaudioF nvrec
- dsp
MCdulo Qo--QR EvideoF N [ EaudioF O-- 4or#is
MCdulo de QcrudaQR EvideoF R<B I =U4 [ EaudioF !/M
MCdulo Qra.listQR EvideoF =U4 I R<B marcos primas
MCdulo Qvdrac@QR EaudioF 40R-3/@
MCdulo Q4OBQR EvideoF M!E<-7 [ EaudioF M!E< I 3/@ I !/M
[ Eu#ttuloF
MCdulo QvAlQR EvideoF =U4 I R<B [ EaudioF !/M
MCdulo Q&mlQR EvideoF N [ EaudioF N
MCdulo Q&vidQR EvideoF Xvi0 I Open0ivX I 0ivX
A8&& I D8&&
MCdulo Q)uvAmpe-QR EvideoF =U4AM!E<& [ EaudioF >34E
!ara ver lo +ue tiene su transcodificaciCn' hacer un
ls -6 Ytcmodinfo -pY I import N 8so
Es posi#le pasar cadenas de opciones para importar
mCdulos como para filtrar los mCdulos8 El usuario medio
`no esta caracterstica ) no muchos mCdulos de apo)o
ella8 La sinta&is es -& 4MO0 X opciones' 3MO0 X Opciones
Ejemplo
-& ra.list X u)v)' null
3 decir del mCdulo ra.list importaciCn E+ue lee
im,-enes de una lista de archivosF del espacio de color de
las im,-enes8
vmod -) "' amod$
video "audio$ mCdulos de e&portaciCn "null$8 i se omite'
transcodificar codificar, al mCdulo nulo8 Un completo
instalaciCn transcodificar soplado tiene la si-uiente
mCdulos de e&portaciCnR
ac@ - EvideoF null [ EaudioF ac@
Este mCdulo no tiene dependencias en tiempo de compilaciCn8
En tiempo de ejecuciCn ffmpe- de#e estar presente8 3po)o
para este mCdulo es #ueno8
Le permite codificar audio E!/M crudoF a travMs de 3/@
el #inario ffmpe-8
32P - EvideoF dll >in@7 [ EaudioF M!E< I 3/@ I !/M
En tiempo de compilaciCn li#avifile de#e estar disponi#le
) apo)o avifile de#e estar ha#ilitado8 en Ejecutar-
li#avifile tiempo ) de#en ser pre .in@7codecs
enviado8 El apo)o a este mCdulo es #uena8
Interfa: con la #i#lioteca avifile +ue
permite el uso de .in@7codec en el linu&-
plataforma &OP8
de#u-ppm - EvideoF de#u-!!M I !<M [ EaudioF
M!E< I 3/@ I !/M
!ara la codificaciCn de audio M!E<' li#mp@lame de#e ha#er
apo)o disponi#le ) cojos de#e estar ha#ilitado en
en tiempo de compilaciCn' ) li#mp@lame de#e estar disponi#le
en tiempo de ejecuciCn8 El apo)o a este mCdulo es #uena8
Especialmente Ktil cuando uno +uiere tratar de
encontrar errores en el modo =U48 /odifica los tres
aviones como im,-enes separadas8 En el modo R<B' la
@ planos de color +uedan codificadas Mste por separado8
div&A - EvideoF A8&& 0ivX [ EaudioF M!E< I 3/@ I !/M
!ara la codificaciCn de audio M!E<' li#mp@lame de#e ha#er
apo)o disponi#le ) cojos de#e estar ha#ilitado en
en tiempo de compilaciCn' ) li#mp@lame de#e estar disponi#le
en tiempo de ejecuciCn8 En div&Alinu& en tiempo de ejecuciCn Ede edadF )
li#div&encore8so de#e estar presente8 3po)o a la
este mCdulo es justo8
/odifica vdeo M!E<A con el cCdi-o cerrado
#inarios de div&8com a un contenedor 34I8
div&Ara. - EvideoF A8&& 0ivX EEF [ EaudioF
M!E< I 3/@ I !/M
!ara la codificaciCn de audio M!E<' li#mp@lame de#e ha#er
apo)o disponi#le ) cojos de#e estar ha#ilitado en
en tiempo de compilaciCn' ) li#mp@lame de#e estar disponi#le
en tiempo de ejecuciCn8 En div&Alinu& en tiempo de ejecuciCn Ede edadF )
li#div&encore8so de#e estar presente8 3po)o a la
este mCdulo es justo8
/odifica vdeo M!E<A con el cCdi-o cerrado
#inarios de div&8com en nin-Kn archivo ciCn
recipiente en a#soluto8 e escri#e la prima de #its
corriente8
0ivXD - EvideoF D8&& 0ivX [ EaudioF M!E< I 3/@ I !/M
!ara la codificaciCn de audio M!E<' li#mp@lame de#e ha#er
apo)o disponi#le ) cojos de#e estar ha#ilitado en
en tiempo de compilaciCn' ) li#mp@lame de#e estar disponi#le
en tiempo de ejecuciCn8 En div&Alinu& en tiempo de ejecuciCn EnuevoF )
li#div&encore8so de#e estar presente8 3po)o a la
este mCdulo es #ueno8
/odifica vdeo M!E<A con el cCdi-o cerrado
#inarios de div&8com a un contenedor 34I8
div&Dra. - EvideoF D8&& 0ivX EEF [ EaudioF
M!E< I 3/@ I !/M
!ara la codificaciCn de audio M!E<' li#mp@lame de#e ha#er
apo)o disponi#le ) cojos de#e estar ha#ilitado en
en tiempo de compilaciCn' ) li#mp@lame de#e estar disponi#le
en tiempo de ejecuciCn8 En div&Alinu& en tiempo de ejecuciCn EnuevoF )
li#div&encore8so de#e estar presente8 3po)o a la
este mCdulo es justo8
/odifica vdeo M!E<A con el cCdi-o cerrado
#inarios de div&8com en nin-Kn archivo ciCn
recipiente en a#soluto8 e escri#e la prima de #its
corriente8
dv - EvideoF 0i-ital 4ideo [ EaudioF M!E< I 3/@ I !/M
En tiempo de compilaciCn li#dv de#e estar disponi#le )
Bienes +ue ha#ilitar li#dv apo)o8 En tiempo de ejecuciCn
li#dv de#e estar presente8 !ara M!E< codifi- audio
in-' li#mp@lame de#e ser apo)o disponi#le ) cojo
puerto se de#e activar en tiempo de compilaciCn' )
li#mp@lame de#e estar disponi#le en tiempo de ejecuciCn8 upport
puerto para este mCdulo es #ueno8
/odifica 04 en un contenedor 34I8 04 es una
codec desarrollado por on) ) es de uso frecuente
en las videoc,maras di-itales8
dvra. - EvideoF 0i-ital 4ideo [ EaudioF !/M
En tiempo de compilaciCn li#dv de#e estar disponi#le )
Bienes +ue ha#ilitar li#dv apo)o8 En tiempo de ejecuciCn
li#dv de#e estar presente8 El apo)o a este mCdulo
es #ueno8
/odifica 04 en un archivo 048 04 es un codec
desarrollado por on) ) se utili:a a menudo en di-nidad
videoc,maras ital8 Un archivo R3> 04 puede ser
reproduciendo en la videoc,mara8
!ara una codificaciCn m,s r,pida' la opciCn QX +no X nQ
se puede aJadir' con un valor de n de 6 a ser
utili:ado en a-udo' ) uno de 7 en la ruidosa
fuentes8
la fama - EvideoF M!E<-A [ EaudioF M!E< I 3/@ I !/M
En tiempo de compilaciCn li#fame de#e estar disponi#le )
Bienes +ue ha#ilitar apo)o li#fame8 este mCdulo
no tiene dependencias en tiempo de ejecuciCn8 El apo)o a esta
mCdulo es po#re8
2ama es otro codificador M!E<A8 Es
codifica para un archivo R3>8
ffmpe- - EvideoF N [ EaudioF M!E< I 3/@ I !/M
!ara la codificaciCn de audio M!E<' li#mp@lame de#e ha#er
apo)o disponi#le ) cojos de#e estar ha#ilitado en
en tiempo de compilaciCn' ) li#mp@lame de#e estar disponi#le
en tiempo de ejecuciCn8 Este mCdulo no tiene tiempo de ejecuciCn
dependencias8 El apo)o a este mCdulo es #uena8
/odifica muchos formatos diferentes para am#os 34I
) en carne viva8 3po)ado son mpe-6video'
mpe-7video' M!E<A' M5!E<' h7P@' %7P@!'
>M46' >M47' R46*' msmpe-A' msmpe-Av7'
huff)uv ) 04video8
im - EvideoF N [ EaudioF M!E< I 3/@ I !/M
En tiempo de compilaciCn li#Ima-eMa-ic1 de#e estar disponi#le
Bienes +ue ha#ilitar apo)o capa: ) Ima-eMa-ic18
Este mCdulo no tiene dependencias en tiempo de ejecuciCn8 upport
puerto para este mCdulo es #ueno8
/odifica secuencias de im,-enes mediante el uso de la
Li#rera Ima-eMa-ic18 Ima-eMa-ic1 es capa: de
manejar una -ran cantidad de formatos de ima-en
entre son pn-' jp-' miff' tiff' etc Uso -2
para seleccionar el formato deseado8
jp- - EvideoF N [ EaudioF M!E< I 3/@ I !/M
En li#jpe- tiempo de compilaciCn o li#jpe-mm& de#e ser
Bienes +ue ha#ilitar el apo)o disponi#le ) li#jpe-8
Este mCdulo no tiene dependencias en tiempo de ejecuciCn8 upport
puerto para este mCdulo es #ueno8
/odifica secuencias de im,-enes jp- utili:ando li#jpe-8
M,s r,pido +ue Ima-eMa-ic18 Utilice -2 para seleccionar
la calidad de compresiCn8
cojos - EaudioF M!E< medio
Este mCdulo no tiene dependencias en tiempo de compilaciCn8
3l cojo en tiempo de ejecuciCn ) so& de#e estar presente8 upport
puerto para este mCdulo es #ueno8
Un codificador de sClo audio +ue impulsa el cojo
#inario8 Los Medias herramienta se utili:a para hacer resam-
muestreo si es necesario8 /odifica en un archivo M!@8
l:o - EvideoF L9O compresiCn en tiempo real [ EaudioF
M!E< I 3/@ I !/M
En tiempo de compilaciCn li#l:o de#e estar disponi#le )
Bienes +ue ha#ilitar l:o apo)o8 !ara el audio M!E<
codificaciCn' li#mp@lame de#e estar disponi#le ) ser cojo
apo)o de#e estar ha#ilitado en tiempo de compilaciCn' )
li#mp@lame de#e estar disponi#le en tiempo de ejecuciCn8 Este
mCdulo no tiene dependencias en tiempo de ejecuciCn' e&cepto
li#mp@lame de codificaciCn de audio M!E<8 3po)o
para este mCdulo es #ueno8
/odifica vdeo utili:ando un tiempo real sin pMrdidas
L9O codec8 Este codec es una invenciCn de cosecha propia
ciCn de transcodificaciCn ) pretende ser un
formato de almacenamiento intermedio8 M!la)er puede
archivos 34I reproducciCn L9O-#asada tam#iMn8
mjpe- - EvideoF Motion 5!E< [ EaudioF M!E< I 3/@ I !/M
!ara la codificaciCn de audio M!E<' li#mp@lame de#e ha#er
apo)o disponi#le ) cojos de#e estar ha#ilitado en
en tiempo de compilaciCn' ) li#mp@lame de#e estar disponi#le
en tiempo de ejecuciCn8 Este mCdulo no tiene tiempo de ejecuciCn
dependencias e&cepto li#mp@lame para audio M!E<
codificaciCn8 El apo)o a este mCdulo es po#re8
/odifica archivos 34I #asada M5!E< utili:ando un ho-ar
crecido al-oritmo #asado en li#jpe-8 Utili:ando
ffmpe- -2 mjpe- para esta tarea es un #uen
idea8
mov - EvideoF N [ EaudioF N
En tiempo de compilaciCn li#+uic1time de#e estar disponi#le
) apo)o li#+uic1time de#e estar ha#ilitado8 en
li#+uic1time de tiempo de ejecuciCn de#e estar presente8 3po)o
para este mCdulo es justo8
Interfa: con la #i#lioteca +uic1time8
mp6e - EvideoF de vdeo M!E<6 [ EaudioF M!E<6-La)er
Este mCdulo no tiene dependencias en tiempo de compilaciCn8
En tiempo de ejecuciCn mp6e de#e estar presente8 3po)o a la
este mCdulo es #ueno8
Impulsa el #inario mp6e ) escri#e una mpe-6
presentar el disco8 Bam#iMn puede codificar composiciCn vcd
corrientes dCciles8 NotaR se escri#e una intermediaciCn
.av inme- para el audio de#ido a una limitaciCn
ciCn de mp6e8
mp7enc - EaudioF M!E< 6I7
En tiempo de compilaciCn mjpe-tools de#en estar disponi#les
) mjpe-tools apo)o de#e estar ha#ilitado8 en
mp7enc de tiempo de ejecuciCn de#e estar presente8 3po)o a la
este mCdulo es #ueno8
Impulsa el #inario mp7enc ) escri#e un M!7
3rchivo EM!E<6-La)er 7F8 atil para cuando codificadores
ciCn a 4/0 a multiple&ar con mple&
despuMs de la codificaciCn8
mpe- - EvideoF M!E< 6I7 [ EaudioF M!E< 6 La)er II
En tiempo de compilaciCn nasm de#e estar disponi#le8 Este
module has no run-time dependencies8 3po)o
for this module is -ood8
Interface to the ##mpe- li#rar) Eincluded
in transcodeF8 It can encode -eneric mpe-6'
4/0' 4/0' M!E<7 and 040 t)pe video8
Encoded video -oes into a elementar) file
to #e multiple&ed .ith the correspondin-
audio file after encodin-8
mpe-7enc - EvideoF M!E< 6I7
3t compile-time mjpe-tools must #eavaila#le
and mjpe-tools support must #e ena#led8 en
run-time mpe-7enc must #e present8 3po)o a la
this module is -ood8
0rives the mpe-7enc #inar)8 mpe-7enc is a
ver) feature rich M!E< encoder' have a loo1
at its manpa-e8 Encodes -eneric mpe-6' 4/0'
4/0' M!E<7 and 040 t)pe video8
net - EvideoF R<BI=U4 [ EaudioF !/MI3/@
3t compile-time net-support must #e availa#le
and net support must #e ena#led8 este mCdulo
has no run-time dependencies8 upport for this
module is -ood8
Bransfers video data over a net.or1 #et.een
various transcodes8 Useful if )ou have mul-
tiple s)stems connected via a fast net.or18
null - EvideoF null [ EaudioF null
Bhis module has no compile-time dependencies8
Bhis module has no run-time dependencies8 up-
port for this module is -ood8
0ata sin18 0oes nothin- else than discard-
in- data8
o-- - EvideoF null [ EaudioF o--
Bhis module has no compile-time dependencies8
3t run-time o--enc must #e present8 3po)o
for this module is -ood8
0rives the o--enc #inar)8 Encodes an
O--I4or#is file8 Resamples8
pcm - EaudioF !/M Enon-interleavedF
Bhis module has no compile-time dependencies8
Bhis module has no run-time dependencies8 up-
port for this module is -ood8
>rites each audio channel to a >34E !/M
file8
ppm - EvideoF !!MI!<M [ EaudioF M!E<I3/@I!/M
Bhis module has no compile-time dependencies8
Bhis module has no run-time dependencies8 up-
port for this module is -ood8
>rites an ima-e se+uence of !<M or !!M
files8 !!M is an old format and there are
several tools around to manipulate such
files8
pvm - EvideoF N [ EaudioF N
3t compile-time li#pvm@ must #e availa#le and
pvm@ support must #e ena#led8 3t run-time pvm
must #e present8 upport for this module is
-ood8
Meta module8 It allo.s transcode to #e used
in a !4M cluster8 ee docsIe&port(pvm8t&t
ra. - EvideoF N [ EaudioF M!E<I3/@I!/M
Bhis module has no compile-time dependencies8
Bhis module has no run-time dependencies8 up-
port for this module is -ood8
/an .rite uncompressed streams to an 34I
file as .ell as ra. mpe-7 files in pass-
throu-h mode8
toolame - EaudioF M!E< 6I7
Bhis module has no compile-time dependencies8
3t run-time toolame and so& must #e present8
upport for this module is -ood8
0rives the toolame #inar) to create M!7
audio trac1s8 o& is used for resamplin- if
re+uested8
.av - EaudioF >34E !/M
Bhis module has no compile-time dependencies8
Bhis module has no run-time dependencies8 up-
port for this module is -ood8
/reates >34E !/M files .ith interleaved
audio for stereo8
&vid7 - EvideoF Xvi0 *8T8& Ea1a 3!I 786 seriesF [
EaudioF M!E<I3/@I!/M
2or M!E< audio encodin-' li#mp@lame must #e
availa#le and lame support must #e ena#led at
compile-time' and li#mp@lame must #e availa#le
at run-time8 3t run-time li#&videncore8so87
must #e present8 upport for this module is
-ood8
Encodes M!E<A video usin- the li#rar)
availa#le form &vid8or-8 /hec1 out the
li#rar) from &vidcvs usin- cvs -d
RpserverRanon)mousbcvs8&vid8or-RI&vid co
-rrelease-*(T(7 &vidcore8 Bhe output can
either #e an 34I file or a M!E<A elementar)
stream E.ith -2 ra.F8
&vid@ - EvideoF Xvi0 nonum#er series Ea1a 3!I @8*F
[ EaudioF M!E<I3/@I!/M
2or M!E< audio encodin-' li#mp@lame must #e
availa#le and lame support must #e ena#led at
compile-time' and li#mp@lame must #e availa#le
at run-time8 3t run-time li#&vidcore8so8@ must
#e present8 upport for this module is -ood8
Encodes M!E<A video usin- the li#rar)
availa#le form &vid8or-8 /hec1 out the
li#rar) from &vidcvs usin- cvs -d
RpserverRanon)mousbcvs8&vid8or-RI&vid co
-r%E30 &vidcore8 Bhe output can either #e
an 34I file or a M!E<A elementar) stream
E.ith -2 ra.F8
&vidA - EvideoF Xvi0 68*8& series Ea1a 3!I A8*F [
EaudioF M!E<I3/@I!/M
2or M!E< audio encodin-' li#mp@lame must #e
availa#le and lame support must #e ena#led at
compile-time' and li#mp@lame must #e availa#le
at run-time8 3t run-time li#&vidcore8so8A must
#e present8 upport for this module is -ood8
Encodes M!E<A video usin- the li#rar)
availa#le form &vid8or-8 /hec1 out the
li#rar) from &vidcvs usin- cvs -d
RpserverRanon)mousbcvs8&vid8or-RI&vid co
-rdev-api-A &vidcore8 Bhere is also a tool
availa#le to create confi-uration files for
this &vid version at httpRII:e#ra8fh-.ein-
-arten8deItranscodeI&vidAconf8 Bhe output
can either #e an 34I file or a M!E<A ele-
mentar) stream E.ith -2 ra.F8
)uvAmpe- - EvideoF =U4AM!E<7 [ EaudioF M!E<I3/@I!/M
3t compile-time mjpe-tools must #e availa#le
and mjpe-tools support must #e ena#led8 Este
module has no run-time dependencies8 3po)o
for this module is -ood8
>rites the uncompressed ra. =U4 data in a
=U4AM!E< format as used #) the lavN and
mjpe-N tools8
Bo see .hat )our transcode has' do a
ls -6 Ytcmodinfo -pYIe&portN8so
It is possi#le to pass option strin-s to e&port
modules li1e to filter modules8 Bhe s)nta& is
-) vmodXoptions'amodXoptions
-: flip video frame upside do.n "off$8
--accel t)pe
enforce e&perimental I3@7 acceleration for t)pe
"autodetect$8 t)pe ma) #e one of
\---------------------------------\
[/ No acceleration [
[ia@7asm plain &OP assem#l) [
\---------------------------------\
[mm& [
[@dno.3cceleration for a [
[ specific IM0e&ten- [
[ sion [
[sse [
[sse7 [
\---------------------------------\
--avi(limit N
splitIrotate output 34I file after N MB "7*AO$8
--avi(comments 2
Read 34I header comments from file 2 "off$8
Bhe 34I file format supports so-called tom#-stone
data8 It can #e used to .rite annotations into the
34I file8
ee the file docsIavi(comments8t&t for a sample
input file .ith all ta-s8 >hen the file is read'
empt) lines and lines startin- .ith ScS are
i-nored8Bhe s)nta& isR QB3<VspaceWBRIN<Q8 El
order of the ta-s does not matter8 If a ta- has no
strin- follo.in- it' it is i-nored8 Bhat means' )ou
can use the file docsIavi(comments8t&t as input and
onl) fill out the fields )ou .ant8
3 ver) simple e&ample isR
ddd snip ddd
IN3M M) 6st Birthda)
IB5 M) first steps]
I3RB M) proud famil)
ddd snip ddd
;eep in mind that there is no endless space in the
34I header' most li1el) its around 6*** #)tes8
--:oom(filter strin-
use filter strin- for video resamplin- -9 "Lanc-
:os@$
Bhe follo.in- filters are availa#leR
Bell
Bo&
Lanc:os@ EdefaultF
Mitchell
%ermite
B(spline
Brian-le
--cluster(percenta-e
use percenta-e mode for cluster encodin- -> "off$
--cluster(chun1s a-#
process chun1 ran-e instead of selected chun1 "off$
--e&port(asr /
set e&port aspect ratio code / "as input$
4alid codes for / are
6 6R6
7 AR@
@ 6PRT
A 7876R6
--e&port(prof
elect an e&port profile evcd' svcd' dvdf "none$
If )ou set this meta option to one of the values
#elo.' transcode .ill adjust some internal para-
maters as .ell as -eometr) and clippin-8 If no
e&port modules are specified' mpe-7enc for video
and mp7enc for audio are used .hen compiled .ith
mjpe-tools support8
4alid values for are vcd' vcd-pal' vcd-ntsc'
svcd' svcd-pal' svcd-ntsc' dvd' dvd-pal and dvd-
ntsc8
>hen one of the a#ove is used' transcode .ill cal-
culate the needed clippin- and resi:in- values for
)ou #ased on the import and e&port aspect ratio8
Bhis is especiall) hand) if )ou .ant to encodea
6PRT 040 into a AR@ 4/0 for e&ample8 Branscode
internall) then sets --pre(clip to add the #lac1
#ars EQletter#o&in-QF8
If )ou use QvcdQ instead of Qvcd-palQ or Qvcd-
ntscQ' transcode .ill ma1e an educated -uess if !3L
or NB/ vcd is .anted8 Bhe same is true for QsvcdQ
and QdvdQ8 >hen the input file has no aspect ratio
information at all' transcode -uesses it #ased on
the import frame si:es8 =ou can set the import
aspect ratio #) -ivin- --import(asr /O0E8
E&amples Eassume input is a 6PRT coded file at
U7*&DUP E!3LFFR
--e&port(prof svcd clip topI#ot -TPL resi:es to AO*&DUP
--e&port(prof vcd-ntsc clip topI#ot -TPL resi:es to @D7&7A*
Bhis ena#les simpilified commandlines .here
transcode tries to set sensi#le values for mpe-
e&port8 >hen )ou donSt specif) an e&port module
.ith -)' mpe-7enc .ill #e used8
transcode -i vo#I -4 --e&port(prof svcd -9 fast -o test
Bhe ffmpe- e&port module Y-) ffmpe-S does support
profiles as .ell8 Bhe module tries to #e smart and
sets internal ffmpe- parameters .hich are other.ise
+uite tric1) to find out8 Usa-e is similar to the
a#ove
transcode -i vo#I -4 --e&port(prof dvd -) ffmpe- -o test -m test8ac@
tcmple& -m d -i test8m7v -p test8ac@ -o test8mp-
--e&port(par /"'N$
set e&port pi&el aspect ratio to /"'N$
Bo encode anamorphic material' transcode can encode
the tar-et pi&el aspect ratio into the file8 Este
is NOB the actual aspect ratio of the ima-e' #ut
onl) the amount #) .hich ever) sin-le pi&el is
stretched .hen pla)ed .ith an aspect ratio a.are
application' li1e mpla)er8
Bo encode at non standard aspect ratios' set #oth /
and N E8-8 to ma1e ever) pi&el t.ice as hi-h as
itSs .ide Ee8-8 to scale #ac1 to normal si:e after
deinterlacin- #) droppin- ever) second lineF8
If / and N are specified' the value set for / does
-ive the pi&el aspect ratio of the .idth and N the
one forthe hei-ht If onl) / is specified' the
ta#le #elo. applies8
4alid codes for / are
6 6R6 No stretchin-
7 67R66 DRA ima-e to AR@ Ee&R U7*&DUP -W UPO&DUPF
@ 6*R66 @R7 ima-e to AR@ Ee&R U7*&AO* -W PA*&AO*F
A 6PR66 DRA ima-e to 6PRT Ee&R U7*&DUP -W 6*7A&DUPF
D A*R@@ @R7 ima-e to 6PRT Ee&R U7*&AO* -W OU7&AO*F
--import(asr /
set import aspect ratio code / "autopro#ed$
4alid codes for / are
6 6R6
7 AR@
@ 6PRT
A 7876R6
--e&t vid'aud
Use these file e&tensions "8avi'8mp@$
>hen this option is not -iven' transcode .ill use a
file e&tension dependend on the e&port module8 para
the mpe- e&port modules this is Q8m7vQ resp Q8m6vQ
and Q8mpaQ for audio8
Bo clean up this mess' the option --e&t .as intro-
duced .ithout #rea1in- e&isin- #ehaviour8 Use --e&t
none'none to disa#le filename e&tension8
--1eep(asr
tr) to 1eep aspect ratio Eonl) .ith -9F "off$
Bhe --1eep(asr options chan-es the meanin- of -98
It tries to fit the video into a framesi:e speci-
fied #) -9 #) 1eepin- the ori-inal aspect ratio8
\
\ \---AO*
\
[ [ [ #lac1 [
[U7*&@*P X 78@DR6[ -W -9 AO*&AO* --1eep(asr -W[
A
[ [ [ AO*&7*A O
\
\ [
*
[ #lac1 [
\
\
/onsider --1eep(asr a .rapper for calculatin- -=
options and -9 options
--div&(+uant min'ma&
div& encoder minIma& +uanti:er "7'@6$
--div&(rc p'rp'rr
div& encoder rate control parameter "7***'6*'7*$
--div&(v#v(prof N
div&D encoder 4B4 profile E*Xfree-DXhi+h+F "@$
ets a predefined profile for the 4ideo Bitrate
4erifier8 If N is set to :ero' no profile is
applied and the user specified values from
--div&(v#v are used8
4alid profiles
* 2reeINo profile E Use supplied values F
6 %andheld E @7*' 6P' @*U7 F
7 !orta#le E 6T7*' PA' 677OO F
@ %ome Bheatre E 6****' 6T7' @POPA F
A %i-h 0efinition E 7****' @OA' U@U7O F
--div&(v#v #r's:'oc
div&D encoder 4B4 params E#itrate'si:e'occup8F
"6****'6T7'@POPA$
Bhese parameters are normall) set throu-h the pro-
file parameter --div&(v#v(prof8 No te metas con
theses value unless )ou are a#solutel) sure of .hat
)ou are doin-8 Branscode internall) multiplicates
v#v(#itrate .ith A**' v#v(si:e .ith 6P@OA and
v#v(occupanc) .ith PA to ensure the supplied values
are multiples of .hat the encoder li#rar) .ants8
--e&port(fps rate"'frc$
set e&port frame rate Eand codeF "as input$84alid
values for frc are
frc rate
\
6 [ 7@8TUP E7A***I6**68*F
7 [ 7A
@ [ 7D
A [ 7T8TU* E@****I6**68*F
D [ @*
P [ D*
U [ DT8TA* E7 N 7T8TU*F
O [ P*
T [ 6
6* [ D
66 [ 6*
67 [ 67
6@ [ 6D
--e&port(frc 2
set e&port frame rate code 2 "as input$
o#solete' use --e&port(fps *'2
--hard(fps
disa#le smooth droppin- Efor varia#le fps clipsF
"off$
see IdocsIframerate8t&t for more information8
--u)v) use U=4= EAR7R7F as internal video codec "off$
Bhis is an e&perimental feature and a developers
pla)-round8 Not man) import' e&port and filter mod-
ules support this colorspace8 3 AR7R7 colorspace
offers much more +ualit) than the consumer oriented
AR7R* colorspaces li1e =467IIA7*8 Most e+uipment
in film and video post-production uses U=4=8 U=4=
dou#les the precision for chroma Ecolor differenceF
information in the ima-e8
3ll internal transformations are supported in U=4=
mode Eclippin-' flippin-' :oomin-' etcF8
--import(vAl n"'id$
channel num#er and station num#er or name "*$
--record(vAl a-#
recordin- time interval in seconds "off$
o#solete' use -c a-#8
--duration hhRmmRss
limit vAl recordin- to this duration "off$
o#solete' use -c *-hhRmmRss8
--pulldo.n
set M!E< @R7 pulldo.n fla-s on e&port "off$
--antialias(para .'#
center pi&el .ei-ht' &)-#ias "*8@@@'*8D**$
--no(audio(adjust
disa#le internal audio frame sample adjustment
"off$
--no(#itreservoir
disa#le lame #itreservoir for M!@ encodin- "off$
--confi-(dir dir
3ssume confi- files are in this dir
Bhis onl) affects the -) ffmpe- and all -) &vid7@A
modules8 It -ives the path .here the modules search
for their confi-uration8
--lame(preset name"'fast$
use lame preset .ith name8 "off$
Lame features some #uilt-in presets8 Bhose presets
are desi-ned to provide the hi-hest possi#le +ual-
it)8 Bhe) have for the most part #een su#ject to
and tuned via ri-orous listenin- tests to verif)
and achieve this o#jective8 Bhese are continuall)
updated to coincide .ith the latest developments
that occur and as a result should provide )ou .ith
nearl) the #est +ualit)currentl) possi#le from
L3ME8
3n) of those 4BR presets can also #e used in fast
mode' usin- the ne. v#r al-orithm8 Bhis mode is
faster' #ut its +ualit) could #e a little lo.er8 para
ena#le the fast mode' append Q'fastQ
VN 1#psW Usin- this preset .ill usuall) -ive
)ou -ood +ualit) at a specified
#itrate8 0ependin- on the #itrate
entered' this preset .ill determine
the optimal settin-s for that particu-
lar situation8 >hile this approach
.or1s' it is not nearl) as fle&i#le as
4BR' and usuall) .ill not reach the
same +ualit) level as 4BR at hi-her
#itrates8 3BR8
medium Bhis preset should provide near trans-
parenc) to most people on most music8
Bhe resultin- #itrate should #e in the
6D*-6O*1#ps ran-e' accordin- to music
comple&it)8 4BR8
standard Bhis preset should -enerall) #e trans-
parent to most people on most music
and is alread) +uite hi-h in +ualit)8
Bhe resultin- #itrate should #e in the
6U*-76*1#ps ran-e' accordin- to music
comple&it)8 4BR8
e&treme If )ou have e&tremel) -ood hearin- and
similar e+uipment' this preset .ill
provide sli-htl) hi-her +ualit) than
the QstandardQ mode8 Bhe resultin-
#itrate should #e in the 7**-7A*1#ps
ran-e' accordin- to music comple&it)8
4BR8
insane Bhis preset .ill usuall) #e over1ill
for most people and most situations'
#ut if )ou must have the a#solute
hi-hest +ualit) .ith no re-ard to
filesi:e' this is the .a) to -o8 Este
preset is the hi-hest preset +ualit)
availa#le8 @7*1#ps /BR8
Eta1en from httpRII...8mp@dev8or-Imp@IdocIhtmlIpre-
sets8htmlF
--av(fine(ms t
34 fine-tunin- shift t in millisecs "autodetect$
also see -08
--nav(see1 file
use 4OB or 34I navi-ation file "off$8
<enerate a nav file .ith tcdemu& -> Wnav(lo- for
4OB files or .ith aviinde&E6F for 34I files8
--psu(mode
process 4OB in !U' -o is a filemas1 incl8 ^d
"off$8 !U means !ro-ram tream Unit and this mode
is useful for Emostl)F NB/ 040s .hich have several
pro-ram stream units8
--psu(chun1s a-#
process onl) selected units a-# for !U mode "all$
--no(split
encode to sin-le file in chapterIpsuIdirector) mode
"off$
If )ou donSt -ive this option' )ouSll end up .ith
several files in one of the a#ove mentioned modes8
It is still possi#le to mer-e them .ith
avimer-eE6F8
--pre(clip t"'l"'#"'r$$$
select initial frame re-ion #) clippin- #order
"off$
--post(clip t"'l"'#"'r$$$
select final frame re-ion #) clippin- #order "off$
--aD7(drc(off
disa#le li#aD7 d)namic ran-e compression "ena#led$
If )ou dont specif) this option' li#aD7 .ill pro-
vide the default #ehaviour' .hich is to appl) the
full d)namic ran-e compression as specified in the
3ID7 stream8 Bhis #asicall) ma1es the loud sounds
softer' and the soft sounds louder' so )ou can more
easil) listen to the stream in a nois) environment
.ithout distur#in- an)one8
If )ou let it ena#led this this .ill totall) dis-
a#le the d)namic ran-e compression and provide a
pla)#ac1 more adapted to a movie theater or a lis-
tenin- room8
--aD7(demu&
demu& 3/@I3D7 to separate channels "off$
--aD7(dol#)(off
disa#le li#aD7 dol#) surround "ena#led$
selects .hether the output is plain stereo Eif the
option is setF or if it is 0ol#) !ro Lo-ic - also
called 0ol#) surround or @R6 - do.nmi& Eif the
option is not usedF8
--dir(mode #ase
process director) contents to #ase-^*@d8avi "off$
--frame(interval N
select onl) ever) Nth frame to #e e&ported "6$
--encode(fields /
ena#le field #ased encodin- Eif supportedF "off$
Bhis option ta1es an ar-ument if -iven to denote
the order of fields8 If the option is not -iven' it
defaults to pro-ressive Edo not assume the picture
is interlacedF
4alid codes for / areR
p pro-ressive EdefaultF
t top-field first
# #ottom-field first
--dv()u)7(mode
decoded 0i-ital 4ideo Era.F =U4 frame is in =U=7
Epac1etF format usin- li#dv8 0o.nsample frame to
=4678 !3L users should compile li#dv .ith --.ith-
pal-)uvX=467 to avoid this option "off$
--.rite(pid file
.rite pid of si-nal thread to file "off$ Ena#les
)ou to terminate transcode cleanl) #) sendin- a
I<INB E7F to the pid in file8 !lease note file
.ill #e over.ritten8 Usa-e e&ample
g transcode 888 --.rite(pid ItmpItranscode8pid h
g 1ill -7 Ycat ItmpItranscode8pidY
--nice N
set niceness to N "off$
Bhe option --nice .hich renices transcode to the
-iven positive or ne-ative value8 -6* sets a hi-h
priorit)L \6* a lo. priorit)8 Bhis mi-ht #e useful
for cluster mode8
--pro-ress(off
disa#le pro-ress meter status line "off$
--color N
level of color in transcodes output "6$
/olorful output can #e disa#led #) settin- N to *8
It .ill #e automaticall) disa#led if the output of
transcode is a file or a pipe8
--print(status N"'usecr$
print status ever) N frames I use /R or NL "6'6$
Bhe first parameter controls ho. fre+uentl) the
status messa-e is printed Eever) N framesF' the
second parameter Eif providedF controls .hether
transcode ends the line .ith a /R ESirSF or NL
ESinSF character8 Branscode defaults to endin-
.ith a /R if its output is -oin- to a terminal' or
a L2 if its output is -oin- to some.here else Esuch
as a lo-fileF' so most people shouldnSt have an)
need tospecif)the second parameter since it
should do the ri-ht thin- most of the time8
--soc1et 2ILE
Open a soc1et to accept commands .hile runnin-8 ver
tcmodinfoE6F and IdocsIfilter-soc1et8t&t for more
information a#out the protocol8
--more(help param
more help on named parameter Eif supportedF
2ILBRO
Bhe s)nta& for filter options is simple8 3 filter is spec-
ified .ith
-5 filterXoptionstrin-
Bhe optionstrin- can contain multiple options .hich are
separated #) colons YRS
-5 filterXoption6Roption7Roption@
3n option can have an ar-ument or non E#oolF8 2or options
.ith an ar-ument' the format in .hich the ar-ument has to
#e -iven to the option is specified in a printfE6F li1e
strin-8 Bhe most common case is Y^dS .hich simpl) means a
nKmero8Bhe ar-ument has to #e seperated from the option
#) a YXS8
-5 filterX#ool6Roption6X6DRoption7X7*&@*
Most filters tr) to do the ri-ht thin- .ith the default
opciones8=ou should pla) .ith various parameters if )ou
are not satisfied .ith the default #ehaviour8 i usted tiene
no idea .hat a filter does' its ver) li1el) that )ou donSt
need it8
If a filter ta1es Efor e-8F a filename as an ar-ument'
ma1e sure that the filename does not contain a YRS or a
YXS8 Its a limitation of the parser8 3 comma Y'S is possi-
#le #ut must #e e&tra +uoted8 2or the te&t filter that is
-5 te&tXstrin-XQ%elloi' >orldQ
7Tto7@ - frame rate conversion filter Einterpolatin- 7T to
7@F
7Tto7@ .as .ritten #) Ma& 3le1se)ev' Bilmann Bitter-
#er-8 Bhe version documented here is v*8@
E7**@-*U-6OF8 Bhis is a video filter8 It can handle
R<B and =U4 mode8 It is a pre-processin- onl) filter8
@7detect - @R7 pulldo.n I interlace detection plu-in
@7detect .as .ritten #) Bhomas8 Bhe version documented
here is v*878A E7**@-*U-77F8 Bhis is a video filter8
It can handle R<B and =U4 mode8 It supports multiple
instances and can run as a pre-processin- andIor as a
post-processin- filter8
o threshold X ^d "default T$
Interlace detection threshold
o chromathres X ^d "default A$
Interlace detection chroma threshold
o e+ual X ^d "default 6*$
threshold for e+ual colors
o chromae+ X ^d "default D$
threshold for e+ual chroma
o diff X ^d "default @*$
threshold for different colors
o chromadi X ^d "default 6D$
threshold for different chroma
o force(mode X ^d "default *$
set internal force de-interlace fla- .ith mode -I N
o pre X ^d "default 6$
run as pre filter
o ver#ose E#oolF
sho. results
Bhis filter chec1s for interlaced video frames8
u#se+uent de-interlacin- .ith transcode can #e
enforced .ith Sforce(modeS option
@7drop - @R7 inverse telecine removal plu-in
@7drop .as .ritten#) Bhomas Oestreich8 Bhe version
documented here is v*8A E7**@-*7-*6F8 Bhis is a video
filter8 It can handle R<B and =U4 mode8 It is a pre-
processin- onl) filter8
aclip - -enerate audio clips from source
aclip .as .ritten #) Bhomas Oestreich8 Bhe version
documented here is v*8686 E7**@-*T-*AF8 Esta es una
audio filter8 It is a pre-processin- onl) filter8
o level X ^d "default 6*$
Bhe audio must #e under this level to #e s1ipped
o ran-e X ^d "default 7D$
Num#er of samples over level .ill #e 1e)frames
astat - audio statistics filter plu-in
astat .as .ritten #) Bhomas Oestreich8 Bhe version
documented here is v*868@ E7**@-*T-*AF8 Esta es una
audio filter8 It is a pre-processin- onl) filter8
o file X ^s
2ile to save the calculated volume rescale num#er
to
compare - compare .ith other ima-e to find a pattern
compare .as .ritten #) 3ntonio Beamud8 Bhe version
documented here is v*8687 E7**@-*O-7TF8 Bhis is a
video filter8 It can handle R<B and =U4 mode8 It sup-
ports multiple instances8 It is a post-processin- onl)
filter8
o pattern X ^s
!attern ima-e file path
o results X ^s
Results file path
o delta X ^f "default AD8******$
0elta error
<enerate a file in .ith information a#out the
times' frame' etc the pattern defined in the
ima-e parameter is o#served8
control - appl) a filter control list
control .as .ritten #) Bilmann Bitter#er-8 Bhe version
documented here is v*8*86 E7**@-66-7TF8 Bhis is a
video filter8It can handle R<B and =U4 mode8 Es un
pre-processin- onl) filter8
o file X ^s
read commands to appl) from file8
o ofile X ^s
.rite output of commands to output file
Bhe format of the command file is framenum#er
follo.ed #) at least one .hitespace follo.ed #)
the command follo.ed #) at least one .hitespace
follo.ed #) ar-uments for the command8 Empt)
lines and lines startin- .ith a YcS are
i-nored8 Bhe frame num#ers must #e sorted
ascendin-8
c E&ample file
c 3t frame 6* load the smooth filter
6* load smooth
c reconfi-ure at 7*
7* confi-ure smoothXstren-thX*8T
TT disa#le smooth
cpaudio - cop) one audio channel to the other channel fil-
ter plu-in
cpaudio .as .ritten #) >illiam % >itti-8 Bhe version
documented here is v*86 E7**@-*A-@*F8 Bhis is a audio
filter8 It is a post-processin- onl) filter8
o source X ^c "default l$
ource channel ElXleft' rXri-htF
/opies audio from one channel to another
cshift - chroma-la- shifter
cshift .as .ritten #) Bhomas Ostreich' /had !a-e8 El
version documented here is v*8786 E7**@-*6-76F8 Este
is a video filter8It can handle R<B and =U4 mode8 Es
is a pre-processin- onl) filter8
o shift X ^d "default 6$
hift chromaEcolorF to the left
cut - encode onl) listed frames
cut .as .ritten #) Bhomas Oestreich8 Bhe version docu-
mented here is v*868* E7**@-*D-*@F8 Bhis is a video
and audio filter8 It is a pre-processin- onl) filter8
o %%RMMR8f-%%RMMR8fIstep X ^s
appl) filter "start-end$ frames "*-ooI6$
decimate - NB/ decimation plu-in
decimate .as .ritten #) Bhanassis Bsiodras8 Bhe ver-
sion documented here is v*8A E7**@-*A-77F8 Esta es una
video filter8 It can handle =U4 mode onl)8 It is a
post-processin- onl) filter8
o ver#ose E#oolF
print ver#ose information
see IdocsIRE30ME8Inverse8Belecine8t&t
denoise@d - %i-h speed @0 0enoiser
denoise@d .as .ritten #) 0aniel Moreno h 3Srpi8 El
version documented here is v68*8@ E7**@-66-*OF8 Este
is a video filter8It can handle =U4 mode onl)8 Es
supports multiple instances8 It can #e used as a pre-
processin- or as a post-processin- filter8
o luma X ^f "default A8******$
spatial luma stren-th
o chroma X ^f "default @8******$
spatial chroma stren-th
o luma(stren-th X ^f "default P8******$
temporal luma stren-th
o chroma(stren-th X ^f "default O8******$
temporal chroma stren-th
o pre X ^d "default *$
run as a pre filter
>hatR Bhe denoise@d filter from mpla)er Esi#-
lin- of h+dn@dF8 >or1s ver) crude and simple
#ut also ver) fast8 In fact it is even faster
than the ori-inal from mpla)er as I mana-ed to
t.ea1 some thin-s Ea8o8 :ero frame cop)in-F8
>hoR Ever)one .ho .ants to have their captured
frames thorou-hl) denoised Ei8e8 .ho .ant to
encode to mpe- or mjpe-F #ut do not have enou-h
processin- po.er to real-time encode3N0 use
h+dn@d E#etter +ualit) #ut a lot slo.erF or dnr
E)et slo.erF' not to mention the other denois-
ers that are even slo.er8 ?ualit) is reall)
-ood for static scenes Eif fed .ith the ri-ht
parametersF' movin- o#jects ma) sho. a little
-host-ima-e Ealso depends on parametersF
thou-h8 =our mila-e ma) var)8
%o.R !arameters are the same as the h+dn@d mod-
ule' althou-h in practice )ouSll not end up
.ith e&actl) the same values8 5ust e&periment8
!articular for this version of the filter is
that if )ou suppl) -6 to either componentSs
parameters ElumaIchromaF' that component .ill
not have the filter applied to8 If )ouSre still
short on /!U c)cles' tr) disa#lin- the luma
filter' this .ill not ma1e much difference in
the effectiveness of the filter]
detectsilence - audio silence detection .ith tcmp@cut com-
mandline -eneration
detectsilence .as .ritten #) Bilmann Bitter#er-8 El
version documented here is v*8*86 E7**@-*U-7PF8 Este
is a audio filter8 It is a pre-processin- onl) filter8
detectclippin- - detect clippin- parameters E-j or -=F
detectclippin- .as .ritten#) Bilmann Bitter#er-'
3Srpi8 Bhe versiondocumented here is v*868*
E7**@-66-*6F8 Bhis is a video filter8 It can handle
R<B and =U4 mode8 It can #e used as a pre-processin-
or as a post-processin- filter8
o ran-e X ^u-^uI^d "default *-A7TATPU7TDI6$
appl) filter to "start-end$Istep frames
o limit X ^d "default 7A$
the sum of a line must #e #elo. this limit to #e
considered as #lac1
o post E#oolF
run as a !OB filter Ecalc -= instead of the
default -jF
0etect #lac1 re-ions on top' #ottom' left and
ri-ht of an ima-e8 It is su--ested that the
filter is run for around 6** frames8 va a
print its detected parameters ever) frame8 i
)ou donSt notice an) chan-e in the printout for
a .hile' the filter pro#a#l) .onSt find an)
other values8 Bhe filter conver-es' meanin- it
.ill learn8
dil)uvmm& - )uv de-interlace filter plu-in
dil)uvmm& .as .ritten #) Bhomas Oestreich8 Bhe version
documented here is v*8686 E7**7-*7-76F8 Esta es una
video filter8 It can handle =U4 mode onl)8 It is a
pre-processin- onl) filter8
div&1e) - chec1 for 0ivX A8&& I Open0ivX I 0ivXL-F
1e)frame
div&1e) .as .ritten #) Bhomas Oestreich8 Bhe version
documented here is v*86 E7**7-*6-6DF8 Bhis is a video
filter8 It is a pre-processin- onl) filter8
dnr - d)namic noise reduction
dnr .as .ritten #) <erhard Mon:el8 Bhe version docu-
mented here is v*87 E7**@-*6-76F8 Bhis is a video fil-
ter8 It can handle R<B and =U4 mode8 It is a post-pro-
cessin- onl) filter8
o lt X ^d "default 6*$
Bhreshold to #lend lumaIred
o ll X ^d "default A$
Bhreshold to loc1 lumaIred
o ct X ^d "default 6P$
Bhreshold to #lend cromaI-reen\#lue
o cl X ^d "default O$
Bhreshold to loc1 cromaI-reen\#lue
o sc X ^d "default @*$
!ercenta-e of picture difference Escene chan-eF
see IdocsIfilter(dnr8t&t E-erman onl)F
dou#lefps - dou#le frame rate #) creatin- frames from
campos
dou#lefps .as .ritten #) Bilmann Bitter#er-8 Bhe ver-
sion documented here is v*87 E7**@-*P-7@F8 Esta es una
video filter8 It can handle R<B and =U4 mode8 It is a
post-processin- onl) filter8
o shiftEven X ^d "default *$
3ssume even field dominance
e&tsu# - 040 su#title overla) plu-in
e&tsu# .as .ritten#) Bhomas Oestreich8 Bhe version
documented here is *8@8D E7**@-6*-6DF8 Este es un video
filter8It can handle R<B and =U4 mode8 e puede utili:ar
as a pre-processin- or as a post-processin- filter8
o trac1 X ^d "default *$
u#title trac1 to render
o vertshift X ^d "default *$
offset of su#title .ith respect to #ottom of frame
in ro.s
o timeshift X ^d "default *$
-lo#al displa) start time correction in msec
o antialias X ^d "default 6$
anti-aliasin- the rendered te&t E*Xoff'6XonF
o pre X ^d "default 6$
Run as a pre filter
o color6 X ^d "default *$
Ma1e a su#title color visi#le .ith -iven intensit)
o color7 X ^d "default *$
Ma1e a su#title color visi#le .ith -iven intensit)
o ca X ^d "default *$
huffle the color assi-nment #) choosin- another
su#title color
o c# X ^d "default *$
huffle the color assi-nment #) choosin- another
su#title color
fields - 2ield adjustment plu-in
fields .as .ritten #) 3le& te.art8 Bhe version docu-
mented here is v*8686 E7**@-*6-76F8 Bhis is a video
filter8 It can handle R<B and =U4 mode8 It is a pre-
processin- onl) filter8
o flip E#oolF
E&chan-e the top field and #ottom field of each
frame
o shift E#oolF
hift the video #) one field
o flip(first E#oolF
Normall) shiftin- is performed #efore flippin-'
this option reverses that
Bhe SfieldsS filter is desi-ned to shift'
reorder' and -enerall) rearran-e independent
fields of an interlaced video input8 entrada
retrieved from #roadcast E!3L' NB/' etcF video
sources -enerall) comes in an interlaced form
.here each pass from top to #ottom of the
screen displa)s ever) other scanline' and then
the ne&t pass displa)s the lines #et.een the
lines from the first pass8 Each pass is 1no.n
as a QfieldQ Ethere are -enerall) t.o fields
per frameF8 >hen this form of video is cap-
tured and manipulated di-itall)' the t.o fields
of each frame are usuall) mer-ed to-ether into
one flat EplanarF ima-e per frame8 Bhis usu-
all) produces reasona#le results' ho.ever there
are conditions .hich can cause this mer-in- to
#e performed incorrectl) or less-than-opti-
mall)' .hich is .here this filter can help8
Bhe follo.in- options are supported for this
filter Ethe) can #e separated #) colonsFR
shift - hift the video #) one field Ehalf a
frameF'
chan-in- frame #oundaries appropri-
atel)8 esto es
useful if a video capture started
-ra##in- video
half a frame Eone fieldF off from
.here frame
#oundaries .ere actuall) intended to
#e8
flip - E&chan-e the top field and #ottom
field of each
frame8 Bhis can #e useful if the
video si-nal .as
sent Q#ottom field firstQ E.hich can
happen
sometimes .ith !3L video sourcesF or
other
oddities occurred .hich caused the
frame
#oundaries to #e at the ri-ht place'
#ut the
scanlines to #e s.apped8
flip(first
- Normall) shiftin- is performed #efore
flippin- if
#oth are specified8 Bhis option
reverses that
#ehavior8 =ou should not normall)
need to use
this unless )ou have some e&tremel)
odd input
material' it is here mainl) for com-
pleteness8
help - !rint this te&t8
NoteR the SshiftS function ma) produce sli-ht
color discrepancies if =467 is used as the
internal transcode video format E-4 fla-F8
Bhis is #ecause =467 does not contain enou-h
information to do field shiftin- cleanl)8 para
#est E#ut slo.erF results' use R<B mode for
field shiftin-8
fps - convert video frame rate' -ets defaults from -f and
--e&port(fps
fps .as .ritten #) /hristopher /ramer8 Bhe version
documented here is v*87 E7**@-*O-6*F8 Este es un video
filter8It can handle R<B and =U4 mode8 e puede utili:ar
as a pre-processin- or as a post-processin- filter8
optionsR Vinput fpsWRVoutput fpsW e&ampleR -5
fpsX7DR7T8TU .ill convert from !3L to NB/ If
no optionsare -iven' defaults or
-fI--e&port(fpsI--e&port(frc .ill #e used8
h+dn@d - %i-h ?ualit) @0 0enoiser
h+dn@d .as .ritten #) 0aniel Moreno h 3Srpi8 Bhe ver-
sion documented here is v68*87 E7**@-*O-6DF8 Esta es una
video filter8It can handle =U4 mode onl)8 Es compati#le con
multiple instances8 It can #e used as a pre-processin-
or as a post-processin- filter8
o luma X ^f "default A8******$
spatial luma stren-th
o chroma X ^f "default @8******$
spatial chroma stren-th
o luma(stren-th X ^f "default P8******$
temporal luma stren-th
o chroma(stren-th X ^f "default A8D*****$
temporal chroma stren-th
o pre X ^d "default *$
run as a pre filter
Bhis filter aims to reduce ima-e noise produc-
in- smooth ima-es and ma1in- still ima-es
reall) still EBhis should enhance compressi#il-
it)F8
invert - invert the ima-e
invert .as .ritten #) Bilmann Bitter#er-8 Bhe version
documented here is v*868A E7**@-6*-67F8 Bhis is a
video filter8 It can handle R<B'=U4 and =U4A77 mode8
It is a post-processin- onl) filter8
o ran-e X ^u-^uI^d "default *-A7TATPU7TDI6$
appl) filter to "start-end$Istep frames
ivtc - NB/ inverse telecine plu-in
ivtc .as .ritten #) Bhanassis Bsiodras8 Bhe version
documented here is v*8A86 E7**A-*P-*6F8 Esta es una
video filter8 It can handle =U4 mode onl)8 It is a
pre-processin- onl) filter8
o ver#ose E#oolF
print ver#ose information
o field X ^d "default *$
.hich field to replace E*Xtop 6X#ottomF
o ma-ic X ^d "default *$
perform ma-icj E*Xno 6X)esF
see IdocsIRE30ME8Inverse8Belecine8t&t
lo-o - render ima-e in videostream
lo-o .as .ritten #) Bilmann Bitter#er-8 Bhe version
documented here is v*8T E7**@-*A-*TF8 Bhis is a video
filter8 It can handle R<B and =U4 mode8 It is a post-
processin- onl) filter8
o file X ^s
Ima-e filename
o posdef X ^d "default *$
!osition E*XNone' 6XBopL' 7XBopR' @XBotL' AXBotR'
DX/enterF
o pos X ^d&^d "default *&*$
!osition E*-.idth & *-hei-htF
o ran-e X ^u-^u "default *-*$
Restrict renderin- to frameran-e
o i-noredela) E#oolF
I-nore dela) specified in animations
o r-#s.ap E#oolF
.ap redI#lue colors
o -ra)out E#oolF
=U4 onl)R donSt .rite /# and/r' ma1es a nice
effect
o flip E#oolF
Mirror ima-e
Bhis filter renders an user specified ima-e
into the video8 3n) ima-e format Ima-eMa-ic1
can read is accepted8 Bransparent ima-es are
also supported8 Ima-e ori-in is at the ver)
top left8
see IdocsIfilter(lo-o8t&t
lo-oa.a) - remove an ima-e from the video
lo-oa.a) .as .ritten#) Bhomas >ehrspann
Vthomasb.ehrspann8deW8 Bhe version documented here is
v*8A E7**@-*T-*@F8 Bhis is a video filter8 It can han-
dle R<B and =U4 mode8 It is a post-processin- onl)
filter8 It supports multiple instances8
o ran-e X ^d-^d "default *-A7TATPU7TD$
2rame Ran-e
o pos X ^d&^d "default *&*$
!osition of lo-o
o si:e X ^d&^d "default 6*&6*$
i:e of lo-o
o mode X ^d "default *$
2ilter Mode E*Xnone'6Xsolid'7X&)'@XshapeF
o #order E#oolF
4isi#le Border
o &.ei-ht X ^d "default D*$
X-= >ei-htE*^-6**^F
o fill X ^7&^7&^7& "default ***$
olid 2ill /olorER<BF
o file X ^s
Ima-e .ith alphaIshape information
Bhis filter removes an ima-e in a user speci-
fied area from the video8 =ou can choose from
different methods8
see IdocsIfilter(lo-oa.a)8t&t
lo.pass - %i-h and lo. pass filter
lo.pass .as .ritten #) Bilmann Bitter#er-8 Bhe version
documented here is v*868* E7**7-*7-7PF8 Esta es una
audio filter8 It is a pre-processin- onl) filter8
o taps X ^d "default @*$
stren-th Ema) #e ne-ativeF
mas1 - 2ilter throu-h a rectan-ular Mas1
mas1 .as .ritten #) Bhomas Ostreich' /had !a-e8 El
version documented here is v*878@ E7**@-6*-67F8 Este
is a video filter8 It can handle R<B'=U4 and =U4A77
mode8 It is a pre-processin- onl) filter8
o lefttop X ^d&^d "default *&*$
Upper left corner of the #o&
o ri-ht#ot X ^d&^d "default @7&@7$
Lo.er ri-ht corner of the #o&
Bhis filter applies an rectan-ular mas1 to the
video8 Ever)thin- outside the mas1 is set to
#lac18
modfps - plu-in to modif) framerate
modfps .as .ritten#) Marr+8 Bhe version documented
here is v*86* E7**@-*O-6OF8Bhis is a video filter8 Es
can handle R<B and =U4 mode8 It is a pre-processin-
onl) filter8
o mode X ^d "default 6$
mode of operation
o infps X ^f "default 7D8******$
Ori-inal fps
o infrc X ^d "default *$
Ori-inal frc
o e&amine X ^d "default D$
%o. man) frames to #uffer
o su#sample X ^d "default @7$
%o. man) pi&els to su#sample
o clonet)pe X ^d "default *$
%o. to clone frames
o ver#ose X ^d "default 6$
run in ver#ose mode
Bhis filter aims to allo. transcode to alter
the fps of video8 >hile one can reduce the fps
to an) amount' one can onl) increase the fps to
at most t.ice the ori-inal fps8
Bhere are t.o modes of operation' #uffered and
un#uffered' un#uffered is +uic1' #ut #uffered'
especiall) .hen droppin- frames should loo1
#etter8
2or most users' modfps .ill need either no
options' or just modeX6
see IdocsIRE30ME8filter8modfps
msharpen - 4irtual0u#Ss Mharpen 2ilter
msharpen .as .ritten #) 0onald <raft' >illiam %a.1ins8
Bhe version documented here is E68*F E7**@-*U-6UF8
Bhis is a video filter8 It can handle R<B and =U4
mode8 It is a post-processin- onl) filter8
o stren-th X ^d "default 6**$
%o. much of the effect
o threshold X ^d "default 6*$
%o. close a pi&el must #e to the #ri-htest or
dimmest pi&el to #e mapped
o hi-h+ X ^d "default 6$
Bradeoff speed for +ualit) of detail detection
o mas1 X ^d "default *$
3reas to #e sharpened are sho.n in .hite
Bhis plu-in implements an unusual concept in
spatial sharpenin-8 3lthou-h desi-ned specifi-
call) for anime' it also .or1s .ell .ith normal
video8 Bhe filter is ver) effective at sharpen-
in- important ed-es .ithout amplif)in- noise8
N tren-th Sstren-thS E*-7DDF "6**$
Bhis is the stren-th of the sharpenin- to
#e applied to the ed-e detail areas8 es
applied onl) to the ed-e detail areas as deter-
mined #) the SthresholdS parameter8 2uer:a
7DD is the stron-est sharpenin-8
N Bhreshold SthresholdS E*-7DDF "6*$
Bhis parameter determines .hat is detected
as ed-e detail and thus sharpened8 Bo see .hat
ed-e detail areas .ill #e sharpened' use the
Smas1S parameter8
N Mas1 Smas1S E*-6F "*$
>hen set to true' the areas to #e sharpened
are sho.n in .hite a-ainst a #lac1 #ac1-round8
Use this to set the level of detail to #e
sharpened8 Bhis function also ma1es a #asic
ed-e detection filter8
N %i-h? Shi-h+S E*-6F "6$
Bhis parameter lets )ou tradeoff speed for
+ualit) of detail detection8 et it to true for
the #est detail detection8 et it to false for
ma&imum speed8
nored - nored the ima-e
nored .as .ritten #) Bilmann Bitter#er-8 Bhe version
documented here is v*868@ E7**@-*6-7PF8 Bhis is a
video filter8It can handle =U4 mode onl)8 Es un
pre-processin- onl) filter8
o ran-e X ^u-^uI^d "default *&A7TATPU7TDI6$
appl) filter to "start-end$Istep frames
o su#st X ^d "default 7$
su#stract N red from /r
normali:e - 4olume normali:er
normali:e .as .ritten #) pl' Bilmann Bitter#er-8 El
version documented here is v*8686 E7**7-*P-6OF8 Este
is a audio filter8 It is a pre-processin- onl) filter8
o smooth X ^f "default *8*P$
4alue for smoothin- $*8* 68*"
o smoothlast X ^f "default *8*P$
4alue for smoothin- last sample $*8*' 68*"
o al-o X ^d "default 6$
3l-orithm to use E6 or 7F8 6Xuses a 6 value memor)
and coefficients ne.XaNold\#Ncur E.ith a\#X6F8
7Xuses several samples to smooth the variations
Estandard .ei-hted mean on past samplesF
null - demo filter plu-inL no hace nada
null .as .ritten #) Bhomas Oestreich8 Bhe version doc-
umented here is v*87 E7**@-*T-*AF8 Bhis is a video and
audio filter8 It can #e used as a pre-processin- or as
a post-processin- filter8
pp - Mpla)ers postprocess filters
pp .as .ritten #) Michael Niederma)er et al' <erhard
Mon:el8 Bhe version documented here is v6878A
E7**@-*6-7AF8 Bhis is a video filter8 It can handle
=U4 mode onl)8 It supports multiple instances8 It can
#e used as a pre-processin- or as a post-processin-
filter8
o h# X ^dR^d "default PARA*$
%ori:ontal de#loc1in- filter
o v# X ^dR^d "default PARA*$
4ertical de#loc1in- filter
o h6 E#oolF
E&perimental h de#loc1 filter 6
o v6 E#oolF
E&perimental v de#loc1 filter 6
o dr E#oolF
0erin-in- filter
o al E#oolF
3utomatic #ri-htness I contrast
o f E#oolF
tretch luminance to E*887DDF
o l# E#oolF
Linear #lend deinterlacer
o li E#oolF
Linear interpolatin- deinterlace
o ci E#oolF
/u#ic interpolatin- deinterlacer
o md E#oolF
Median deinterlacer
o de E#oolF
0efault preset Eh#RaIv#RaIdrRaIalF
o fa E#oolF
2ast preset Eh6RaIv6RaIdrRaIalF
o tn X ^dR^dR^d "default PAR67OR7DP$
Bemporal Noise Reducer E6VX7VX@F
o f+ X ^d "default 6D$
2orce +uanti:er
o pre E#oolF
Run as a !RE filter
previe. - &vIsdlI-t1 previe. plu-in
previe. .as .ritten #) Bhomas Oestreich8 Bhe version
documented here is v*868A E7**7-6*-*OF8 Esta es una
video filter8 It can handle R<B and =U4 mode8 It is a
post-processin- onl) filter8
XXXR >rite me
pv - &v onl) previe. plu-in
pv .as .ritten #) Bhomas Oestreich' Bilmann Bitter-
#er-8 Bhe versiondocumented here is v*878@
E7**A-*P-*6F8 Bhis is a video filter8 It can handle
=U4 and =U4A77 mode8 It is a post-processin- onl) fil-
ter8
o cache X ^d "default 6D$
Num#er of ra. frames to cache for see1in-
o s1ip X ^d "default *$
displa) onl) ever) Nth frame
Bhe filter listens to mouse and 1e) stro1es8 i
)ou clic1 into the previe. .indo.' the first
time sa) near the upper left corner and the
second time near the lo.er ri-ht corner'
transcode .ill dra. a rectan-le and .ill print
out the coordinates of this rectan-le on stdout
and the soc1et8 ee the ta#le #elo. for avail-
a#le 1e)s8
>hen )ou start transcode .ith the --soc1et
option and the pv filter .ith Efor e&ampleF
cacheX7* )ou can tal1 to transcode and the pv
filter at runtime usin- the soc1et8
transcode -i file8avi -4 -5 pvXcacheX@* --soc1et ItmpIsoc1
3vaila#le /ommands
;e) oc1etN Effect
REB dra. Redra.s the ima-e' appl)in- filters8
u undo -oes to ima-e #efore dra.8
!3/E pause pause the previe. Eand transcodeF8
U! fastf. In pause mode' step for.ard D frames8
RI<%B slo.f. In pause mode' step for.ard 6 frame8
0O>N fast#. In pause mode' step #ac1 D frames8
LE2B slo.#. In pause mode' step #ac1 6 frame8
+ displa) Bo--le displa) of frames
s slo.er slo. do.n
f faster speed up
) to--le to--le displa)in- onl) ever) D frames
j -ra# ave a 5!E<
r rotate Rotate 34I file after ne&t 1e)frame
ENF all commands must #e prefi&ed .ith Qprevie.
Q8
resample - audio resamplin- filter plu-in
resample .as .ritten #) Bhomas Oestreich8 Bhe version
documented here is v*868A E7**@-*O-77F8 Esta es una
audio filter8 It is a pre-processin- onl) filter8
s1ip - s1ip all listed frames
s1ip .as .ritten #) Bhomas Oestreich8 Bhe version doc-
umented here is v*8*86 E7**6-66-7UF8 Este es un video
and audio filter8 It is a pre-processin- onl) filter8
o fstart6-fend6 " fstart7-fend7 " 88 $ $ X ^s
appl) filter "start-end$ frames
slo.mo - slo.-motion effect
slo.mo .as .ritten #) Bilmann Bitter#er-8 la versiCn
documented here is v*87 E7**@-*P-7@F8 Bhis is a video
filter8 It can handle R<B and =U4 mode8 It is a pre-
processin- onl) filter8
Bhis filter produces a simple slo.-motion
effect #) duplicatin- certain frames8 ten-o
seen this effect on B4 and despite its the sim-
ple al-orithm it .or1s +uite .ell8 el filtro
has no options8
smart#o# - Motion-adaptive deinterlacin- for dou#le-frame-
rate output8
smart#o# .as .ritten #) 0onald <raft' Bilmann Bitter-
#er-8 Bhe version documented here is v686#eta7
E7**@-*P-7@F8 Bhis is a video filter8 It can handle
R<B and =U4 mode8 It is a post-processin- onl) filter8
o motionOnl) X ^d "default *$
ho. motion areas onl)
o shiftEven X ^d "default *$
Blend instead of interpolate in motion areas
o threshold X ^d "default 67$
Motion Bhreshold
o denoise X ^d "default 6$
!hase shift
Bhis filter onl) ma1es sence .hen fed #) -5
dou#lefps8 It .ill ta1e the field-frames .hich
filter(dou#lefps produces and -enerates full-
si:ed motionadaptive deinterlaced output at
the dou#le import framerate8 If )ou force
readin- the imput file t.ice its actual frames
per second' 3I4 .ill sta) in s)nc Efor !3LFR -f
D* -5 dou#lefpsXshiftEvenX6'smart-
#o#XdenoiseX6RthresholdX67
smartdeinter - 4irtual0u#Ss smart deinterlacer
smartdeinter .as .ritten #) 0onald <raft8 Bhe version
documented here is v78U# E7**@-*7-*6F8 Este es un video
filter8 It can handle R<B and =U4 mode8 It is a pre-
processin- onl) filter8
o motionOnl) X ^d "default *$
ho. motion areas onl)
o Blend X ^d "default *$
Blend instead of interpolate in motion areas
o threshold X ^d "default 6D$
Motion Bhreshold
o scenethreshold X ^d "default 6**$
cene /han-e Bhreshold
o fieldhift X ^d "default *$
!hase shift
o ins.ap X ^d "default *$
2ield s.ap #efore phase shift
o outs.ap X ^d "default *$
2ield s.ap after phase shift
o noMotion X ^d "default *$
0isa#le motion processin-
o hi-h+ X ^d "default *$
Motion map denoisin- for field-onl)
o diffmode X ^d "default *$
Motion 0etection E*Xframe' 6Xfield' 7X#othF
o colordiff X ^d "default 6$
/ompare color channels instead of luma
o cu#ic X ^d "default *$
Use cu#ic for interpolation
Bhis filter provides a smart' motion-#ased
deinterlacin- capa#ilit)8 In static picture
areas' interlacin- artifacts do not appear' so
data from #oth fields is used to provide full
detail8 In movin- areas' deinterlacin- is per-
formed
smart)uv - Motion-adaptive deinterlacin-
smart)uv .as .ritten #) Bilmann Bitter#er-8 Bhe ver-
sion documented here is *868A E7**@-6*-6@F8 Esta es una
video filter8 It can handle =U4 mode onl)8 It is a
pre-processin- onl) filter8
o motionOnl) X ^d "default *$
ho. motion areas onl)' #lac1in- out static areas
o diffmode X ^d "default *$
Motion 0etection E*Xframe' 6Xfield' 7X#othF
o threshold X ^d "default 6A$
Motion Bhreshold ElumaF
o chromathres X ^d "default U$
Motion Bhreshold EchromaF
o scenethres X ^d "default @6$
Bhreshold for detectin- scenechan-es
o hi-h+ X ^d "default 6$
%i-h-?ualit) processin- Emotion Map denoisin-F
o cu#ic X ^d "default 6$
0o cu#ic interpolation
o Blend X ^d "default 6$
Blend the frames for deinterlacin-
o do/hroma X ^d "default 6$
Ena#le chroma processin- Eslo.er #ut more accurateF
o ver#ose X ^d "default *$
4er#ose mode
Bhis filter is #asicall) a re.rite of the
smartdeinter filter #) 0onald <raft E.ithout
advanced processin- optionsF for =U4 mode onl)8
Its faster than usin- the smartdeinter in =U4
mode and is also tuned .ith its threshold set-
tin-s for =U4 mode8 Bhe filter detects motion
and static areas in an ima-e and onl)deinter-
laces Eeither #) #lendin- or #) cu#ic interpo-
lationF the movin- areas8 Bhe result is an
ima-e .ith hi-h detail in static areas' no
information is lost there8
Bhe threshold settin-s should #e sufficent for
most users8 3s a rule of thum#' I recommend
settin- the chroma threshold to a#out the half
of the luma threshold8 If )ou .ant more dein-
terlacin-' lo.er the thresholds8 Bhe scene
threshold can #e easil) found #) turnin- on
ver#ose mode and the previe. filter8 In ver#ose
mode' the filter .ill print out' .hen it
detects a scene chan-e8 If scenechan-es -o #)
unnoticed' lo.er the scene threshold8 usted puede
completl) disa#le chroma processin- .ith the
do/hromaX* option8 %ere is a sample command-
line
-5 smart)uvXhi-h+X6Rdiff-
modeX7Rcu#icX6RBlendX6RchromathresXARthresh-
oldXORdo/hromaX6
smooth - Esin-le-frameF smoothin- plu-in
smooth .as .ritten #) /had !a-e8 Bhe version docu-
mented here is v*878@ E7**@-*@-7UF8 Este es un video
filter8 It can handle =U4 mode onl)8 It is a pre-pro-
cessin- onl) filter8 It supports multiple instances8
o stren-th X ^f "default *87D$
Blendin- factor
o cdiff X ^d "default P$
Ma& difference in chroma values
o ldiff X ^d "default O$
Ma& difference in luma value
o ran-e X ^d "default A$
earch Ran-e
Qsin-le-frameQ means it onl) .or1s .ith the
current frame' it does not need the ne&t or the
previous frame for operation8 Usuall) smoothin-
is done #) tal1in- the data of previous frames
into account to see .hich parts of the picture
can #e Qsafel)Q smoothed' this filter onl)
needs one frame8
su#titler - su#title filter
su#titler .as .ritten #) !anteltje8 Bhe version docu-
mented here is v*8A E7**7-*7-6TF8 Bhis is a video fil-
ter8 It can handle R<B and =U4 mode8 It is a post-pro-
cessin- onl) filter8
Usa-e -5 su#titlerXQ"no(o#jects$ "su#ti-
tle(fileXs$ "color(depthXn$ "font(dirXs$
"fontXn$ "font(factorXf "frame(offsetXn$
"de#u-$ "help$Q f is float' h is he&' n is
inte-er' s is strin-8
no(o#jects disa#les su#titles and
other o#jects EoffF8
color(depthX @7 or 7A Eoverrides X
autoF E@7F8
fontX * or 6' 6 -ives stran-e
s)m#ols888 E*F8
font(dirX place .here font8desc is
EdI8su#titlesIfontF8
font(factorX 86 to 6** outline charac-
ters E6*8UDF8
frame(offsetX positive Ete&t laterF or
ne-ative EearlierF inte-er E*F8
su#title(fileX pathfilename8ppml location
of ppml file EdI8su#titlesIdemo8ppmlF8
de#u- prints de#u- messa-es
EoffF8
help prints this list and e&it8
tc(video - video 7@8T -W 7T8T telecide filter
tc(video .as .ritten #) Bilmann Bitter#er-8 Bhe ver-
sion documented here is v*87 E7**@-*P-6*F8 Bhis is a
video filter8It can handle =U4 mode onl)8 Es un
pre-processin- onl) filter8
testframe - -enerate stream of testframes
testframe .as .ritten #) Bhomas Oestreich8 la versiCn
documented here is v*868@ E7**@-*T-*AF8 Esta es una
video filter8 It can handle R<B and =U4 mode8 It is a
pre-processin- onl) filter8
o mode X ^d "default *$
/hoose the test pattern E*-A interlaced' D color-
fullF
te&t - .rite te&t in the ima-e
te&t .as .ritten #) Bilmann Bitter#er-8 Bhe version
documented here is v*8687 E7**@-*P-7UF8 Esta es una
video filter8 It can handle R<B and =U4 mode8 It is a
post-processin- onl) filter8
o ran-e X ^u-^uI^d "default *-A7TATPU7TDI6$
appl) filter to "start-end$Istep frames
o strin- X ^s
te&t to displa) Eno SRSF "defaults to YdateY$
o font X ^s
full path to font file "defaults to arial8ttf$
o points X ^d "default 7D$
si:e of font Ein pointsF
o dpi X ^d "default TP$
resolution of font Ein dpiF
o fade X ^d "default *$
fade inIout E*Xoff' 6Xslo.' 6*XfastF
o antialias X ^d "default 6$
3nti-3lias te&t E*Xoff 6XonF
o pos X ^d&^d "default *&*$
!osition E*-.idth & *-hei-htF
o posdef X ^d "default *$
!osition E*XNone 6XBopL 7XBopR @XBotL AXBotR DX/ent
PXBot/entF
o notransparent E#oolF
disa#le transparenc) Eena#les #loc1 #o&F
see IdocsIfilter(te&t8t&t
unsharp - unsharp mas1 h -aussian #lur
unsharp .as .ritten #) Remi <u)omarch8 Bhe version
documented here is v68*86 E7**@-6*-7UF8 Esta es una
video filter8 It can handle =U4 mode onl)8 It is a
post-processin- onl) filter8
o amount X ^f "default *8*$
Luma and chroma EunFsharpness amount
o matri& X ^d&^d "default *&*$
Luma and chroma search matri& si:e
o luma X ^f "default *8*$
Luma EunFsharpness amount
o chroma X ^f "default *8*$
/hroma EunFsharpness amount
o luma(matri& X ^d&^d "default *&*$
Luma search matri& si:e
o chroma(matri& X ^d&^d "default *&*$
/hroma search matri& si:e
o pre X ^d "default *$
run as a pre filter
Bhis filter #lurs or sharpens an ima-e depend-
in- on the si-n of QamountQ8 =ou can either set
amount for #oth luma and chroma or )ou can set
it individuall) ErecommendedF8 3 positive value
for amount .ill sharpen the ima-e' a ne-ative
value .ill #lur it8 3 sane ran-e for amount is
-68D to 68D8
Bhe matri& si:es must #e odd and define the
ran-eIstren-th of the effect8 ensi#le ran-es
are @&@ to U&U8
It sometimes ma1es sense to sharpen the sharpen
the luma and to #lur the chroma8 ample strin-
isR
lumaX*8ORluma(matri&XU&DRchromaX-*87Rchroma(matri&X@&@
videocore - /ore video transformations
videocore .as .ritten #) Bhomas' Bilmann8 Bhe version
documented here is v*8*8A E7**@-*7-*6F8 Esta es una
video filter8 It can handle R<B and =U4 mode8 It is a
pre-processin- onl) filter8
o deinterlace X ^d "default *$
same as -I
o flip E#oolF
same as -:
o mirror E#oolF
same as -l
o r-#s.ap E#oolF
same as -1
o decolor E#oolF
same as -;
o d-amma X ^f "default *8******$
same as -<
o antialias X ^dI^fI^f "default *I*8@@I*8D*$
same as -/I.ei-htI#ias
.hite#alance - >hite Balance 2ilter - correct ima-es .ith
a #ro1en .hite #alance
.hite#alance .as .ritten #) <uillaume /ottenceau8 El
version documented here is v*86 E7**@-6*-*6F8 esto es
a video filter8It can handle R<B and =U4 mode8 es
a pre-processin- onl) filter8
o level X ^d "default A*$
tren-th of filter Ema) also #e ne-ative for oppo-
site effectF
o limit X ^s "default disa#led$
3 strin- containin- a series of frame num#ers
prepended #) S-S to s.itch off or S\S to s.itch on
Efor e&ample' -D*\O*-67* .ill disa#le from frame
num#er D* to num#er O*' then disa#le from 67* to
the endF
Bhis filter allo.s correctin- movies .ith a
#ro1en .hite #alance Ee8-8 #luish movie' for
e&ampleF8
&harpen - 4irtual0u#Ss Xharpen 2ilter
&harpen .as .ritten #) 0onald <raft' Bilmann Bitter-
#er-8 Bhe version documented here is E68*#7F
E7**@-*7-67F8 Bhis is a video filter8 It can handle
R<B and =U4 mode8 It is a post-processin- onl) filter8
o stren-th X ^d "default 7**$
%o. much of the effect
o threshold X ^d "default 7DD$
%o. close a pi&el must #e to the #ri-htest or
dimmest pi&el to #e mapped
Bhis filter performs a su#tle #ut useful sharp-
enin- effect8 Bhe result is a sharpenin- effect
that not onl) avoids amplif)in- noise' #ut also
tends to reduce it8 3 .elcome side effect is
that files processed .ith this filter tend to
compress to smaller files8
tren-th Sstren-thS E*-7DDF "7**$
>hen this value is 7DD' mapped pi&els are
not #lended .ith the ori-inal pi&el values' so
a full-stren-th effect is o#tained8 como
value is reduced' each mapped pi&el is #lended
.ith more of the ori-inal pi&el8 3t a value of
*' the ori-inal pi&els are passed throu-h and
there is no sharpenin- effect8
Bhreshold SthresholdS E*-7DDF "7DD$
Bhis value determines ho. close a pi&el
must #e to the #ri-htest or dimmest pi&el to #e
mapped8 If a pi&el is more than threshold a.a)
from the #ri-htest or dimmest pi&el' it is not
mapped8 Bhus' as the threshold is reduced'
pi&els in the mid ran-e start to #e spared8
)uvdenoise - mjpe-s =U4 denoiser
)uvdenoise .as .ritten #) tefan 2endt' Bilmann
Bitter#er-8 Bhe version documented here is v*8786
E7**@-66-7PF8 Bhis is a video filter8 It can handle
=U4 mode onl)8 It can #e used as a pre-processin- or
as a post-processin- filter8
o radius X ^d "default O$
earch radius
o threshold X ^d "default D$
0enoiser threshold
o pp(threshold X ^d "default A$
!ass II threshold
o dela) X ^d "default @$
3vera-e SnS frames for a time-lo.passed pi&el
o postprocess X ^d "default 6$
2ilter internal postprocessin-
o luma(contrast X ^d"default 6**$
Luminance contrast in percent
o chroma(contrast X ^d "default 6**$
/hrominance contrast in percent8
o sharpen X ^d "default 67D$
harpness in percent
o deinterlace X ^d "default *$
2orce deinterlacin-
o mode X ^d "default *$
"*$R !ro-ressive "6$R Interlaced "7$R 2ast
o scene(thres X ^d^^ "default D*$
Bloc1s .here motion estimation should fail #efore
scenechan-e
o #loc1(thres X ^d "default 6*7A$
Ever) 30 value -reater than this .ill #e consid-
ered #ad
o do(reset X ^d "default 7$
Reset the filter for YnS frames after a scene
o increment(cr X ^d "default 7$
Increment /r .ith constant
o increment(c# X ^d "default 7$
Increment /# .ith constant
o #order X ^d&^d-^d&^d "default *&*-@7&@7$
3ctive ima-e area
o pre X ^d "default *$
run this filter as a pre-processin- filter
see IdocsIfilter()uvdenoise8t&t
)uvmedian - mjpe-s =U4 median filter
)uvmedian .as .ritten #) Mi1e Bernson' Bilmann Bitter-
#er-8 Bhe version documented here is v*868*
E7**@-*6-7AF8 Bhis is a video filter8 It can handle
=U4 mode onl)8 It can #e used as a pre-processin- or
as a post-processin- filter8
o radius(luma X ^d "default 7$
Radius for median ElumaF
o radius(chroma X ^d "default 7$
Radius for median EchromaF
o threshold(luma X ^d "default 7$
Bri--er threshold ElumaF
o threshold(chroma X ^d "default 7$
Bri--er threshold EchromaF
o interlace X ^d "default *$
Breat input as interlaced
o pre X ^d "default 6$
Run as a !RE filter
)u)7tov67 - =U=7 to =467 converter plu-in
)u)7tov67 .as .ritten #) Bhomas Oestreich8 la versiCn
documented here is v*8*87 E7**@-*T-*AF8 Esta es una
video filter8 It can handle =U4 mode onl)8 It is a
pre-processin- onl) filter8
NOB3
N Most source material parameter are auto-detected8
N /lippin- re-ion options are e&panded s)mmetricall)8
E&amplesR
-j O* .ill #e e&panded to -j O*'*'O*'*
-j O*'O .ill #e e&panded to -j O*'O'O*'O
-j O*'O'6* .ill #e e&panded to -j O*'O'6*'O
N ma&imum ima-e si:e is 6T7*&6*OO8
N Bhe video frame operations orderin- is fi&edR Q-j
-I -X -B -9 -= -r -: -l -1 -; -< -/Q Ee&ecuted from
left to ri-htF8
N hrin1in- the ima-e .ith S-BS is not possi#le if
the ima-e .idthIhei-ht is not a multiple of O' 6P
or @78
N E&pandin- the ima-e .ith S-XS is not possi#le if
the ima-e .idthIhei-ht is not a multiple of O' 6P
or @78
N Bhe final frame .idthIhei-ht should #e a multiple
of O8 Eto avoid encodin- pro#lems .ith some codecsF
68 Reducin- the video hei-htI.idth #) 7'A'O
Option S-r factorS can #e used to shrin1 the
video ima-e #) a constant factor' this fac-
tor can #e 7'A or O8
78 /lippin- and chan-in- the aspect ratio
transcode uses @ steps to produce the input
ima-e for the e&port modules
68 /lippin- of the input ima-e8
78 /han-in- the aspect ratio of the 6F
output8
@8 /lippin- of the 7F output8
N Bits per pi&el E#itsIpi&elF is a value transcode
calculates and prints .hen startin- up8 es
mainl) useful .hen encodin- to M!E<A E&vid' div&'
etcF8 =ouSll see line li1e
"transcode$ 4R #itsIpi&el [ *87@U
implified said' #itsIpi&el +uantifies ho. -ood an
encode .ill #e8 3lthou-h this value depends heavil)
on the used input material' as a -eneral rule of
thump it can #e said that values -reater or close
to *87 .ill result in -ood encodes' encodes .ith
values less than *86D .ill have noticea#le arti-
facts8
Bits per pi&el depends on the resolution' #itrate
and frames per second8 If )ou have a lo. value E V
*86DF' )ou mi-ht .ant to raise the #itrate or
encode at a lo.er resolution8 Bhe e&act formula is
#itrateN6***
#pp X ----------------
.idthNhei-htNfps
N 3/@ I Multiple channels
>hen )ou do import an audio stream .hich has more
then t.o audio channels - this is usuall) the case
for 3/@ audio - transcode .ill automa-icall) do.n-
mi& to t.o channels EstereoF8 =ouSll see line li1e
"transcode$ 3R do.nmi& [ D channels -W 7
channels
Bhis is done' #ecause most encoders and audio fil-
ters can not handle more than 7 channels correctl)8
Bhe !/M internal representation does not support
more than t.o channels' audio .ill #e do.nmi&ed to
stereo No do.nmi& .ill happen' if )ou use 3/@ as
the internal audio codec or use audio pass-throu-h8
E5EM!LO
Bhe follo.in- command .ill read itSs input from the 040
drive EI assume IdevIdvd is a s)m#olic lin1 to the actual
040 deviceF and produce a splitted div&A movie accordin-
to the chapter information on the 040 medium8 la salida
files .ill #e named m)(movie-ch**8avi' m)(movie-ch*68avi
888
transcode -i IdevIdvdI -& dvd -4 -j 6P'* -B D'* i
-= A*'O -s A8AU -U m)(movie -) &vid -. 6P6O
Option -4 tells transcode to use =U4 as internal video
colorspace' .hich saves a lot of /!UI!/I #and.idth8
Option -j 6P'* .ill #e e&panded to -j 6P'*'6P'* and
results in 6P ro.s from the top and the #ottom of the
ima-e to #e cut off8 Bhis ma) #e usefull if the source
consists of #lac1 top and #ottom #ars8
Option -B D'* tells transcode to shrin1 the resultin-
ima-e #) DN@7X6P* ro.s in hei-ht8
Option -= A*'O .ill #e e&panded to -= A*'O'A*'O and tells
transcode to 888
Option -s A8AU tells transcode to increase audio volume #)
a factor A8AU8
Option -U m)(movie tells transcode to operate in chapter
mode and produce output to files named m)(movie-ch**8avi'
m)(movie-ch*68avi888
=ou can either mer-e the files after.ards .ith avimer-e or
add the option --no(split to the command line8
Option -) &vid tells transcode to use the e&port module
e&port(&vid8so .hich in turn uses the Xvi0 encoder to
encode the video8
Option -. 6P6O tells transcode to set the encoder #itrate
to 6P6O .hich is lo.er than the default of 6O** and
results in smaller files .ith the loss of visual +ualit)8
Lets assume that )ou have an NB/ 040 EU7*&AO*F and )ou
.ant to ma1e an NB/-4/0
Bhe frame si:e of the 040 movie is U7*&AO* b 6PRT8
2or the purpose of frame resi:in-' the .idth U7* is
not relavant Ethat is' it .ill not #e used in the
follo.in- reasonin-F8 It is not needed #ecause the
ori-inal frame si:e is reall) defined #) the frame
hei-ht and aspect ratio8 Bhe (final result( should
#e PA*&AO*' encoded as AO*&AO* bAR@ Ethe hei-ht
AO* multiplied #) the aspect ratio AR@ -ives the
.idth PA*F8 Bhis same frame si:e EPA*&AO*F can
also #e encoded as PA*&@P* b 6PRT Ethe hei-ht @P*
multiplied #) the aspect ratio 6PRT -ives the .idth
PA*F8
3s the (ori-inal video( has aspect ratio 6PRT'
first .e resi:e to PA*&@P*' 1eepin- that aspect
ratio8 But the aspect ratio has to #e chan-ed to
AR@8 Bo find the frame si:e in the ne. aspect ratio
the hei-ht @P* is multiplied #) the ne. aspect
ratio' -ivin- the .idth AO*8 Bhis is accomplished
.ith the transcode options Q--e&port(asr 7 -9
AO*&@P*'fastQ8
Bo avoid stretchin- the video hei-ht in this chan-e
E#ecause the ne. aspect ratio is less than the
ori-inalF' #lac1 #orders should #e added at the top
and #ottom of the video' #rin-in- the frame to the
desired AO*&AO* b AR@ si:e8 Bhe transcode option
for this is Q-= -P*'*'-P*'*Q8
If for some reason Ema)#e a su#title filterF the
#lac1 #orders Eof hei-ht P* eachF should #e added
#efore resi:in- the frame and chan-in- the aspect
ratio to AR@8 One reason for that .ould #e the need
of runnin- a (pre( filter after addin- the #lac1
#orders8 Bhen the options Q-jQ or Q--pre(clipQ can
#e used insteadof Q-=Q8 In this case the #lac1
#order hei-ht has to #e recalculated #) appl)in-
the aspect ratio AR@ to the value alread) foundR P*
N EAI@F X O*8 Bhe transcode options Q-j
-O*'*'-O*'*Q or Q--pre(clip -O*'*'-O*'*Q are then
used instead of Q-= -P*'*'-P*'*Q' and Q-9
AO*&@P*'fastQ is replaced #) Q-9 AO*&AO*'fastQ8
3UBORE
transcode .as .ritten #) Bhomas Ostreich Vostreichbtheo-
rie8ph)si18uni--oettin-en8deW and Bilmann Bitter#er- .ith
contri#utions from man) others8 ee 3UB%OR for details8
4ER B3MBIkN
avifi&E6F' avis)ncE6F' avimer-eE6F' avisplitE6F'
tcpro#eE6F' tcscanE6F' tccatE6F' tcdemu&E6F' tce&tractE6F'
tcdecodeE6F' tcmodinfoE6F' tc&mlchec1E6F' transcodeE6F
Branscode >i1i [ Recent /han-es [ !references
!ass.ord re+uired to edit [ 4ie. other revisions
Last edited 0ecem#er 6' 7**P UR*U pm #) tara:ed8li-o8caltech8ed

Potrebbero piacerti anche