サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
参議院選挙2025
zulko.github.io
This article shows how easy it is to read or write video frames with a few lines of Python, by calling the external software FFMPEG through pipes. If you want a battle-tested and more sophisticated version, check out my module MoviePy. See also this other article for the same with audio files. Before we start, you must have FFMPEG installed on your computer and you must know the name (or path) of
Yet another big problem of the Internet era tackled by Mathematics. Looping GIFs are a very popular form of art on the Web, with two dedicated forums on Reddit (r/perfectloops and r/cinemagraphs) and countless Tumblr pages. Finding and extracting well-looping segments from a movie requires much attention and patience, and will likely leave you like this in front of your computer: To make things ea
Python has some great data visualization librairies, but few can render GIFs or video animations. This post shows how to use MoviePy as a generic animation plugin for any other library. MoviePy lets you define custom animations with a function make_frame(t), which returns the video frame corresponding to time t (in seconds): from moviepy.editor import VideoClip def make_frame(t): """ returns an im
This post presents Vapory, a library I wrote to bring POV-Ray’s 3D rendering capabilities to Python. POV-ray is a popular 3D rendering software which produces photo-realistic scenes like this one: It may not be as good as Cinema4D or Pixar’s RenderMan, but POV-Ray is free, open-source, and cross-platform. Rendering is launched from the terminal with povray myscene.pov, where myscene.pov contains t
I am a big fan of Dave Whyte’s vector animations, like this one: It was generated using a special animation language called Processing (here is Dave’s code). While it seems powerful, Processing it is not very elegant in my opinion ; this post shows how to do similar animations using two Python libraries, Gizeh (for the graphics) and MoviePy (for the animations). Gizeh and Moviepy Gizeh is a Python
Sometimes producing a good animated GIF requires a few advanced tweaks, for which scripting can help. So I added a GIF export feature to MoviePy, a Python package originally written for video editing. For this demo we will make a few GIFs out of this trailer:
easyAI¶ EasyAI is an artificial intelligence framework for two-players abstract games such as Tic Tac Toe, Connect 4, Reversi, etc. It is written in Python and makes it easy to define the mechanisms of a game and play against the computer or solve the game (see A quick example). Under the hood, the AI is a Negamax algorithm with alpha-beta pruning and transposition tables as described on Wikipedia
MoviePy documentation# Date: Jan 26, 2025 Version: Useful links: Binary Installers | Source Repository | Issues & Ideas | Q&A Support | MoviePy is the Python reference tool for video editing automation! It’s an open source, MIT-licensed library offering user-friendly video editing and manipulation tools for the Python programming language.
このページを最初にブックマークしてみませんか?
『zulko.github.io』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く