View Full Version : EXR sequence import output issues


anton_foy
23rd August 2026, 23:13
Hi,

When I use this below output is correct but it can only use 1 frame and not a sequence (48 frames in the sequence):

FFVideoSource("F:\tester\frame_0000.exr", cache=true)
z_ConvertFormat(pixel_type="YUV444PS", colorspace_op="rgb:linear:709:full=>709:linear:709:full")

neo_vd().removegrain(2)

ConvertBits(32)
z_ConvertFormat(pixel_type="RGBPS", colorspace_op="709:linear:709:full=>rgb:linear:709:full")
prefetch(16)

then ffmpeg:
ffmpeg -i exr.avs -c:v exr -pix_fmt gbrpf32le avs_seq_%04d.exr

But when using this below to be able to input the whole sequence the output is incorrect because when I import the exr sequence to davinci resolve the information in in highlights are lost and clipped:

ImageSource("F:\tester\frame_%04d.exr", start=0, end=48, fps=25, use_DevIL=true, pixel_type="RGB64")
ConvertToPlanarRGB()
z_ConvertFormat(pixel_type="YUV444PS", colorspace_op="rgb:linear:709:full=>709:linear:709:full")

neo_vd().removegrain(2)

ConvertBits(32)
z_ConvertFormat(pixel_type="RGBPS", colorspace_op="709:linear:709:full=>rgb:linear:709:full")
prefetch(16)

then ffmpeg:
ffmpeg -i exr.avs -c:v exr -pix_fmt gbrpf32le avs_seq_%04d.exr


Any idea how I can get the same output as the first script but importing the whole sequence? Thanks

Reel.Deel
24th August 2026, 00:41
LwLibavVideoSource can handle image sequences also. Something like LwLibavVideoSource("output_%02d.jpg") # or output_%02d.png

More info here: https://forum.doom9.net/showthread.php?p=1995276

anton_foy
24th August 2026, 21:01
Thanks but sadly Avisynth open failure: LwLibavVideoSource: gbrpf32le is not supported

DTL
28th August 2026, 22:47
Ffvideosource can load reqiured float32 exr format. Can you first convert exr file sequence in the single movie file with reqiured float32 rgb samples format (any compatible with avs file sources) ? I hope ffmpeg can do required conversion.
It looks ImageReader source filter need update to read and pass rgbps formats without conversion to rgb64 integer with data loss.

anton_foy
2nd September 2026, 18:43
Thank you DTL I think I will take another route all together (maybe vapoursynth) or I will try your suggestion for the next project.