VideoHelp Forum




+ Reply to Thread
Results 1 to 10 of 10
  1. Hi, if you can help the cat thanks

    in avisynth, or ffmpeg, can I do a slight zoom in
    over a photo?
    Quote Quote  
  2. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    https://forum.doom9.org/showthread.php?t=168266

    As for ffmpeg, probably ProWo knows the dirty tricks.
    "Programmers are human-shaped machines that transform alcohol into bugs."
    Quote Quote  
  3. Code:
    ffmpeg.exe -y -i v:\despcat1.jpg -i v:\despcat2.jpg -filter_complex "[0:v]scale=8000:-1,zoompan=z='min(zoom+0.0015,1.5)':d=417:s=578x870,setsar=1[v0]; [1:v]scale=8000:-1,zoompan=z='if(lte(zoom,1.0),1.5,max(1.021,zoom-0.0020))':d=417:s=578x870,setsar=1,fade=t=in:st=0:d=5[v1];[v0][v1]concat=n=2:v=1:a=0,format=yuv420p[v]" -c:v libx264 -map "[v]" -t 300 -threads 2 video.mp4

    For kindness I need help how to overlay the first .jpg with the second .jpg
    Quote Quote  
  4. Originally Posted by marcorocchini View Post
    Code:
    ffmpeg.exe -y -i v:\despcat1.jpg -i v:\despcat2.jpg -filter_complex "[0:v]scale=8000:-1,zoompan=z='min(zoom+0.0015,1.5)':d=417:s=578x870,setsar=1[v0]; [1:v]scale=8000:-1,zoompan=z='if(lte(zoom,1.0),1.5,max(1.021,zoom-0.0020))':d=417:s=578x870,setsar=1,fade=t=in:st=0:d=5[v1];[v0][v1]concat=n=2:v=1:a=0,format=yuv420p[v]" -c:v libx264 -map "[v]" -t 300 -threads 2 video.mp4

    For kindness I need help how to overlay the first .jpg with the second .jpg
    For study - see the examples here:
    https://ffmpeg.org/ffmpeg-filters.html#overlay
    Quote Quote  
  5. this is my photo1

    Image
    [Attachment 86598 - Click to enlarge]


    and this the background

    Image
    [Attachment 86596 - Click to enlarge]


    I have try with this commandline but I cannot get my image in overlay with the background

    Code:
    ffmpeg.exe -y -i v:\despcat1.jpg -i v:\despcat2.jpg -filter_complex "[0:v]scale=8000:-1,zoompan=z='min(zoom+0.0015,1.5)':d=417:s=578x870,setsar=1[v0]; [1:v]scale=8000:-1,zoompan=z='if(lte(zoom,1.0),1.5,max(1.021,zoom-0.0020))':d=417:s=578x870,setsar=1,fade=t=in:st=0:d=5[v1];[v0][v1]concat=n=2:v=1:a=0,format=yuv420p[v]" -c:v libx264 -map "[v]" -t 300 -threads 2 video.mp4
    and I get a wrong result:

    Image
    [Attachment 86597 - Click to enlarge]


    can someone tellme how I can do?
    Quote Quote  
  6. Use powerpoint or similar graphic tool, copy/paste/resize the pics, save the result and import the picture in your video editor
    Quote Quote  
  7. Image
    [Attachment 86602 - Click to enlarge]


    <--### here the poor cat, please help a poor cat
    Quote Quote  
  8. Image
    [Attachment 86616 - Click to enlarge]


    can someone help a poor and lonely cat?

    I need to embed in the commandline the overlay from my image and the background
    Quote Quote  
  9. Member Cornucopia's Avatar
    Join Date
    Oct 2001
    Location
    Deep in the Heart of Texas
    Search PM
    Where's the necessary alpha channel?


    Scott
    Quote Quote  
  10. my target is something like:

    Image
    [Attachment 86623 - Click to enlarge]


    but I need to encode a video: where the background is overlayed with the foreground zoompaned image, with ffmpeg (or avisynth)
    Last edited by marcorocchini; 16th Apr 2025 at 14:45.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!