transparent logo

About encoding, codec settings, muxers and filter usage
User avatar
antigreen
New Cone
New Cone
Posts: 7
Joined: 27 Jan 2010 02:47
VLC version: 2.2.0
Operating System: Linux
Contact:

transparent logo

Postby antigreen » 17 Mar 2011 02:41

Hi.

I want to add logo on stream, like this:
http://wiki.videolan.org/How_to_add_logo

I created a PNG file
Image

But there is no transparent. Only darkgrey background
Image

What i'm doing wrong? Help, please.
OS: gentoo linux
vlc: 1.0.2

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: transparent logo

Postby Jean-Baptiste Kempf » 17 Mar 2011 09:17

Read the logs...
And use a modern vlc.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

User avatar
antigreen
New Cone
New Cone
Posts: 7
Joined: 27 Jan 2010 02:47
VLC version: 2.2.0
Operating System: Linux
Contact:

Re: transparent logo

Postby antigreen » 17 Mar 2011 11:29

what kinds of logs?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: transparent logo

Postby Jean-Baptiste Kempf » 17 Mar 2011 11:42

vlc -vvv
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

User avatar
antigreen
New Cone
New Cone
Posts: 7
Joined: 27 Jan 2010 02:47
VLC version: 2.2.0
Operating System: Linux
Contact:

Re: transparent logo

Postby antigreen » 17 Mar 2011 23:57

