Quantcast Introducir un Logo en un KVCD - digitalFAQ.com Forums [Archives]
  #1  
02-22-2005, 01:22 PM
hav hav is offline
Free Member
 
Join Date: Jul 2003
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to hav
Hola migos, existe alguna manera de poner un logo en un kvcd. Es decir, ese pequeño icono que aparece habitualmente en el margen inferior derecho de la pantalla y representa por ejemplo a la cadena televisiva que estamos viendo.

Sé que para un avi, empleando el virtualdub y el el flitro correspondiente, puede hacerse.

De poder hacerse en un kvcd, ¿cuál debería ser el script correcto?.

Gracias, un saludo.
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
02-24-2005, 08:21 AM
hav hav is offline
Free Member
 
Join Date: Jul 2003
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to hav
¿No ha ningún experto que me me confirme si es o no posible lo que plateo?.

Saludos, gracias.
Reply With Quote
  #3  
02-24-2005, 08:25 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
En el doc. de avisynth hay una sección "Q&A" con una parte "importar los filtros virtualdub".

O puedes leer esto:
http://www.avisynth.org/VirtualDub_II
Reply With Quote
  #4  
02-24-2005, 08:29 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Hola hav,

Mira aqui: http://www.geocities.com/mrtibsvideo/Logotools.html (AddLogo)

-kwag
Reply With Quote
  #5  
02-28-2005, 04:40 PM
hav hav is offline
Free Member
 
Join Date: Jul 2003
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to hav
Por más vueltas que le doy no lo consigo. ¿Podéis probárlo alguno con más experiencia y explicar después el script?.

Gracias
Reply With Quote
  #6  
02-28-2005, 05:06 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
http://www.avisynth.org/VirtualDub_II

Code:
###################################################################
# Logo by Donald Graft, v1.3b4					  #
#								  #
# In the filter configuration dialog box, enter the input file.	  #
# If the specified bitmap file cannot be found, or if it is not	  #
# a bitmap file, or if it is of the wrong depth (depth must be 24 #
# bit), the output frame will be all black.			  #
#								  #
# See "simplified_versions.avs" for some examples.		  #
###################################################################

function VD_Logo(clip clip, int "x", int "y", int "alpha", bool "transparent",
  \  int "xr", int "xg", int "xb", int "tolerance", string "filename",
  \  bool "animate", int "start", int "duration", int "loops",
  \  int "fadeinlen", int "fadeoutend", int "fadeoutlen")
{
  LoadVirtualdubPlugin(VirtualDub_plugin_directory+"\logo.vdf", "_VD_Logo", 1)
  return clip._VD_Logo(default(x,0), default(y,0), default(alpha,128),
    \  default(transparent,true)?1:0, default(xr,0), default(xg,0), default(xb,255),
    \  default(tolerance,0), default(filename,VirtualDub_plugin_directory+"\logo.bmp"), 
    \  default(animate,false)?1:0, default(start,0), default(duration,0), default(loops,0),
    \  default(fadeinlen,0), default(fadeoutend,200), default(fadeoutlen,0))
}

# example1 (static logo):
# ConvertToRGB()
# VD_logo(0, 0, 128, true, 0, 0, 255, 0, VirtualDub_plugin_directory+"\logo2.bmp", false, 100, 200, 0, 10, 180, 10)
# ConvertToYUY2()

# example2 (animated logo):
# ConvertToRGB()
# VD_Logo(33, 33, 128, true, 0, 0, 0, 0, "G:\Recu0001.bmp", true, 0, 1, 20, 0, 0, 0)
# ConvertToYUY2()
Reply With Quote
  #7  
02-28-2005, 06:23 PM
hav hav is offline
Free Member
 
Join Date: Jul 2003
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to hav
¿Qué me falla en este script?:

LoadPlugin("C:\Archivos de programa\GordianKnot\MPEG2Dec3.dll")

AviSource("D:\mocousla.avi")
function VD_Logo(clip clip, int "x", int "y", int "alpha", bool "transparent",
\ int "xr", int "xg", int "xb", int "tolerance", string "filename",
\ bool "animate", int "start", int "duration", int "loops",
\ int "fadeinlen", int "fadeoutend", int "fadeoutlen")
{
LoadVirtualdubPlugin("C:\Archivos de programa\GordianKnot\VirtualDubMod\plugins"
\ +"\logo.vdf", "_VD_Logo", 1)
return clip._VD_Logo(default(x,0), default(y,0), default(alpha,12,
\ default(transparent,true)?1:0, default(xr,0), default(xg,0),
\ default(xb,255),default(tolerance,0), default
\ (filename,VirtualDub_plugin_directory+"\logo.bmp") ,
\ default(animate,false)?1:0, default(start,0), default(duration,0),
\ default(loops,0),default(fadeinlen,0),
\ default(fadeoutend,200), default(fadeoutlen,0))
}
ConvertToRGB()
VD_logo(0,0,128,true,0,0,0,0,"D:\PROGRAMAS EN USO\mascota1b.bmp",false,100,500,0,100,500,100)
ConvertToYUY2()
Reply With Quote
  #8  
02-28-2005, 07:46 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
¿Qué línea da un error y cuál es el mensaje de error?
¿Tienes bien logo.vdf en el directorio de Gordian Knot?

Quote:
\ (filename,VirtualDub_plugin_directory+"\logo.bmp"),
¡Esto no es bueno!
Reply With Quote
  #9  
03-01-2005, 06:35 PM
hav hav is offline
Free Member
 
Join Date: Jul 2003
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to hav
Hola, he utilizado el siguiente script:

LoadPlugin("C:\Archivos de programa\GordianKnot\MPEG2Dec3.dll")

AviSource("D:\cualquiera.avi")
LoadVirtualdubPlugin(C:\Archivos de programa\GordianKnot\VirtualDubMod\plugins"\logo.v df", "_VD_Logo", 1)
# ConvertToRGB()
# VD_logo(0, 0, 128, true, 0, 0, 255, 0, C:\Archivos de programa\GordianKnot\VirtualDubMod\plugins+"\logo. bmp", false, 100, 200, 0, 10, 180, 10)
# ConvertToYUY2()


********* El error que me da es el siguiente: Script error: a , or) D:\cualquiera.avs, line 8, column 23


