How to pass arguments to blend filter FFMPEG

ساخت وبلاگ

I am trying to merge 5 images and create a blinking video after combining them.I have successfully applied fade-in fade-out effect for them.

I am leaing FFMPEG.

Here is my command :

"-loop 1 -i "+path+"images_001.jpg " +
"-loop 1 -i "+path+"images_002.jpg " +
"-loop 1 -i "+path+"images_003.jpg " +
"-loop 1 -i "+path+"images_004.jpg " +
"-loop 1 -i "+path+"images_005.jpg " +
"-filter_complex " +
"[1:v][0:v]blend=all_expr='A*(if(gte(0.5,0.5),1,0.5/0.5))+B*(1-(if(gte(0.5,0.5),1,0.5/0.5)))'[b1v];" +
"[2:v][1:v]blend=all_expr='A*(if(gte(0.5,0.5),1,0.5/0.5))+B*(1-(if(gte(0.5,0.5),1,0.5/0.5)))'[b2v];" +
"[3:v][2:v]blend=all_expr='A*(if(gte(0.5,0.5),1,0.5/0.5))+B*(1-(if(gte(0.5,0.5),1,0.5/0.5)))'[b3v];" +
"[4:v][3:v]blend=all_expr='A*(if(gte(0.5,0.5),1,0.5/0.5))+B*(1-(if(gte(0.5,0.5),1,0.5/0.5)))'[b4v];" +
"[0:v][b1v][1:v][b2v][2:v][b3v][3:v][b4v][4:v]concat=n=9:v=1:a=0,format=yuv420p[v] -map [v] "+path+"out.mp4"

on Executing this command the process keeps running forever. There is my screenshot of that thing :

I think i need to pass the values for A and B. I have tried passing (0,0). But still the result is same. Tell me if i am doing anything wrong.

I know i am missing something silly. As i am new in ffmpeg it will be a favor if anyone can guide me in executing this command further.

Recent Questions...
ما را در سایت Recent Questions دنبال می کنید

برچسب : نویسنده : استخدام کار superuser بازدید : 298 تاريخ : جمعه 31 ارديبهشت 1395 ساعت: 14:02