|
|
On 15/07/2023 6:43 PM, Josh English wrote:
>
> Since I'm using Windows, I can't use a Post_Scene_Command, so I thought
> I could use Python.
It doesn't answer your question but you can do Post_Scene_Command using
a windows batch file, here is my setup:
In the ini file:
Output_File_Name=D:\Files\POV-Ray\ANI0\PovRay0.png
Post_Scene_Command=D:\Files\POV-Ray\Bats\PostScene2.bat
PostScene2.bat:
-----------------------------------------------------------------------
@echo off
D:
cd D:\Files\POV-Ray\ffmpeg-20200612-38737b3-win64-static\bin
echo Running ffmpeg. Press [q] to stop, [?] for help
ffmpeg -hide_banner -loglevel warning -stats -framerate 24 -i
D:\Files\POV-Ray\ANI0\PovRay%%04d.png -codec:v libx264 -y -pix_fmt
yuv420p D:\Files\POV-Ray\Animations\POVout.mp4
echo Running ffplay
ffplay -hide_banner -loglevel warning -loop -1
D:\Files\POV-Ray\Animations\POVout.mp4
-----------------------------------------------------------------------
Post a reply to this message
|
|