Hi everybody. Please help me. I download ffmpeg+libavfilter from svn://svn.ffmpeg.org/soc/libavfilter.
I need to watermark my video. I use this command and it is work for me "/usr/local/bin/ffmpeg -i out.avi -vf "movie=0:png:logo_small.png [wm];[in][wm] overlay=0:0:1 [out]" 555.avi " BUT if i try to change margin of my watermark (overlay=10:10:1) its broke my video (see screen - http://img163.imageshack.us/img163/1006/sreene.png). You can see green streaks. I try another video, but result was the same. Also i try "overlay=main_w-overlay_w-10:main_h-overlay_h-10" but it still make green streaks. How i can place logo in the bottom right corner of the input video? root@/home/daraba/public_html/ffmpeg# /usr/local/bin/ffmpeg -i out.avi -vf "movie=0:png:logo_small.png [wm];[in][wm] overlay=10:10:1 [out]" 555.avi FFmpeg version SVN-r25118, Copyright (c) 2000-2010 the FFmpeg developers built on Sep 23 2010 10:13:30 with gcc 4.4.3 configuration: --enable-avfilter --enable-filter=movie --enable-gpl --enable-libx264 libavutil 50.26. 0 / 50.26. 0 libavcore 0. 9. 0 / 0. 9. 0 libavcodec 52.89. 0 / 52.89. 0 libavformat 52.78. 5 / 52.78. 5 libavdevice 52. 2. 2 / 52. 2. 2 libavfilter 1.39. 0 / 1.39. 0 libswscale 0.11. 0 / 0.11. 0 Input #0, avi, from 'out.avi': Metadata: ISFT : Lavf52.31.0 Duration: 00:00:18.50, start: 0.000000, bitrate: 413 kb/s Stream #0.0: Video: mpeg4, yuv420p, 740x528 [PAR 1:1 DAR 185:132], 4 fps, 4 tbr, 4 tbn, 4 tbc File '555.avi' already exists. Overwrite ? [y/N] y [buffer @ 0xabc5af0] w:740 h:528 pixfmt:yuv420p [overlay @ 0xabc5f90] auto-inserting filter 'auto-inserted scaler 0' between the filter 'Filter 0 movie' and the filter 'Filter 1 overlay' [scale @ 0xac16f90] w:180 h:74 fmt:bgra -> w:180 h:74 fmt:yuva420p flags:0xa0000004 Output #0, avi, to '555.avi': Metadata: ISFT : Lavf52.78.5 Stream #0.0: Video: mpeg4, yuv420p, 740x528 [PAR 1:1 DAR 185:132], q=2-31, 200 kb/s, 4 tbn, 4 tbc Stream mapping: Stream #0.0 -> #0.0 Press [q] to stop encoding frame= 74 fps= 0 q=4.2 Lsize= 951kB time=18.50 bitrate= 421.2kbits/s video:944kB audio:0kB global headers:0kB muxing overhead 0.783307% _______________________________________________ FFmpeg-soc mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc
