some ffmpeg usage collection.
ffmpeg -r 360 -start_number 181 -i 34-1/img%d.png -frames:v 900 -vcodec mpeg4 -b 5000k -y 2.mp4 -start_number 181, means start from 181st frame -frames:v 900, totally 900 frames -r 360, set…
ffmpeg -r 360 -start_number 181 -i 34-1/img%d.png -frames:v 900 -vcodec mpeg4 -b 5000k -y 2.mp4 -start_number 181, means start from 181st frame -frames:v 900, totally 900 frames -r 360, set…
This article records how to simuate the zoom out/in and moving camera synchronously when using matplotlib to render the animation below code is to assume we are going to zoom…
https://www.youtube.com/shorts/oEGJfSm7EKQ This article records how I created a Hypotrochoid video using matplotlib. the video is requiring below a few items. need to explain the two dot postion equation. could refer…
https://www.youtube.com/watch?v=b2YN8d6jjRI This article records how I created a Modular Arithmetic Multiplication Animation using manim. the video is requiring below a few items. totally 120 balls are there, totally 5 mins…
https://youtube.com/shorts/PN3veBRQD20 This article records how I created a Modular Arithmetic Multiplication Animation using manim. the video is requiring below a few items. totally 150 division are there, and would come…
https://www.youtube.com/watch?v=XA-gDB1HWuQ This article records how I created a Polyrhythms Visualization ainmation using manim. the video is requiring below a few items. it is pattern 3:4:5:6:7:8:9:10 sound effect is seperated from…
https://youtube.com/shorts/2gy1jIYi-FU This article records how I created a bouncing square video using manim, the video is requiring below a few items. speeding is raised when hit the boundry the sound…
This chapter aims to document how the author accelerates video playback, such as increasing it by 100 times, it seems cv2 is not able to set 1000 FPS, hence I…
This chapter aims to document how the author adds text to each frame of the video # Importing all necessary libraries import cv2 import os def makeVideo(path, video_name): cam =…