HexaCone/fonctions.sh

26 lines
577 B
Bash
Raw Normal View History

2024-12-16 03:53:42 +11:00
set -eu
ff_encodage()
{
ffmpeg -nostdin \
-y -r 30 -f image2 -i frames/%05d.png \
-metadata artist='--[ tTh ]--' \
-metadata title='-- HexaCone --' \
-c:v libx264 \
-pix_fmt yuv420p \
-tune film \
wip.mp4
}
mp_encodage()
{
mencoder 'mf://frames/*.png' \
-mf \
2024-12-20 05:13:31 +11:00
fps=24 \
2024-12-16 03:53:42 +11:00
-ovc lavc \
-lavcopts vcodec=mpeg4 \
-o output.avi
}