- Fix application configuration to enable large file storage and efficient handling for diverse file formats. - Update ignore list with new files for dev, .vs, and assets/testing. - Fix banner image metadata to include accurate pipelinetype version information, enabling proper rendering and display on all platforms. - Fix the PNG image asset by adding its metadata, including version, OID, and size. - Fix bug in logo image checksum by adding Git LFS metadata. - Add feature to automate pipeline processing with improved error handling.
39 lines
1.1 KiB
Batchfile
39 lines
1.1 KiB
Batchfile
@echo off
|
|
setlocal
|
|
|
|
rem === SETTINGS ===
|
|
set FRAMERATE=30
|
|
set START=86400
|
|
set FRAMES=C:\Users\Eugene\Videos\Davinci\upscayl_png_upscayl-standard\Timeline_%%05d.png
|
|
set OUTPUT_MP4=output_4k_hevc.mp4
|
|
set OUTPUT_PRORES=output_4k_prores.mov
|
|
|
|
rem === 4K GPU-ACCELERATED HEVC ENCODE (FAST + CLEAN) ===
|
|
echo 🎥 Creating 4K video using RTX 3070 hardware encoder...
|
|
ffmpeg -framerate %FRAMERATE% -start_number %START% -i %FRAMES% ^
|
|
-vf scale=3840:2160 -c:v hevc_nvenc -preset slow -b:v 20M -pix_fmt yuv420p %OUTPUT_MP4%
|
|
|
|
if %errorlevel% neq 0 (
|
|
echo ❌ Error during HEVC render!
|
|
pause
|
|
exit /b
|
|
)
|
|
|
|
echo ✅ 4K HEVC file created successfully: %OUTPUT_MP4%
|
|
|
|
rem === OPTIONAL: CREATE 4K PRORES MASTER (EDIT-READY) ===
|
|
echo 🎞️ Creating high-quality ProRes 4K master file...
|
|
ffmpeg -framerate %FRAMERATE% -start_number %START% -i %FRAMES% ^
|
|
-vf scale=3840:2160 -c:v prores_ks -profile:v 3 %OUTPUT_PRORES%
|
|
|
|
if %errorlevel% neq 0 (
|
|
echo ❌ Error during ProRes export!
|
|
pause
|
|
exit /b
|
|
)
|
|
|
|
echo ✅ ProRes master created successfully: %OUTPUT_PRORES%
|
|
echo.
|
|
echo 🎉 All done! Both 4K files are ready.
|
|
pause
|