Comments (9)
Please use POSITION_NUMBER=2
on this line?
from ffmpeg-video-slideshow-scripts.
Thank you so much for your reply,
In my case, remove POSITION_FORMULA help me get happy results.
from ffmpeg-video-slideshow-scripts.
Great 👍
from ffmpeg-video-slideshow-scripts.
Hi @tanersener ,
I'm trying to make another animation with zoom in and pan filter. I don't want the raw image zoomin and pan. I just want the raw image move from left to right.
I think I will need to make some animation on [stream${c}raw] from line 77 in zoom_in_and_pan_with_fade_in_out_one.sh but cannot do that.
Would you please help me out?
from ffmpeg-video-slideshow-scripts.
# 4. PREPARE INPUTS & FADE IN/OUT PARTS
section fits images to screen. If you don't apply zoom effect and move the image left/right then background color will be shown during the movement, similar to the beginning of Stack
transitions. Is this what you want to implement?
from ffmpeg-video-slideshow-scripts.
No, that's not I want to implement.
I want to pan the raw image (left to right or right to left), while still blur background.
from ffmpeg-video-slideshow-scripts.
I changed line 67 to this:
FULL_SCRIPT+="[stream${c}blurred][stream${c}raw]overlay=x='-(overlay_w-${WIDTH})+(overlay_w-${WIDTH})*t/${IMAGE_DURATION}':y='if(gte(H,${HEIGHT}),0,overlay_h/2)',trim=duration=${IMAGE_DURATION},format=yuv420p[stream$((c+1))out];"
But the moving is too fast. How can I slow down it?
from ffmpeg-video-slideshow-scripts.
Line 67 controls SCREEN_MODE = 1. If you want to use blurred background you need to use SCREEN_MODE = 4 and update Line 78.
(main_w-overlay_w)/2
expression of overlay filter in Line 78 defines the horizontal position (x). It is currently fixed and defines the horizontal center. You need to update it.
FULL_SCRIPT+="[stream${c}blurred][stream${c}raw]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2:format=rgb,setpts=PTS-STARTPTS,split=2[stream$((c+1))out1][stream$((c+1))out2];"
from ffmpeg-video-slideshow-scripts.
Thank you so much for your help.
from ffmpeg-video-slideshow-scripts.
Related Issues (20)
- Can't resize the window HOT 7
- No font available in the Add text modal HOT 1
- It takes too much time to generate a video from a picture HOT 2
- Merge Multiple Video with original sound Video HOT 1
- Invalid stream specifier:
- How to random transition to the slideshow? HOT 7
- loose Quality of video output HOT 1
- can we run this Script on Android FFmpeg?
- Provide more font overlay styles and animations HOT 5
- dropped frame HOT 9
- Concatenating video files are always throws an error HOT 6
- How Can I Replicate These Scripts in Python
- Is there any way I can control the image quality of each frame in the result video? HOT 2
- /script_1.sh: /bin/bash^M: bad interpreter: No such file or directory HOT 3
- Could we mix Zoom in & pan #1 for Image, and Zoom in & pan #2 for Video in one script HOT 1
- [Suggest] clock smooth
- Borders on photos
- Argument list too long for video-slideshow-script-generator
- Pagination?
- Can we get a reference or guidance on using the mobile-ffmpeg HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ffmpeg-video-slideshow-scripts.