[FFmpeg-user] insert a logo with transparency

Rossana Guerra guerra.rossana at gmail.com
Mon Jun 25 04:39:21 CEST 2012


Well I installed the FFmpeg version for Ubuntu 12.04 (not the fork, the
"actual")

Now it seems I have problems to insert logo, there's a syntax error, I
can't realize what according to FFmpeg documentation.
I appreciate any help.

Thanks

Rossana

Below the complete output console:

// First, FFmpeg version installed

usuario at pangolin:~/Vídeos/Xelestina$ ffmpeg -version
ffmpeg version 0.10.4-6:0.10.4-0ubuntu0jon2
built on Jun 12 2012 23:02:05 with gcc 4.6.3
configuration: --extra-version='6:0.10.4-0ubuntu0jon2' --arch=amd64
--prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --disable-stripping
--enable-vaapi --enable-vdpau --enable-bzlib --enable-gnutls
--enable-libgsm --enable-libschroedinger --enable-libspeex
--enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib
--enable-libvpx --enable-runtime-cpudetect --enable-libfreetype
--enable-libpulse --enable-vaapi --enable-librtmp --enable-gpl
--enable-postproc --enable-x11grab --enable-libcdio --enable-version3
--enable-libdc1394 --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared
--disable-static
libavutil      51. 35.100 / 51. 35.100
libavcodec     53. 61.100 / 53. 61.100
libavformat    53. 32.100 / 53. 32.100
libavdevice    53.  4.100 / 53.  4.100
libavfilter     2. 61.100 /  2. 61.100
libswscale      2.  1.100 /  2.  1.100
libswresample   0.  6.100 /  0.  6.100
libpostproc    52.  0.100 / 52.  0.100


// The command to insert the logo.

usuario at pangolin:~/Vídeos/Xelestina$ ffmpeg -loglevel error -i video1.avi
-vf "movie=logo2.bmp [logo]; [in][logo] overlay=W-w-10:10:1[out]" -vcodec
libx264 -b 1400k outlogo30.avi >> logerror.txt
[overlay @ 0x1f6dd20] Missing key or no key/value separator found after key
'1'
Error initializing filter 'overlay' with args 'W-w-10:10:1'
Error opening filters!



2012/6/22 Rossana Guerra <guerra.rossana at gmail.com>

>
>
> 2012/6/22 Paul B Mahol <onemda at gmail.com>
>
>> On 6/22/12, Rossana Guerra <guerra.rossana at gmail.com> wrote:
>> > 2012/6/22 Carl Eugen Hoyos <cehoyos at ag.or.at>
>> >
>> >> Rossana Guerra <guerra.rossana <at> gmail.com> writes:
>> >>
>> >> > ffmpeg -loglevel error -i video1.avi -vf "movie=logo2.png [logo];
>> >> > [in][logo] overlay=W-w-10:10:1[out]" -vcodec libx264 -b 1400k
>> >> > outlogo10.avi >> logerror.txt
>> >> >
>> >> > In this case the bmp file is inserted correctly
>> >>
>> >> Which bmp? You are inserting a png above.
>> >>
>> >
>> > Sorry, my error. Actually it doesn't work the bmp with transparency with
>> > this command on the version I have.
>>
>> And it will not work, because you are using Libav version, while you
>> are asking help
>> on FFmpeg mailing list.
>> >
>> >>
>> >> > ffmpeg version 0.8.1-4:0.8.1-0ubuntu1
>> >>
>> >> This is an intentionally broken version of FFmpeg with several
>> >> hundred bugs not present in FFmpeg, since some of them look
>> >> security relevant (and since time is a limiting factor), please
>> >> understand that we cannot support this version here.
>> >>
>> >>
>> > A question about this issue. I am tempted to download the Ubuntu (PPA)
>> > FFmpeg version, I'm affraid the commands that work well for me now stop
>> > working after the 'upgrade'.
>>
>> I'm sorry but asking for help for something that is not supported on
>> this mailing list
>> is bad idea.
>>
>> Either use ffmpeg developed by FFmpeg developers or ask for help on
>> Libav mailing list.
>>
>
> Sorry, I am clueless, newbie mistakes. I'll download the ffmpeg ubuntu
> version.
>
> Thanks
>
> Rossana
>
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>
>


More information about the ffmpeg-user mailing list