Workflow Discussion VEAI

What tools do you all use for different aspects of your VEAI workflow?

I am using Handbrake to quickly deinterlace .mkv files to .m4v and then processing that into VEAI.

However, I received a warning that .mp4 cannot handle greater than 4k files? So, I processed a file to .png and now I have 60,000+ .png files and am struggling to figure out what to do with them. Ideally, I’d like to get them into h.265, but in some cases, I might want to pass them through VEAI again.

What is everyone using to convert the .pngs to h.265?

What is everyone using for convert the .pngs into a format to run back into VEAI?

What other workflow tools are people using?

Thank you.

Virtualdub2

I’m using Avisynth to deinterlace, and ffmpeg to encode the images. Here’s an example ffmpeg -> h.265 command line. This outputs in 10 bit format, which I think makes dark scenes look better. You can change “format” to yuv420p if you just want 8 bit. This will cooy the audio and subtitle streams from the source file:

ffmpeg -thread_queue_size 512 \
 -framerate "$target_framerate" \
 -i "$image_dir/%06d.png" \
 -thread_queue_size 512 \
 -i "$source_file" \
 -max_interleave_delta 0 \
 -vf format=yuv420p10le \
 -map 0:v:0 \
 -c:v libx265 \
 -crf 20 \
 -profile:v main10 \
 -preset veryslow \
 -map 1:a? \
 -c:a copy \
 -map 1:s? \
 -c:s copy \
 -disposition:s:0 0 \
 -r "$target_framerate" \
 "$out"

This is bash; so the variables might be set using:

target_framerate=“24000/1001”
image_dir="/path/to/images/"
source_file="/path/to/original-file.mkv"
out="/path/to/final-encoded-file.mkv"