Definitive bash instruction for insert logo image in files

*nix specific usage questions
airtek
Blank Cone
Blank Cone
Posts: 17
Joined: 06 Nov 2007 20:10

Definitive bash instruction for insert logo image in files

Postby airtek » 14 Feb 2008 03:33

Hi guys ,

I'm using debian etch and I want to take my avi files , encoding with xvid and mp3 and insert into that a logo file , i'm trying with the debian-logo.png what everybidy has in his debian system.

I have read more pages but I don't find a simple and clear way to take this video (trasconding??) and insert logo with the control of position (in the bottom right)

I want to ave in output or avi file in mpeg4 (xvid , divx it's ok) or mpg in mpeg2 codec.


Can you help me please


Thanks a lot

Br


Pierpaolo

:D

revolunet
Big Cone-huna
Big Cone-huna
Posts: 515
Joined: 17 Oct 2007 13:16
VLC version: 0.9.8
Operating System: Vista
Location: Paris, France
Contact:

Re: Definitive bash instruction for insert logo image in files

Postby revolunet » 14 Feb 2008 11:01

hello

have you read this page ? http://wiki.videolan.org/How_to_add_logo
VLC & web IT consulting - http://www.revolunet.com
Github : http://github.com/revolunet

airtek
Blank Cone
Blank Cone
Posts: 17
Joined: 06 Nov 2007 20:10

Re: Definitive bash instruction for insert logo image in files

Postby airtek » 14 Feb 2008 11:52

Hi ,


thanks for your help , i have read that page and other with transcoding instruction in vlc documentation

I trys these commands:


510 vlc --logo-file logo.png sorgenti/xvid_virtualdub/1minuto.avi --sout "#transcode{vcodec=h264,sfilter=logo}:std{access=file,dst=new_video.avi }
511 vlc --logo-file logo.png sorgenti/xvid_virtualdub/1minuto.avi --sout "#transcode{sfilter=logo}:std{access=file,dst=new_video.avi }
512 vlc --logo-file logo.png video.avi --sout "#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128,sfilter=logo}:std{access=file,dst=new_video.avi }
513 vlc --logo-file logo.png sorgenti/xvid_virtualdub/1minuto.avi --sout "#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128,sfilter=logo}:std{access=file,dst=new_video.avi }
514 vlc --logo-file logo.png -vvv sorgenti/xvid_virtualdub/1minuto.avi --sout "#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128,sfilter=logo}:std{access=file,dst=new_video.avi }
515 vlc --logo-file logo.png -vvv sorgenti/xvid_virtualdub/1minuto.avi --sout "#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128,sfilter=logo}:std{access=file,mux=avi,dst=new_video.avi }
516 vlc --logo-file logo.png -vvv sorgenti/xvid_virtualdub/1minuto.avi --sout "#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128,sfilter=logo}:std{access=file,mux=avi,dst=new_video.avi}
517 vlc --logo-file logo.png -vvv sorgenti/xvid_virtualdub/1minuto.avi --sout "#transcode{vcodec=mp2v,acodec=mpga,vb=800,ab=128,sfilter=logo}:std{access=file,mux=avi,dst=new_video.avi}
518 vlc --logo-file logo.png -vvv sorgenti/xvid_virtualdub/1minuto.avi --sout "#transcode{vcodec=mp2v,acodec=mpga,vb=800,ab=128,sfilter=logo}:std{access=file,mux=ps,dst=new_video.avi}
519 vlc --logo-file logo.png -vvv sorgenti/xvid_virtualdub/1minuto.avi --sout "#transcode{vcodec=mp2v,acodec=mp2,vb=800,ab=128,sfilter=logo}:std{access=file,mux=ps,dst=new_video.avi}
520 vlc --logo-file logo.png -vvv sorgenti/xvid_virtualdub/1minuto.avi --sout "#transcode{vcodec=mp2v,acodec=mp2,vb=800,ab=128,sfilter=logo}:std{access=file,mux=ps,dst=new_video.mpg}


(the numbers it's about my bash histiry)

The result is that in the bash there is the > symbol but nothing it's create...
I see also in htop the vlc process thaa doesn't use cpu.
The vlc version it's the lenny deb packages.


Thanks for your help


Pierpaolo

revolunet
Big Cone-huna
Big Cone-huna
Posts: 515
Joined: 17 Oct 2007 13:16
VLC version: 0.9.8
Operating System: Vista
Location: Paris, France
Contact:

Re: Definitive bash instruction for insert logo image in files

Postby revolunet » 14 Feb 2008 12:04

befre using overlay, transcoding...

do this works ?

Code: Select all

vlc sorgenti/xvid_virtualdub/1minuto.avi
VLC & web IT consulting - http://www.revolunet.com
Github : http://github.com/revolunet

airtek
Blank Cone
Blank Cone
Posts: 17
Joined: 06 Nov 2007 20:10

Re: Definitive bash instruction for insert logo image in files

Postby airtek » 14 Feb 2008 12:25

yes , sorry beacuse i'm not in the root , this is the command line with full paths.


vlc --logo-file /mnt/backup/logo.png -vvv /mnt/backup/sorgenti/xvid_virtualdub/1minuto.avi --sout "#transcode{vcodec=mp2v,acodec=mp2,vb=800,ab=128,sfilter=logo}:std{access=file,mux=ps,dst=new_video.mpg}


Thanks

Pierpaolo

revolunet
Big Cone-huna
Big Cone-huna
Posts: 515
Joined: 17 Oct 2007 13:16
VLC version: 0.9.8
Operating System: Vista
Location: Paris, France
Contact:

Re: Definitive bash instruction for insert logo image in files

Postby revolunet » 14 Feb 2008 12:35

i dunno you have to check the verbose log (-vvv) with the wiki command example
VLC & web IT consulting - http://www.revolunet.com
Github : http://github.com/revolunet


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 13 guests