What information from this must help me? :(
[0x804b088] main libvlc debug: VLC media player - version 1.0.2 Goldeneye - (c) 1996-2009 the VideoLAN team
[0x804b088] main libvlc debug: libvlc was configured with ./configure '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--disable-a52' '--disable-aa' '--disable-faad' '--disable-alsa' '--disable-altivec' '--disable-asademux' '--disable-atmo' '--disable-bonjour' '--disable-fribidi' '--disable-vcd' '--disable-cddax' '--disable-libcddb' '--disable-libcdio' '--disable-csri' '--disable-dbus' '--disable-dbus-control' '--disable-dirac' '--disable-directfb' '--disable-dc1394' '--disable-debug' '--disable-dca' '--disable-dvb' '--enable-dvdread' '--enable-dvdnav' '--disable-fb' '--enable-avcodec' '--enable-avformat' '--enable-swscale' '--enable-postproc' '--disable-flac' '--disable-fluidsynth' '--disable-fontconfig' '--disable-ggi' '--disable-gnomevfs' '--disable-gnutls' '--disable-hal' '--enable-httpd' '--disable-id3tag' '--disable-dv' '--disable-jack' '--disable-kate' '--disable-libass' '--disable-caca' '--enable-libgcrypt' '--disable-notify' '--disable-libproxy' '--disable-libtar' '--disable-tiger' '--disable-libsysfs' '--disable-libv4l2' '--disable-lirc' '--disable-live555' '--disable-lua' '--disable-mkv' '--disable-mmx' '--disable-mod' '--enable-mad' '--enable-libmpeg2' '--disable-mtp' '--disable-mpc' '--enable-ncurses' '--disable-mozilla' '--with-mozilla-pkg=' '--disable-ogg' '--disable-glx' '--disable-opengl' '--disable-galaktos' '--disable-optimize-memory' '--disable-oss' '--disable-pda' '--disable-png' '--disable-portaudio' '--disable-pulse' '--disable-pvr' '--disable-qt4' '--disable-realrtsp' '--disable-run-as-root' '--disable-smb' '--disable-schroedinger' '--disable-sdl' '--disable-sdl-image' '--disable-shine' '--enable-shout' '--disable-speex' '--disable-sse' '--enable-sout' '--disable-svg' '--disable-svgalib' '--disable-taglib' '--disable-theora' '--enable-freetype' '--disable-twolame' '--disable-upnp' '--disable-v4l' '--disable-v4l2' '--disable-vcdinfo' '--disable-vcdx' '--disable-vorbis' '--disable-loader' '--disable-wma-fixed' '--disable-x11' '--disable-screen' '--disable-x264' '--disable-xcb' '--disable-xinerama' '--enable-libxml2' '--disable-xosd' '--disable-xvideo' '--disable-xvmc' '--disable-zvbi' '--enable-telx' '--disable-snapshot' '--disable-growl' '--disable-optimizations' '--enable-fast-install' '--disable-vlm' '--disable-skins2' '--disable-remoteosd' '--build=i686-pc-linux-gnu' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 'CFLAGS=-O2 -march=i686 -fomit-frame-pointer -mno-tls-direct-seg-refs' 'LDFLAGS=-Wl,-O1' 'CPPFLAGS=' 'CXXFLAGS=-O2 -march=i686 -fomit-frame-pointer -mno-tls-direct-seg-refs'
[0x804b088] main libvlc debug: translation test: code is "C"
[0x804b088] main libvlc debug: checking plugin modules
[0x804b088] main libvlc debug: loading plugins cache file /VIDEO//.cache/vlc/plugins-04041e.dat
[0x804b088] main libvlc debug: recursively browsing `/usr/lib/vlc'
[0x804b088] main libvlc debug: module bank initialized (290 modules)
[0x804b088] main libvlc debug: opening config file (/VIDEO//.config/vlc/vlcrc)
[0x804b088] main libvlc debug: CPU has capabilities 486 586 MMX MMXEXT FPU
[0x804b088] main libvlc debug: looking for memcpy module: 1 candidate
[0x804b088] main libvlc debug: using memcpy module "memcpy"
[0x80b9d08] main input debug: Creating an input for 'Media Library'
[0x80b9d08] main input debug: Input is a meta file: disabling unneeded options
[0x80b9d08] main input debug: using timeshift granularity of 50 MBytes
[0x80b9d08] main input debug: using timeshift path '/tmp'
[0x80b9d08] main input debug: `file/xspf-open:///VIDEO//.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/VIDEO//.local/share/vlc/ml.xspf'
[0x80b9d08] main input debug: creating demux: access='file' demux='xspf-open' path='/VIDEO//.local/share/vlc/ml.xspf'
[0x80c2a60] main demux debug: looking for access_demux module: 1 candidate
[0x80c2a60] main demux warning: no access_demux module matching "file" could be loaded
[0x80c2a60] main demux debug: TIMER module_need() : 0.627 ms - Total 0.627 ms / 1 intvls (Avg 0.627 ms)
[0x80b9d08] main input debug: creating access 'file' path='/VIDEO//.local/share/vlc/ml.xspf'
[0x80c42e8] main access debug: looking for access module: 3 candidates
[0x80c42e8] access_file access debug: opening file `/VIDEO//.local/share/vlc/ml.xspf'
[0x80c42e8] main access debug: using access module "access_file"
[0x80c42e8] main access debug: TIMER module_need() : 0.687 ms - Total 0.687 ms / 1 intvls (Avg 0.687 ms)
[0x80c4f08] main stream debug: Using AStream*Stream
[0x80c4f08] main stream debug: pre buffering
[0x80c4f08] main stream debug: received first data after 0 ms
[0x80c4f08] main stream debug: pre-buffering done 296 bytes in 0s - 2276 kbytes/s
[0x80c4bb0] main stream debug: looking for stream_filter module: 4 candidates
[0x80c4bb0] main stream debug: TIMER module_need() : 0.598 ms - Total 0.598 ms / 1 intvls (Avg 0.598 ms)
[0x80c4bb0] main stream debug: looking for stream_filter module: 1 candidate
[0x80c4bb0] main stream debug: using stream_filter module "stream_filter_record"
[0x80c4bb0] main stream debug: TIMER module_need() : 0.343 ms - Total 0.343 ms / 1 intvls (Avg 0.343 ms)
[0x80b9d08] main input debug: creating demux: access='file' demux='xspf-open' path='/VIDEO//.local/share/vlc/ml.xspf'
[0x80c6190] main demux debug: looking for demux module: 1 candidate
[0x80c6190] playlist demux debug: using XSPF playlist reader
[0x80c6190] main demux debug: using demux module "playlist"
[0x80c6190] main demux debug: TIMER module_need() : 0.532 ms - Total 0.532 ms / 1 intvls (Avg 0.532 ms)
[0x80b9d08] main input debug: `file/xspf-open:///VIDEO//.local/share/vlc/ml.xspf' successfully opened
[0x80c7148] main xml debug: looking for xml module: 2 candidates
[0x80c7148] main xml debug: using xml module "xml"
[0x80c7148] main xml debug: TIMER module_need() : 0.723 ms - Total 0.723 ms / 1 intvls (Avg 0.723 ms)
[0x80c6190] playlist demux debug: parsed 0 tracks successfully
[0x80c7148] main xml debug: removing module "xml"
[0x80b9d08] main input debug: EOF reached
[0x80c6190] main demux debug: removing module "playlist"
[0x80c4bb0] main stream debug: removing module "stream_filter_record"
[0x80c42e8] main access debug: removing module "access_file"
[0x80b9d08] main input debug: TIMER input launching for 'Media Library' : 7.179 ms - Total 7.179 ms / 1 intvls (Avg 7.179 ms)
[0x80bf788] main playlist debug: rebuilding array of current - root Playlist
[0x80bf788] main playlist debug: rebuild done - 0 items, index -1
[0x80bf788] main playlist debug: Activated
[0x80c6190] main interface debug: looking for interface module: 1 candidate
[0x80c6190] main interface debug: using interface module "hotkeys"
[0x80c6190] main interface debug: TIMER module_need() : 0.748 ms - Total 0.748 m

User avatar
antigreen
New Cone
New Cone
Posts: 7
Joined: 27 Jan 2010 02:47
VLC version: 2.2.0
Operating System: Linux
Contact:

Re: transparent logo

Postby antigreen » 22 Mar 2011 17:58

update vlc to 1.1.7
but there is no difference :/

Arite
Big Cone-huna
Big Cone-huna
Posts: 2478
Joined: 26 Jun 2007 20:40
VLC version: 3.0.20
Operating System: Debian Testing|Win10

Re: transparent logo

Postby Arite » 22 Mar 2011 21:53

That image works fine here using VLC 1.1.7.

For example, I created a RGBA PNG image with a 50% fill for the face and transparent edges:

Image

The commandline I used:

Code: Select all

vlc -vvv --sub-filter logo --logo-file LOGO_FILE --logo-position 6 INPUT_FILE
Where LOGO_FILE and INPUT_FILE are the locations of the logo and video files, respectively. The "--logo-position 6" puts it in the top-right corner.

Arite.
Don't use PMs for support questions.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: transparent logo

Postby Jean-Baptiste Kempf » 22 Mar 2011 22:27

I CAN HAZ THIS PIX, PLZ?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Arite
Big Cone-huna
Big Cone-huna
Posts: 2478
Joined: 26 Jun 2007 20:40
VLC version: 3.0.20
Operating System: Debian Testing|Win10

Re: transparent logo

Postby Arite » 22 Mar 2011 22:35

Lol sure :P:

Image

Took me a couple of mins in GIMP :). Edging around the face isn't very good.

Arite.
Don't use PMs for support questions.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 7 guests