Search Results
7/6/2025, 11:12:22 PM
>>105820878
md "%~dp1png"
T:/Recordings/ffmpeg.exe -i %1 -vf select="between(n\,STARTFRAME#\,ENDFRAME#),setpts=PTS-STARTPTS, fps=50/3" -vcodec png -an "%~dp1png\%~n1 %%04d.png"
pause
I use this to dump clips into png with frame precision at a frame rate that's more gif friendly (it's for my neocities). Drag and drop then spits them into an output folder with filenames in sequence up to 4 digits. I'm stupid with ffmpeg and cobbled together shit I found on google, if anyone wants to improve on it feel free to.
md "%~dp1png"
T:/Recordings/ffmpeg.exe -i %1 -vf select="between(n\,STARTFRAME#\,ENDFRAME#),setpts=PTS-STARTPTS, fps=50/3" -vcodec png -an "%~dp1png\%~n1 %%04d.png"
pause
I use this to dump clips into png with frame precision at a frame rate that's more gif friendly (it's for my neocities). Drag and drop then spits them into an output folder with filenames in sequence up to 4 digits. I'm stupid with ffmpeg and cobbled together shit I found on google, if anyone wants to improve on it feel free to.
Page 1