View Full Version : Problem with gradient


Darko Tomic
March 2nd, 2004, 03:35 AM
Hi to all,

Well I think this fits best to the open dv discussion, so I post it here ....
Currently I'm making animated short sequence for the music video, and have a problem with PAL output. I made in photoshop dark blue gradient sky for the cartoon (720*576 resolution) , and when I make dv avi for PAL output, I can see the lines of colors on the video monitor. Everything looks fine on my computer monitor, but looks like some colors are missing on video output preview. First I thaught it is a compression issue, so I tried both Microsoft DV and Mainconcept, but the same : gradient looks bad .
Just to mention, I use firewire card (innoDV) with Canopus
ADVC100 converter.

Any help would be much appreciated,
Thanks in advance .
Darko

Rob Lohman
March 2nd, 2004, 03:49 AM
First of all which NLE are you using and what version? I'm
suspecting Premiere, but still need a version number if that's the
case.

Second. What fileformat did you use to export from Photoshop
into your NLE and what settings did you use?

Lastly. You should set the pixel aspect ratio to the imported
picture on your timeline to 0.9 (DV NTSC) instead of the 1.0 it
is probably now. This should prevent your NLE from resizing
the image.

You also picked one of the hardest things to compress. A gradient,
most compressions have trouble with those in regards to not
messing colors or boundaries up.

Darko Tomic
March 2nd, 2004, 04:06 AM
Thank you Rob for reply ,

I use Premiere pro for editing and previewing video output.
Compositing is done in After Effects, ie I made the gradient in Photoshop (format 720*576 RGB, saved as psd file), imported it in AE and rendered as avi. The settings in AE are : comp PAL D1/DV with aspect ratio DV (pixel aspect 1.067). Then when I import avi file into premiere (projects settings the same PAL DV), there is no need for re-render, it goes out right on video monitor, but looks incorrect.

Rob Lohman
March 2nd, 2004, 04:25 AM
Why aren't you just loading the PSD in Premiere? What is the
pixel aspect of the FOOTAGE IN Premiere?

Darko Tomic
March 2nd, 2004, 04:43 AM
Because the gradient is just background, I have several layers composited over (some bulidings, street, cars ...) in AE, and everything looks excellent except that gradient night sky hmh ....
The pixel aspect ratio of the footage in Premiere is 1.067, I think that is correct for PAL DV .
One more thing, I just tried this on friends Matrox Rt2000 NLE, seems correct to me .

Thanks again for help.

Julian Luttrell
March 2nd, 2004, 04:46 AM
You will find that dark gradients do display in bands of colour in 8 bit systems.

Photoshop dithers colours as it displays on screen - this prevents the bands appearing. DV does not include any such dithering, and the undithered colours get displayed by Premiere. Also your PAL monitor is a little less forgiving than your computer screen and shows these more clearly - all the more reason for checking everything on it!

My suggestion is to add some noise to the gradient before exporting it from Photoshop - that should fix the bands.

Julian

Rob Lohman
March 2nd, 2004, 05:06 AM
What happens if you export uncompressed AVI from After Effects?
Make sure you are running AE in maximum quality mode (I believe
the default somewhere is not set for quality when exporting).

Darko Tomic
March 2nd, 2004, 05:18 AM
Thanx Julian, I ll try with noise...

But it seems you're right about how gradient displays in 8 bit systems, that's very bad.

Best regards

Darko Tomic
March 2nd, 2004, 06:10 AM
That is very good question Rob, I havent tried to export uncompressed avi from After Effects ... yes I've checked best quality under render settings .
As soon as I get home this afternoon I ll try to put uncompressed avi into Premiere , then let you know.
Thanx again.

Darko Tomic
March 3rd, 2004, 02:18 AM
Huh, I tried to import uncompressed avi from AE into Premiere, and very strange thing happened - I couldnt export this avi to dv avi, because Premiere didn't recognize the video ie all frames were black. When I play this unc avi from media player, everything looks fine ....
Also I tried to import psd gradient directly in Premiere, but got the same bad video output.

Then I think I found the solution, Julian was right about this issue.
When I imported rendered dv avi back in AE composition, I could see those gradient lines on the computer monitor too . Seems it is the dv compression issue, now I think it can not be solved, tell me if I am wrong.

Thanks again for you effort
Best regards
Darko

Julian Luttrell
March 3rd, 2004, 03:03 AM
I hope that adding a little noise is a workable solution for you.

This 8 bit problem is why I always wish that video manufacturers would STOP HD development right now and switch their attention to low cost 10 bit development instead. I would much prefer a smaller screen of 10 bit gold, than a bigger screen of 8 bit rubbish any day...

Anyway, good luck with your animation,

Regards,

Julian

Darko Tomic
March 3rd, 2004, 03:49 AM
Julian thanx for the tip,

I forgot to mention this in my previous post, tried also to add noise in Photoshop but didnt get satisfactory result on video out ( even small amount of noise was noticeable ).
If you want to share with me what type/amount of noise to add ,
that would be great .

Thanx again
Darko

Julian Luttrell
March 3rd, 2004, 04:18 AM
Darko,

I find that Add Noise filter, amount 1, Gaussian distribution (not mono) removes the banding satisfactorily with no obvious noisy pixels.

How is that for you?

Julian

Darko Tomic
March 3rd, 2004, 04:38 AM
Thanx for the tip Julian,

Maybe I forgot last night to try with gaussian distribution, sorry.
I`ll try it this afternoon, I'm sure it would work.

Best regards.

Rob Lohman
March 3rd, 2004, 04:30 PM
One note: if you want to use uncompressed you cannot use DV
AVI since DV is compressed. You have to select Microsoft AVI or
plain AVI and then use uncompressed as the codec (or select
none).

DV (AVI) and uncompressed are mutually exlcusive.

Darko Tomic
March 4th, 2004, 02:45 AM
Thanx Rob,
I think you didn't understand me ....
... when I import uncompressed avi in Premiere, I have no picture on timeline ( all frames display as black ), just wanted to export (recompress) this uncompressed avi to avi with dv codec to be able to preview it on video monitor.
Maybe this is a project settings issue - it is very bad if I cant import uncompreesed avi in dv project hmh .... that can be done in earlier versions of Premiere.

Regards
Darko

Rob Lohman
March 4th, 2004, 06:26 AM
It looks like I did indeed. My appologies.

That sounds worrying indeed. Perhaps you and others can do
some tests with this? I don't have Premiere Pro. Perhaps it can
only read uncompressed when the project settings are not DV?