Page 1 of 1

Definitive bash instruction for insert logo image in files

Posted: 14 Feb 2008 03:33
by airtek
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

Re: Definitive bash instruction for insert logo image in files

Posted: 14 Feb 2008 11:01
by revolunet
hello

have you read this page ? http://wiki.videolan.org/How_to_add_logo

Re: Definitive bash instruction for insert logo image in files

Posted: 14 Feb 2008 11:52
by airtek
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

Re: Definitive bash instruction for insert logo image in files

Posted: 14 Feb 2008 12:04
by revolunet
befre using overlay, transcoding...

do this works ?

Code: Select all

vlc sorgenti/xvid_virtualdub/1minuto.avi

Re: Definitive bash instruction for insert logo image in files

Posted: 14 Feb 2008 12:25
by airtek
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

Re: Definitive bash instruction for insert logo image in files

Posted: 14 Feb 2008 12:35
by revolunet
i dunno you have to check the verbose log (-vvv) with the wiki command example