I have used the below command to make a left to right transition of overlay image
ffmpeg -loop 1 -i download.jpg -filter_complex "[0:v][1:v]overlay=x='if(lte(-w+(t)*100,100),-w+(t)*100,100)':y=0[out]" -map '[out]' -y out.mp4
but i am getting below mention error.
libavutil 55. 18.100 / 55. 18.100 libavcodec 57. 24.103 / 57. 24.103 libavformat 57. 25.100 / 57. 25.100 libavdevice 57. 0.101 / 57. 0.101 libavfilter 6. 32.100 / 6. 32.100 libavresample 3. 0. 0 / 3. 0. 0 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.101 / 2. 0.101 libpostproc 54. 0.100 / 54. 0.100 [mjpeg @ 0x3530300] Changing bps to 8 Input #0, image2, from 'download.jpg': Duration: 00:00:00.04, start: 0.000000, bitrate: 1333 kb/s Stream #0:0: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 96x123 [SAR 1:1 DAR 32:41], 25 fps, 25 tbr, 25 tbn, 25 tbc Invalid file index 1 in filtergraph description [0:v][1:v]overlay=x='if(lte(-w+(t)*100,100),-w+(t)*100,100)':y=0[out].
what is wrong of this command ?.
- - , .
برچسب:
نویسنده: استخدام کار