[libav-tools] Help needed for doing overlay

smart people getmurugan_g at yahoo.com
Sat Apr 6 09:14:20 CEST 2013


I have use the following command on ffmpeg for overlay three video same I tried on avconv it is not working some thing , I should change in the avconv I could not understand what I have to change, I am unable to find any example for this, any help is appreciated 

         -i "rtmp://localhost:1935/live/mystream1?listen=1 live=1" -re -i "rtmp://localhost:1935/live/mystream2?listen=1 live=1 " -re -i "rtmp://localhost:1935/live/mystream3?listen=1 live=1 " -filter_complex "nullsrc=size= 520x326 [b1];[0:v] setpts=PTS-STARTPTS,scale=512*288 [s1];[1:v] setpts=PTS-STARTPTS,scale = 64*36 [s2];[2:v] setpts=PTS-STARTPTS,scale = 64*36 [s3];[b1][s1] overlay=x=3:y=0 [b1+s1];[b1+s1][s2] overlay=x=0:y=289 [b1+s2];[b1+s2][s3] overlay=x=65:y=289;amix=inputs=3" -vcodec libx264 -acodec libmp3lame -b:a 32k -b:v 1024k -preset fast -tune zerolatency -f flv rtmp://localhost:1935/live/testmystream

Thanks and Regards,
Thirumalai murugan.G
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libav.org/pipermail/libav-tools/attachments/20130406/8188f192/attachment.html>

More information about the libav-tools mailing list