Am 16.12.2023 um 23:41 schrieb emmanuel martin:
Thanks for answering ! I took some time to understand the jpg frequency at
25fps. I made the following modifications and it works very well :
ffmpeg -framerate 30 -loop 1 -i participant1.jpg -framerate 30 -i
participant1.jpg -filter_complex "\
[0]split=2[v1][v2];\
[v2]format=rgba,lut3d='red.cube'[v3];\
[v3]fade=in:st=0.25:d=2.93:alpha=1[ov];\
[v1][ov]overlay[bg];\
[bg][1]overlay=enable='eq(n,109)'[out1];\
[out1][1]overlay=enable='eq(n,111)'[out2];\
[out2][1]overlay=enable='eq(n,113)'[out3];\
[out3][1]overlay=enable='eq(n,115)'[outv]"\
-map "[outv]" -c:v libx264 -t 8 -pix_fmt yuv420p -r 30 output.mp4
yes, if you want to insert only one frame, it's better to use the frame
number instead of a time interval.
Michael
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".