![]() See the ffmpeg filters documentation for more information. ![]() filter_complex is a really flexible command and can do much much more than is shown here. You can use this technique to overlay multiple files on top of each other, or even have a dynamic overlay. The offset is specified as overlay=x:y where x is the x offset in pixels and y is the y offset in pixels overlay=0:0 specifies the position of the overlay, in this case the overlay image is assumed to be the same size as the video so no offset is needed.joins the two video streams together, stream 1 is the set of images, stream 2 is the overlay file.~/path_to_overlay.png is the full/relative path to the overlay image. ![]() ffmpeg -r 60 -f image2 -s 1920x1080 -i pic%04d.png -i ~/path_to_overlay.png -filter_complex " overlay=0:0" -vcodec libx264 -crf 25 -pix_fmt yuv420p test_overlay.mp4
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |