On 9/15/15, kchandu5200 <[email protected]> wrote: > Thanks for you response, > lutyuv not working. If i am running wrong command, please make me to write > command. > > ffmpeg -i input_1.mp4 -i 1.png -filter_complex "[0:v] setpts=PTS-STARTPTS > [vid]; [1:v] setpts=PTS-STARTPTS, lutyuv=a=0.1, scale=100x100 [img1]; > [vid][img1] overlay=200:166:enable='between(t,0,4)'" -c:v libx264 -r 24 -crf > 25 -codec:a copy -y output.mp4 >
alpha is not in float, it is integer from 0 to 255 for 8bit depth: ffmpeg -i input_1.mp4 -i 1.png -filter_complex "[0:v] setpts=PTS-STARTPTS [vid]; [1:v] setpts=PTS-STARTPTS, lutyuv=y=val:u=val:v=val:a=25, scale=100x100 [img1]; [vid][img1] overlay=200:166:enable='between(t,0,4)'" -c:v libx264 -r 24 -crf 25 -codec:a copy -y output.mp4 > > > > > -- > View this message in context: > http://ffmpeg-users.933282.n4.nabble.com/Add-transparency-image-to-video-tp4672361p4672365.html > Sent from the FFmpeg-users mailing list archive at Nabble.com. > _______________________________________________ > ffmpeg-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
