Scroll video left to right and back

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Scroll video left to right and back

johnsmithbin
I have a video (A) placed on the background video (B). I want video A to
rotate around video B or left to right and back right to left. I tried code:
/ffmpeg -y -i video1.mp4 -i video2.mp4 -i "Filter_HD.png" -filter_complex
"[0:v]scale=840:460 [v1]; [2:v]scale=840:460 [v2]; [v1][v2]overlay=0:0 [v3];
[1:v]boxblur=9:8,scale=1280:720 [v4];
[v4][v3]overlay=enable='between(t,1,8*60)':x='if(lte(-w+(t)*50,w/11),-w+(t)*50,w/2)':y=100[out],setdar=16/9"
-map "[out]" -threads 0 -preset superfast out.mp4/
But it moves and does not repeat. Please help me.

<http://www.ffmpeg-archive.org/file/t378165/movie.jpg>



--
Sent from: http://www.ffmpeg-archive.org/
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".