Recode Your Video To Match Telegram Video Sticker Spec
0
0
ffmpeg -i video.mp4 -vf "scale='if(eq(a,1),512,if(gt(a,1),512,-2))':'if(eq(a,1),512,if(gt(a,1),-2,512))'" -c:v libvpx-vp9 -an -crf 24 -b:v 0 -r 30 video.webm
ffmpeg -i video.mp4 -vf "scale='if(eq(a,1),512,if(gt(a,1),512,-2))':'if(eq(a,1),512,if(gt(a,1),-2,512))'" -c:v libvpx-vp9 -an -crf 24 -b:v 0 -r 30 video.webm