Edit: its not liking it when I specify .exr as the output file....not sure if there's a fix to support exr in ffmpeg. Just pretends its .png then unless you can help with that as well
Hi so I transcoded a 30 min video into a 16 bit 1080p.exr image strip. I then plan on upscaling these images with ffmpeg to 4k. I then want to render it out again as an 8 bit h.264 .avi.
Somewhere here I want to apply sharpening to make the upscale a bit cleaner (this command looked nice when applied to the exr on their own):
-filter "unsharp=1x=13:ly=13"la=2.0"
Will unsharpening re-encode? Because my final video output is h.264 8/10bit I don't want to re-encode that.
My question is where in my commands should I be applying the unsharp? And should I only apply it once or as many times throughout that it makes things look nice?
I thought for simplicity I would divide my commands up, but maybe they should be done as a single command? Will a single command lessen the number of re-encodes any?
Step 1. Upscale:
ffmpeg -i %d.exr -vf scale=3840:-1 C:\Users\Me\Desktop\Test\output_3840.exr
Step 2: Turn images into .avi (not sure if this works for avi, i kno it works for mkv tho)
ffmpeg -framerate 500/21 -i %d.exr -c:v libx264 -crf 18 -pix_fmt yuv422p10le output.avi
Step 3: Unsharpen...but when/where?
-filter "unsharp=1x=13:ly=13"la=2.0"
I'm not even sure how to combine these, or like I said if doing so will limit the re-encodes. Is there a single command I can/should be using here based on the 3 above? I'll just do the audio as a separate command with -c copy so it doesn't re-encode, it makes it less confusing for me.