Comienzo a pensar que no lo conseguiré :S, pero no será por no intentarlo

Gracias
Reply With Quote
  #10  
03-01-2005, 06:36 PM
hav hav is offline
Free Member
 
Join Date: Jul 2003
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to hav
¿Genera Virtualdub .avs, al igual que Gordian Knot?. ¿Sería posible exportarlo y cargarlo tal cual en el tmpg?.

Un saludo
Reply With Quote
  #11  
03-02-2005, 04:29 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
[quote="hav"]Hola, he utilizado el siguiente script:
Gracias de dar el script completo ! No hay línea 8 en lo que das. ¿As ti corregido la parte que puse en gordo en mi post precedente?

Note : ¡Tu primer script es completamente falsa! El "\" deben ser en final de línea, no a principio. Tu script debe asemejar a eso:
Code:
AviSource("D:\mocousla.avi")
function VD_Logo(clip clip, int "x", int "y", int "alpha", bool "transparent",\
int "xr", int "xg", int "xb", int "tolerance", string "filename",\
bool "animate", int "start", int "duration", int "loops",\
int "fadeinlen", int "fadeoutend", int "fadeoutlen")
{
LoadVirtualdubPlugin("C:\Archivos de programa\GordianKnot\VirtualDubMod\plugins\logo.vdf", "_VD_Logo", 1)
return clip._VD_Logo(default(x,0), default(y,0), default(alpha,128), \
default(transparent,true)?1:0, default(xr,0), default(xg,0),\
default(xb,255),default(tolerance,0), default\
(filename,"C:\Archivos de programa\GordianKnot\VirtualDubMod\plugins\logo.bmp"),\
default(animate,false)?1:0, default(start,0), default(duration,0),\
default(loops,0),default(fadeinlen,0),\ default(fadeoutend,200),\
default(fadeoutlen,0))
}
ConvertToRGB()
VD_logo(0,0,128,true,0,0,0,0,"D:\PROGRAMAS EN USO\mascota1b.bmp",false,100,500,0,100,500,100)
ConvertToYUY2()
Reply With Quote
  #12  
03-02-2005, 05:17 AM
hav hav is offline
Free Member
 
Join Date: Jul 2003
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to hav
Dialhot ese script carga perfectamente, salvo por:

default(loops,0),default(fadeinlen,0),\ default(fadeoutend,200),\

Una vez eliminado ese pequeño inconveniente, como afirmo más arriba, el script carga, pero el video no aparece, la pantalla se muestra de color negro de principio a fin.

He encontrado la siguiente información por si a ti te aclara un poco y puedes ofrecerme el script correcto.

# Complete definition of "logo" plugin
global VirtualDub_plugin_directory = "D:\Virtual Dub\plugins"
function VD_Logo(clip clip, int "x", int "y", int "alpha", bool "transparent",
\ int "xr", int "xg", int "xb", int "tolerance", string "filename",
\ bool "animate", int "start", int "duration", int "loops",
\ int "fadein", int "fadeoutend", int "fadeoutlen")
{
LoadVirtualdubPlugin(VirtualDub_plugin_directory+" \logo.vdf", "_VD_Logo", 1)
return clip._VD_Logo(default(x,0), default(y,0), default(alpha,12,
\ default(transparent,true)?1:0, default(xr,0), default(xg,0), default(xb,255),
\ default(tolerance,0), default(filename,"d:\virtual dub\plugins\logo.bmp"),
\ default(animate,false)?1:0, default(start,0), default(duration,0), default(loops,0),
\ default(fadein,0), default(fadeoutend,0), default(fadeoutlen,0))
}
# End of definition of plugin; the rest of the script is just an example

#Simplified versions of the interface to facilitate manipulation
# For animated logo in a static position
function RE(clip clip, int "h", int "v", int "start", int "loops") {
LoadVirtualdubPlugin(VirtualDub_plugin_directory+" \logo.vdf", "_VD_Logo", 1)
return clip._VD_Logo(default(h,0), default(v,0), 128,
\ 1, 0, 0, 0,
\ 0, "E:\Movies\Recu0001.bmp",
\ 1, default(start,0), 1, default(loops,1),
\ 0, 0, 0)
}

# For moving a static logo across the screen
function MV(clip clip, int "h", int "v", int "start", int "duration") {
LoadVirtualdubPlugin(VirtualDub_plugin_directory+" \logo.vdf", "_VD_Logo", 1)
return clip._VD_Logo(default(h,0), default(v,0), 128,
\ 1, 0, 0, 0,
\ 0, "E:\Movies\Recu0001.bmp",
\ 0, default(start,0), default(duration,0), 0,
\ 0, 0, 0)
}

# Now the example
# V01.d2v is simply a 480x480 NTSC video; use any you have at hand
# it MUST be NTSC and MUST be 480x480; uncomment "ConvertFPS(29.97)"
# and/or "BicubicResize(480,480)" below to convert if necessary

mpeg2source("E:\Movies\V01.d2v")
#ConvertFPS(29.97)
#BicubicResize(480,480)

#This shows an animated translucid box (contained in "Recu0001.bmp"
#to "Recu0011.bmp") across the screen in 10 different positions
#also moves a static version of the box from position to position
RE(33,33,0,20)
animate(240,300,"MV",33,33,240,1,117,33,300,1)
RE(117,33,301,20)
animate(540,600,"MV",117,33,540,1,201,33,600,1)
RE(201,33,601,20)
animate(840,900,"MV",201,33,840,1,285,33,900,1)
RE(285,33,901,20)
animate(1140,1200,"MV",285,33,1140,1,369,33,1200,1 )
RE(369,33,1201,20)
animate(1440,1500,"MV",369,33,1440,1,33,369,1500,1 )
RE(33,369,1501,20)
animate(1740,1800,"MV",33,369,1740,1,117,369,1800, 1)
RE(117,369,1801,20)
animate(2040,2100,"MV",117,369,2040,1,201,369,2100 ,1)
RE(201,369,2101,20)
animate(2340,2400,"MV",201,369,2340,1,285,369,2400 ,1)
RE(285,369,2401,20)
animate(2640,2700,"MV",285,369,2640,1,369,369,2700 ,1)
RE(369,369,2701,25)

Gracias, hav[/list][/quote]
Reply With Quote
  #13  
03-02-2005, 06:27 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by hav
Una vez eliminado ese pequeño inconveniente, como afirmo más arriba, el script carga, pero el video no aparece, la pantalla se muestra de color negro de principio a fin.
Intentes sin la línea ConvertToYUY2. O con ConvertToYV12 al lugar.
Reply With Quote
  #14  
03-02-2005, 12:30 PM
hav hav is offline
Free Member
 
Join Date: Jul 2003
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to hav
La pantalla sigue estando negra de cualquiera de las dos formas
Reply With Quote
  #15  
03-03-2005, 05:49 PM
hav hav is offline
Free Member
 
Join Date: Jul 2003
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to hav
He probado con otro video y funciona perfectamente, pero el logo sólo aparece unos instantes al principio del video en el margen superior izquierdo. ¿Qué podría hacer para aumentar su duración durante toda la película y cambiar su posición?

Gracias
Reply With Quote
  #16  
03-03-2005, 06:01 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
function VD_Logo(clip clip, int "x", int "y", int "alpha", bool "transparent",
\ int "xr", int "xg", int "xb", int "tolerance", string "filename",
\ bool "animate", int "start", int "duration", int "loops",
\ int "fadeinlen", int "fadeoutend", int "fadeoutlen")
Ok para ayudarte pero no es necesario exagerar...
Reply With Quote
  #17  
03-04-2005, 03:55 AM
hav hav is offline
Free Member
 
Join Date: Jul 2003
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to hav
Quote:
function VD_Logo(clip clip, int "x", int "y", int "alpha", bool "transparent",
\ int "xr", int "xg", int "xb", int "tolerance", string "filename",
\ bool "animate", int "start", int "duration", int "loops",
\ int "fadeinlen", int "fadeoutend", int "fadeoutlen")

¿Pero cómo modifico?. ¿Qué valores debo poner si quiero que se vea todo el tiempo en el margen inferior derecho y sin transparencia?.

Nos vamos acercando al resultado...
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
KVCD: Logo mask? nicksteel Video Encoding and Conversion 0 11-15-2003 07:24 AM
KVCD Logo as advertisement ? buschkobold Video Encoding and Conversion 2 10-21-2003 11:09 AM
KVCD Logo solid_o Convertir y Codificar Video (Español) 1 09-29-2003 11:14 PM
KVCD Official Logo kwag Off-topic Lounge 0 03-14-2003 09:00 PM
KVCD: The new intro logo rendalunit Video Encoding and Conversion 0 06-04-2002 10:50 PM

Thread Tools



 
All times are GMT -5. The time now is 12:52 AM  —  vBulletin © Jelsoft Enterprises Ltd