[FFmpeg-user] ffmpeg PNG watermark location issue

spider58 spider58 at gmail.com
Mon Dec 12 09:42:39 CET 2011


Im using ffmpeg.exe for watermark on windows.

2 different ffmpeg command

1st and* WORKING* (PNG at same location of ffmpeg.exe)

*ffmpeg -i c:\myvid.flv -vf "movie=mylogo.png [logo]; [in][logo]
overlay=0:0 [out]" c:\mynewvid.flv*

2nd and *Not WORKING* (PNG at different location from ffmpeg.exe)

*ffmpeg -i c:\myvid.flv -vf "movie=d:\directory\mylogo.png [logo];
[in][logo] overlay=0:0 [out]" c:\mynewvid.flv*

i've got error message about PNG location. ffmpeg is replacing PNG
location  from *d:\directory\mylogo.png     to     **directorymylogo.png*

i found a way and using command such as (with double slashhes)

*ffmpeg -i c:\myvid.flv -vf "movie=d::\\directory\\mylogo.png [logo];
[in][logo] overlay=0:0 [out]" c:\mynewvid.flv*

this time ffmpeg is replacing PNG location from
to    **:\directory\mylogo.png*

so loses my D drive LETTER Anyway.

How can i use PNG at different locaiton,  D, C, E or any drive

Thanks for your relations

More information about the ffmpeg-user mailing list