Log in

View Full Version : .dpx file usage in AviSynth


EuropeanMan
17th April 2008, 01:52
I have some .dpx files that I want to work on in AviSynth.

They are frames that I'd like to denoise, sharpen up...and would like my output to be a single .dpx frame as well.

1920 x 1080 is the size...

Anyone help?

I know there is ImageSource...but will that work?

squid_80
17th April 2008, 07:56
I think I remember "importuncompressedfile" and "exportuncompressedfile", plugins that could do this.

Wilbert
17th April 2008, 18:04
Are they (always) uncompressed?

I found a few samples here:

ftp://ftp.graphicsmagick.org/pub/outgoing/dpx-samples.zip

I will see whether i can add it to immaread. ImageMagick should support it, so there's hope :)

unskinnyboy
18th April 2008, 01:44
Are they (always) uncompressed?No, DPX can be compressed too.

I found a few samples here:

ftp://ftp.graphicsmagick.org/pub/outgoing/dpx-samples.zipI can't get this link to work.

I will see whether i can add it to immaread. ImageMagick should support it, so there's hope :)immaread already supports DPX. No need for importuncompressedfile.

Wilbert
18th April 2008, 19:55
I can't get this link to work.
You need to use a ftp client :) Just use anonymous login, your email-address as password and the "url" as ip-address.

Mug Funky
21st April 2008, 13:26
i recommend very fast storage, a monster filtering machine and mtsource("blah") to speed things up a bit.

it's actually possible to denoise 2k stuff in avisynth, but damn it runs close to it's limits, especially in RGB (or RGB split into 3x YV12 greyscale clips, which is necessary but awful for performance).

try this line with the most recent "importuncompressedsequence" you can find. it's much much much faster than imagemagick, for the same (unfortunately truncated to 8 bit) output.

importuncompressedsequence("%06d.dpx","dirtycineon",0,750, 1920,1080,25,8192,0 )

the numbers at the end are inframe, outframe, width, height, framerate, header offset, and the unused 2nd header offset.

(btw, i'm always up for improved dpx performance :))


No, DPX can be compressed too.
i've yet to see that part of the spec used :) generally only the vanilla repackaged cineon 10-bit log variety of dpx is used, otherwise tiffs are used.