Advertisement
Guest User

Untitled

a guest
Aug 24th, 2020
1,397
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. ffmpeg \
  2. -i v0.mp4 \
  3. -i v2.mp4 \
  4. -i v3.mp4 \
  5. -i v4.mp4 \
  6. -i v5.mp4 \
  7. -filter_complex \
  8. "[0][1]xfade=transition=fade:duration=0.5:offset=3.500000[V01]; \
  9. [V01][2]xfade=transition=fade:duration=0.5:offset=6.366667[V02]; \
  10. [V02][3]xfade=transition=fade:duration=0.5:offset=13.800000[V03]; \
  11. [V03][4]xfade=transition=fade:duration=0.5:offset=20.433333,format=yuv420p[video]; \
  12. [0:a]aresample=async=1:first_pts=0,apad,atrim=0:4[A0]; \
  13. [1:a]aresample=async=1:first_pts=0,apad,atrim=0:3.366667[A1]; \
  14. [2:a]aresample=async=1:first_pts=0,apad,atrim=0:7.933333[A2]; \
  15. [3:a]aresample=async=1:first_pts=0,apad,atrim=0:7.133333[A3]; \
  16. [4:a]aresample=async=1:first_pts=0,apad,atrim=0:6.566667[A4]; \
  17. [A0][A1]acrossfade=d=0.5:c1=tri:c2=tri[A01]; \
  18. [A01][A2]acrossfade=d=0.5:c1=tri:c2=tri[A02]; \
  19. [A02][A3]acrossfade=d=0.5:c1=tri:c2=tri[A03]; \
  20. [A03][A4]acrossfade=d=0.5:c1=tri:c2=tri[audio]" \
  21. -map "[video]" -map "[audio]" -movflags +faststart out4.mp4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement