Comments (5)
[stream2ending] is not used. This is why it fails. Also fixed two expressions which fail later.
Can you try the following one?
ffmpeg -y \
-loop 1 -i ../photos/1.jpg \
-loop 1 -i ../photos/2.jpg \
-filter_complex "\
[0:v]setpts=PTS-STARTPTS,scale=w='if(gte(iw/ih,1920/1280),min(iw,1920),-1)':h='if(gte(iw/ih,1920/1280),-1,min(ih,1280))',scale=trunc(iw/2)*2:trunc(ih/2)*2,setsar=sar=1/1,format=rgba,split=2[stream1out1][stream1out2];\
[1:v]setpts=PTS-STARTPTS,scale=w='if(gte(iw/ih,1920/1280),min(iw,1920),-1)':h='if(gte(iw/ih,1920/1280),-1,min(ih,1280))',scale=trunc(iw/2)*2:trunc(ih/2)*2,setsar=sar=1/1,format=rgba,split=2[stream2out1][stream2out2];\
[stream1out1]pad=width=1920:height=1280:x=(1920-iw)/2:y=(1280-ih)/2:color=#00000000,trim=duration=3,select=lte(n\,90)[stream1overlaid];\
[stream1out2]pad=width=1920:height=1280:x=(1920-iw)/2:y=(1280-ih)/2:color=#00000000,trim=duration=1,select=lte(n\,30)[stream1ending];\
[stream2out1]pad=width=1920:height=1280:x=(1920-iw)/2:y=(1280-ih)/2:color=#00000000,trim=duration=2,select=lte(n\,60)[stream2overlaid];\
[stream2out2]pad=width=1920:height=1280:x=(1920-iw)/2:y=(1280-ih)/2:color=#00000000,trim=duration=1,select=lte(n\,30)[stream2starting];\
[stream1ending][stream2starting]overlay=y='-h+t/1*1280':x=0,select=lte(n\,30)[stream2blended];\
[stream1overlaid][stream2blended][stream2overlaid]concat=n=3:v=1:a=0,format=yuv420p[video]"\
-map [video] -vsync 2 -async 1 -rc-lookahead 0 -g 0 -profile:v main -level 42 -c:v libx264 -r 30 ../transition_wipe_in_vertical.mp4
from ffmpeg-video-slideshow-scripts.
Great now work well.
Can you talk me which expresions has been fixed, I need use other scripts.
from ffmpeg-video-slideshow-scripts.
They are probably just copy/paste errors.
trunc(ih/2)2
updated as trunc(ih/2)*2
y='-h+t/11280'
updated as y='-h+t/1*1280'
from ffmpeg-video-slideshow-scripts.
Thanks for your help, thank you very much
from ffmpeg-video-slideshow-scripts.
You are welcome
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.