[CinCV] Colour correction, quantisation/rounding errors and display; some findings.
I'm late with my homework for tomorrow's meeting, so I'm giving you a quick summary of what I have come up with so far. The hue/saturation effect has bad quantisation artifacts when the colour model is YUV and the sliders are set to anything but unity. I have attached a test project to demonstrate the banding noise; it's glaringly obvious when you view it at 200% size. There is another concern bugging me: LCD displays with lacking colour depth. I get banding artifacts no matter what on my LCD monitor when I display synthetic gradients that are free from noise and dithering. (like in my testcase) I'll compare with my CRT monitor, and see what difference it makes. -- Herman Robak?xml version=1.0? EDL VERSION=2.1CVxiphmont PROJECT_PATH=/home/herman/Devel/Cinelerra/ColourTests/gradient_test.xml LOCALSESSION IN_POINT=-1 LOOP_PLAYBACK=0 LOOP_START=3.2002e+00 LOOP_END=6.3603e+00 OUT_POINT=-1 SELECTION_START=3.4399e+00 SELECTION_END=3.4399e+00 CLIP_TITLE=Program CLIP_NOTES=Hello world FOLDER=Clips TRACK_START=0 VIEW_START=0 ZOOM_SAMPLE=512 ZOOMY=64 ZOOM_TRACK=64 PREVIEW_START=0 PREVIEW_END=5 RED=9.972510e-01 GREEN=1.002075e+00 BLUE=9.965255e-01 AUTOGROUPTYPE_AUDIO_FADE_MIN=-80 AUTOGROUPTYPE_AUDIO_FADE_MAX=6 AUTOGROUPTYPE_VIDEO_FADE_MIN=0 AUTOGROUPTYPE_VIDEO_FADE_MAX=100 AUTOGROUPTYPE_ZOOM_MIN=1.00e-03 AUTOGROUPTYPE_ZOOM_MAX=4 AUTOGROUPTYPE_X_MIN=-100 AUTOGROUPTYPE_X_MAX=100 AUTOGROUPTYPE_Y_MIN=-100 AUTOGROUPTYPE_Y_MAX=100/LOCALSESSION SESSION ASSETLIST_FORMAT=1 ASSET_COLUMN0=100 ASSET_COLUMN1=100 SHOW_MUTE=0 SHOW_CAMERA_X=0 SHOW_CAMERA_Y=0 SHOW_CAMERA_Z=0 SHOW_PROJECTOR_X=0 SHOW_PROJECTOR_Y=0 SHOW_PROJECTOR_Z=0 SHOW_FADE=0 SHOW_PAN=0 SHOW_MODE=0 SHOW_MASK=135623208 SHOW_TRANSITIONS=1 SHOW_PLUGINS=1 AUTO_KEYFRAMES=1 AUTOS_FOLLOW_EDITS=1 BRENDER_START=0 CROP_X1=0 CROP_Y1=0 CROP_X2=320 CROP_Y2=240 CURRENT_FOLDER=Video Effects CURSOR_ON_FRAMES=1 CWINDOW_DEST=0 CWINDOW_MASK=0 CWINDOW_METER=1 CWINDOW_OPERATION=0 CWINDOW_SCROLLBARS=0 CWINDOW_XSCROLL=4294966395 CWINDOW_YSCROLL=4294965901 CWINDOW_ZOOM=2.50e-01 DEFAULT_ATRANSITION=Crossfade DEFAULT_VTRANSITION=BandWipe DEFAULT_TRANSITION_LENGTH=5.e-01 EDITING_MODE=1 FOLDERLIST_FORMAT=1 HIGHLIGHTED_TRACK=0 LABELS_FOLLOW_EDITS=1 MPEG4_DEBLOCK=1 PLUGINS_FOLLOW_EDITS=1 PLAYBACK_PRELOAD=0 SAFE_REGIONS=1 SHOW_ASSETS=1 SHOW_TITLES=1 TEST_PLAYBACK_EDITS=1 TIME_FORMAT=1 TIMECODE_OFFSET_0=0 TIMECODE_OFFSET_1=0 TIMECODE_OFFSET_2=0 TIMECODE_OFFSET_3=0 NUDGE_SECONDS=1 TOOL_WINDOW=1 VWINDOW_METER=1 VWINDOW_FOLDER= VWINDOW_SOURCE=4294967295 VWINDOW_ZOOM=1 DECODE_SUBTITLES=0 subtitle_number=0/SESSION VIDEO INTERPOLATION_TYPE=1 INTERPOLATE_RAW=1 WHITE_BALANCE_RAW=1 COLORMODEL=YUV-8 Bit INTERLACE_MODE=NOTINTERLACED CHANNELS=1 VCHANNEL_X_0=0 VCHANNEL_Y_0=0 FRAMERATE=25 FRAMES_PER_FOOT=16 OUTPUTW=720 OUTPUTH=576 ASPECTW=5 ASPECTH=4/VIDEO AUDIO SAMPLERATE=48000 CHANNELS=2 ACHANNEL_ANGLE_0=180 ACHANNEL_ANGLE_1=0/AUDIO FOLDERClips/FOLDER FOLDERMedia/FOLDER ASSETS /ASSETS LABELS /LABELS TRACK RECORD=1 NUDGE=0 PLAY=1 GANG=1 DRAW=1 EXPAND=1 TRACK_W=720 TRACK_H=576 TYPE=VIDEO TITLEVideo 1/TITLE EDITS EDIT STARTSOURCE=0 CHANNEL=0 LENGTH=125/EDIT /EDITS MUTEAUTOS AUTO POSITION=0 VALUE=0/AUTO /MUTEAUTOS CAMERA_X AUTO POSITION=0 VALUE=0 CONTROL_IN_VALUE=0 CONTROL_OUT_VALUE=0 CONTROL_IN_POSITION=0 CONTROL_OUT_POSITION=0/AUTO /CAMERA_X CAMERA_Y AUTO POSITION=0 VALUE=0 CONTROL_IN_VALUE=0 CONTROL_OUT_VALUE=0 CONTROL_IN_POSITION=0 CONTROL_OUT_POSITION=0/AUTO /CAMERA_Y CAMERA_Z AUTO POSITION=0 VALUE=1 CONTROL_IN_VALUE=0 CONTROL_OUT_VALUE=0 CONTROL_IN_POSITION=0 CONTROL_OUT_POSITION=0/AUTO /CAMERA_Z PROJECTOR_X AUTO POSITION=0 VALUE=0 CONTROL_IN_VALUE=0 CONTROL_OUT_VALUE=0 CONTROL_IN_POSITION=0 CONTROL_OUT_POSITION=0/AUTO /PROJECTOR_X PROJECTOR_Y AUTO POSITION=0 VALUE=0 CONTROL_IN_VALUE=0 CONTROL_OUT_VALUE=0 CONTROL_IN_POSITION=0 CONTROL_OUT_POSITION=0/AUTO /PROJECTOR_Y PROJECTOR_Z AUTO POSITION=0 VALUE=1 CONTROL_IN_VALUE=0 CONTROL_OUT_VALUE=0 CONTROL_IN_POSITION=0 CONTROL_OUT_POSITION=0/AUTO /PROJECTOR_Z FADEAUTOS AUTO POSITION=0 VALUE=100 CONTROL_IN_VALUE=0 CONTROL_OUT_VALUE=0 CONTROL_IN_POSITION=0 CONTROL_OUT_POSITION=0/AUTO /FADEAUTOS MODEAUTOS AUTO POSITION=0 VALUE=0/AUTO /MODEAUTOS MASKAUTOS AUTO MODE=1 VALUE=100 FEATHER=0 APPLY_BEFORE_PLUGINS=0 POSITION=0 /AUTO /MASKAUTOS PLUGINSET RECORD=1 PLUGIN LENGTH=125 TYPE=1 TITLE=Gradient IN/INOUT/OUTSHOW/SHOWON/ON KEYFRAME POSITION=0 DEFAULT=1GRADIENT ANGLE=5.3793191909790039e-06 IN_RADIUS=20 OUT_RADIUS=8.007629394531e+01 IN_R=255 IN_G=127 IN_B=127 IN_A=255 OUT_R=0 OUT_G=0 OUT_B=0 OUT_A=255 SHAPE=0 RATE=0 CENTER_X=9.3859649122807014e+01 CENTER_Y=5.1500e+01/GRADIENT/KEYFRAME /PLUGIN PLUGIN LENGTH=0 TYPE=0 TITLE= IN/INOUT/OUTON/ON KEYFRAME POSITION=0 DEFAULT=1/KEYFRAME /PLUGIN /PLUGINSET PLUGINSET RECORD=1 PLUGIN LENGTH=125 TYPE=1 TITLE=Hue saturation IN/INOUT/OUTSHOW/SHOWON/ON KEYFRAME POSITION=0 DEFAULT=1HUESATURATION HUE=1.937151e-07 SATURATION=-7.450581e-08
Re: [CinCV] Colour correction, quantisation/rounding errors and display; some findings.
På Sat, 03 Mar 2012 12:46:28 +0100, skrev Herman Robak her...@skolelinux.no: The hue/saturation effect has bad quantisation artifacts when the colour model is YUV and the sliders are set to anything but unity. I have attached a test project to demonstrate the banding noise; it's glaringly obvious when you view it at 200% size. The YUV effect plugin fares better, in YUV mode. And even better(er) in RGB FLOAT mode, though it doesn't look perfect here(*) In RGB mode it suffers from a weird glitch when the colours get really hot: A bright yellow band comes wiping down from the top! Some clipping/clamping failure, I guess... I have attached another test project file, this time with the YUV effect. The gradient is the same as in the Hue/Saturation effect test. There is another concern bugging me: LCD displays with lacking colour depth. *) The result in RGB FLOAT mode may have been immaculate before my LCD monitor reduced the gradient to series of conspicuous horizontal bands. ;-( -- Herman Robak?xml version=1.0? EDL VERSION=2.1CVxiphmont PROJECT_PATH=/home/herman/Devel/Cinelerra/ColourTests/gradient_test2.xml LOCALSESSION IN_POINT=-1 LOOP_PLAYBACK=0 LOOP_START=3.2002e+00 LOOP_END=6.3603e+00 OUT_POINT=-1 SELECTION_START=4.7998e+00 SELECTION_END=4.7998e+00 CLIP_TITLE=Program CLIP_NOTES=Hello world FOLDER=Clips TRACK_START=0 VIEW_START=37 ZOOM_SAMPLE=512 ZOOMY=64 ZOOM_TRACK=64 PREVIEW_START=0 PREVIEW_END=5 RED=9.972510e-01 GREEN=1.002075e+00 BLUE=9.965255e-01 AUTOGROUPTYPE_AUDIO_FADE_MIN=-80 AUTOGROUPTYPE_AUDIO_FADE_MAX=6 AUTOGROUPTYPE_VIDEO_FADE_MIN=0 AUTOGROUPTYPE_VIDEO_FADE_MAX=100 AUTOGROUPTYPE_ZOOM_MIN=1.00e-03 AUTOGROUPTYPE_ZOOM_MAX=4 AUTOGROUPTYPE_X_MIN=-100 AUTOGROUPTYPE_X_MAX=100 AUTOGROUPTYPE_Y_MIN=-100 AUTOGROUPTYPE_Y_MAX=100/LOCALSESSION SESSION ASSETLIST_FORMAT=1 ASSET_COLUMN0=100 ASSET_COLUMN1=100 SHOW_MUTE=0 SHOW_CAMERA_X=0 SHOW_CAMERA_Y=0 SHOW_CAMERA_Z=0 SHOW_PROJECTOR_X=0 SHOW_PROJECTOR_Y=0 SHOW_PROJECTOR_Z=0 SHOW_FADE=0 SHOW_PAN=0 SHOW_MODE=0 SHOW_MASK=135623208 SHOW_TRANSITIONS=1 SHOW_PLUGINS=1 AUTO_KEYFRAMES=1 AUTOS_FOLLOW_EDITS=1 BRENDER_START=0 CROP_X1=0 CROP_Y1=0 CROP_X2=320 CROP_Y2=240 CURRENT_FOLDER=Video Effects CURSOR_ON_FRAMES=1 CWINDOW_DEST=0 CWINDOW_MASK=0 CWINDOW_METER=1 CWINDOW_OPERATION=0 CWINDOW_SCROLLBARS=0 CWINDOW_XSCROLL=4294966395 CWINDOW_YSCROLL=4294965901 CWINDOW_ZOOM=2.50e-01 DEFAULT_ATRANSITION=Crossfade DEFAULT_VTRANSITION=BandWipe DEFAULT_TRANSITION_LENGTH=5.e-01 EDITING_MODE=1 FOLDERLIST_FORMAT=1 HIGHLIGHTED_TRACK=0 LABELS_FOLLOW_EDITS=1 MPEG4_DEBLOCK=1 PLUGINS_FOLLOW_EDITS=1 PLAYBACK_PRELOAD=0 SAFE_REGIONS=1 SHOW_ASSETS=1 SHOW_TITLES=1 TEST_PLAYBACK_EDITS=1 TIME_FORMAT=1 TIMECODE_OFFSET_0=0 TIMECODE_OFFSET_1=0 TIMECODE_OFFSET_2=0 TIMECODE_OFFSET_3=0 NUDGE_SECONDS=1 TOOL_WINDOW=1 VWINDOW_METER=1 VWINDOW_FOLDER= VWINDOW_SOURCE=4294967295 VWINDOW_ZOOM=1 DECODE_SUBTITLES=0 subtitle_number=0/SESSION VIDEO INTERPOLATION_TYPE=1 INTERPOLATE_RAW=1 WHITE_BALANCE_RAW=1 COLORMODEL=YUV-8 Bit INTERLACE_MODE=NOTINTERLACED CHANNELS=1 VCHANNEL_X_0=0 VCHANNEL_Y_0=0 FRAMERATE=25 FRAMES_PER_FOOT=16 OUTPUTW=720 OUTPUTH=576 ASPECTW=5 ASPECTH=4/VIDEO AUDIO SAMPLERATE=48000 CHANNELS=2 ACHANNEL_ANGLE_0=180 ACHANNEL_ANGLE_1=0/AUDIO FOLDERClips/FOLDER FOLDERMedia/FOLDER ASSETS /ASSETS LABELS /LABELS TRACK RECORD=1 NUDGE=0 PLAY=1 GANG=1 DRAW=1 EXPAND=1 TRACK_W=720 TRACK_H=576 TYPE=VIDEO TITLEVideo 1/TITLE EDITS EDIT STARTSOURCE=0 CHANNEL=0 LENGTH=125/EDIT /EDITS MUTEAUTOS AUTO POSITION=0 VALUE=0/AUTO /MUTEAUTOS CAMERA_X AUTO POSITION=0 VALUE=0 CONTROL_IN_VALUE=0 CONTROL_OUT_VALUE=0 CONTROL_IN_POSITION=0 CONTROL_OUT_POSITION=0/AUTO /CAMERA_X CAMERA_Y AUTO POSITION=0 VALUE=0 CONTROL_IN_VALUE=0 CONTROL_OUT_VALUE=0 CONTROL_IN_POSITION=0 CONTROL_OUT_POSITION=0/AUTO /CAMERA_Y CAMERA_Z AUTO POSITION=0 VALUE=1 CONTROL_IN_VALUE=0 CONTROL_OUT_VALUE=0 CONTROL_IN_POSITION=0 CONTROL_OUT_POSITION=0/AUTO /CAMERA_Z PROJECTOR_X AUTO POSITION=0 VALUE=0 CONTROL_IN_VALUE=0 CONTROL_OUT_VALUE=0 CONTROL_IN_POSITION=0 CONTROL_OUT_POSITION=0/AUTO /PROJECTOR_X PROJECTOR_Y AUTO POSITION=0 VALUE=0 CONTROL_IN_VALUE=0 CONTROL_OUT_VALUE=0 CONTROL_IN_POSITION=0 CONTROL_OUT_POSITION=0/AUTO /PROJECTOR_Y PROJECTOR_Z AUTO POSITION=0 VALUE=1 CONTROL_IN_VALUE=0 CONTROL_OUT_VALUE=0 CONTROL_IN_POSITION=0 CONTROL_OUT_POSITION=0/AUTO /PROJECTOR_Z FADEAUTOS AUTO POSITION=0 VALUE=100 CONTROL_IN_VALUE=0 CONTROL_OUT_VALUE=0 CONTROL_IN_POSITION=0 CONTROL_OUT_POSITION=0/AUTO /FADEAUTOS MODEAUTOS AUTO POSITION=0 VALUE=0/AUTO /MODEAUTOS MASKAUTOS AUTO MODE=1 VALUE=100 FEATHER=0 APPLY_BEFORE_PLUGINS=0 POSITION=0 /AUTO /MASKAUTOS PLUGINSET RECORD=1 PLUGIN LENGTH=125 TYPE=1 TITLE=Gradient IN/INOUT/OUTON/ON KEYFRAME POSITION=0 DEFAULT=1GRADIENT ANGLE=5.3793191909790039e-06 IN_RADIUS=20 OUT_RADIUS=8.007629394531e+01 IN_R=255 IN_G=127 IN_B=127 IN_A=255 OUT_R=0 OUT_G=0 OUT_B=0 OUT_A=255 SHAPE=0 RATE=0 CENTER_X=9.3859649122807014e+01
Re: [CinCV] Colour correction, quantisation/rounding errors and display; some findings.
På Sat, 03 Mar 2012 13:07:16 +0100, skrev Herman Robak her...@skolelinux.no: The YUV effect plugin fares better, in YUV mode. And even better(er) in RGB FLOAT mode, though it doesn't look perfect here(*) You may see it more clearly in the selftest I'm attaching here, where I have added another video track on the top with the same gradient, and the overlay mode set to subtract. FLOAT RGB looks best, and RGB looks broken. -- Herman Robak?xml version=1.0? EDL VERSION=2.1CVxiphmont PROJECT_PATH=/home/herman/Devel/Cinelerra/ColourTests/gradient_selftest.xml LOCALSESSION IN_POINT=-1 LOOP_PLAYBACK=0 LOOP_START=3.2002e+00 LOOP_END=6.3603e+00 OUT_POINT=-1 SELECTION_START=5 SELECTION_END=5 CLIP_TITLE=Program CLIP_NOTES=Hello world FOLDER=Clips TRACK_START=0 VIEW_START=35 ZOOM_SAMPLE=512 ZOOMY=64 ZOOM_TRACK=64 PREVIEW_START=0 PREVIEW_END=5 RED=9.972510e-01 GREEN=1.002075e+00 BLUE=9.965255e-01 AUTOGROUPTYPE_AUDIO_FADE_MIN=-80 AUTOGROUPTYPE_AUDIO_FADE_MAX=6 AUTOGROUPTYPE_VIDEO_FADE_MIN=0 AUTOGROUPTYPE_VIDEO_FADE_MAX=100 AUTOGROUPTYPE_ZOOM_MIN=1.00e-03 AUTOGROUPTYPE_ZOOM_MAX=4 AUTOGROUPTYPE_X_MIN=-100 AUTOGROUPTYPE_X_MAX=100 AUTOGROUPTYPE_Y_MIN=-100 AUTOGROUPTYPE_Y_MAX=100/LOCALSESSION SESSION ASSETLIST_FORMAT=1 ASSET_COLUMN0=100 ASSET_COLUMN1=100 SHOW_MUTE=0 SHOW_CAMERA_X=0 SHOW_CAMERA_Y=0 SHOW_CAMERA_Z=0 SHOW_PROJECTOR_X=0 SHOW_PROJECTOR_Y=0 SHOW_PROJECTOR_Z=0 SHOW_FADE=0 SHOW_PAN=0 SHOW_MODE=0 SHOW_MASK=135623208 SHOW_TRANSITIONS=1 SHOW_PLUGINS=1 AUTO_KEYFRAMES=0 AUTOS_FOLLOW_EDITS=1 BRENDER_START=0 CROP_X1=0 CROP_Y1=0 CROP_X2=320 CROP_Y2=240 CURRENT_FOLDER=Video Effects CURSOR_ON_FRAMES=1 CWINDOW_DEST=0 CWINDOW_MASK=0 CWINDOW_METER=1 CWINDOW_OPERATION=0 CWINDOW_SCROLLBARS=0 CWINDOW_XSCROLL=4294966395 CWINDOW_YSCROLL=4294965901 CWINDOW_ZOOM=2.50e-01 DEFAULT_ATRANSITION=Crossfade DEFAULT_VTRANSITION=BandWipe DEFAULT_TRANSITION_LENGTH=5.e-01 EDITING_MODE=1 FOLDERLIST_FORMAT=1 HIGHLIGHTED_TRACK=0 LABELS_FOLLOW_EDITS=1 MPEG4_DEBLOCK=1 PLUGINS_FOLLOW_EDITS=1 PLAYBACK_PRELOAD=0 SAFE_REGIONS=1 SHOW_ASSETS=1 SHOW_TITLES=1 TEST_PLAYBACK_EDITS=1 TIME_FORMAT=1 TIMECODE_OFFSET_0=0 TIMECODE_OFFSET_1=0 TIMECODE_OFFSET_2=0 TIMECODE_OFFSET_3=0 NUDGE_SECONDS=1 TOOL_WINDOW=1 VWINDOW_METER=1 VWINDOW_FOLDER= VWINDOW_SOURCE=4294967295 VWINDOW_ZOOM=1 DECODE_SUBTITLES=0 subtitle_number=0/SESSION VIDEO INTERPOLATION_TYPE=1 INTERPOLATE_RAW=1 WHITE_BALANCE_RAW=1 COLORMODEL=YUV-8 Bit INTERLACE_MODE=NOTINTERLACED CHANNELS=1 VCHANNEL_X_0=0 VCHANNEL_Y_0=0 FRAMERATE=25 FRAMES_PER_FOOT=16 OUTPUTW=720 OUTPUTH=576 ASPECTW=5 ASPECTH=4/VIDEO AUDIO SAMPLERATE=48000 CHANNELS=2 ACHANNEL_ANGLE_0=180 ACHANNEL_ANGLE_1=0/AUDIO FOLDERClips/FOLDER FOLDERMedia/FOLDER ASSETS /ASSETS LABELS /LABELS TRACK RECORD=1 NUDGE=0 PLAY=1 GANG=1 DRAW=1 EXPAND=1 TRACK_W=720 TRACK_H=576 TYPE=VIDEO TITLEVideo 2/TITLE EDITS EDIT STARTSOURCE=0 CHANNEL=0 LENGTH=125/EDIT /EDITS MUTEAUTOS AUTO POSITION=0 VALUE=0/AUTO /MUTEAUTOS CAMERA_X AUTO POSITION=0 VALUE=0 CONTROL_IN_VALUE=0 CONTROL_OUT_VALUE=0 CONTROL_IN_POSITION=0 CONTROL_OUT_POSITION=0/AUTO /CAMERA_X CAMERA_Y AUTO POSITION=0 VALUE=0 CONTROL_IN_VALUE=0 CONTROL_OUT_VALUE=0 CONTROL_IN_POSITION=0 CONTROL_OUT_POSITION=0/AUTO /CAMERA_Y CAMERA_Z AUTO POSITION=0 VALUE=1 CONTROL_IN_VALUE=0 CONTROL_OUT_VALUE=0 CONTROL_IN_POSITION=0 CONTROL_OUT_POSITION=0/AUTO /CAMERA_Z PROJECTOR_X AUTO POSITION=0 VALUE=0 CONTROL_IN_VALUE=0 CONTROL_OUT_VALUE=0 CONTROL_IN_POSITION=0 CONTROL_OUT_POSITION=0/AUTO /PROJECTOR_X PROJECTOR_Y AUTO POSITION=0 VALUE=0 CONTROL_IN_VALUE=0 CONTROL_OUT_VALUE=0 CONTROL_IN_POSITION=0 CONTROL_OUT_POSITION=0/AUTO /PROJECTOR_Y PROJECTOR_Z AUTO POSITION=0 VALUE=1 CONTROL_IN_VALUE=0 CONTROL_OUT_VALUE=0 CONTROL_IN_POSITION=0 CONTROL_OUT_POSITION=0/AUTO /PROJECTOR_Z FADEAUTOS AUTO POSITION=0 VALUE=100 CONTROL_IN_VALUE=0 CONTROL_OUT_VALUE=0 CONTROL_IN_POSITION=0 CONTROL_OUT_POSITION=0/AUTO /FADEAUTOS MODEAUTOS AUTO POSITION=0 VALUE=2/AUTO /MODEAUTOS MASKAUTOS AUTO MODE=1 VALUE=100 FEATHER=0 APPLY_BEFORE_PLUGINS=0 POSITION=0 /AUTO /MASKAUTOS PLUGINSET RECORD=1 PLUGIN LENGTH=125 TYPE=1 TITLE=Gradient IN/INOUT/OUTON/ON KEYFRAME POSITION=0 DEFAULT=1GRADIENT ANGLE=0 IN_RADIUS=20 OUT_RADIUS=80 IN_R=255 IN_G=127 IN_B=127 IN_A=255 OUT_R=0 OUT_G=0 OUT_B=0 OUT_A=255 SHAPE=0 RATE=0 CENTER_X=9.3859649122807014e+01 CENTER_Y=5.1500e+01/GRADIENT/KEYFRAME /PLUGIN PLUGIN LENGTH=0 TYPE=0 TITLE= IN/INOUT/OUTON/ON KEYFRAME POSITION=0 DEFAULT=1/KEYFRAME /PLUGIN /PLUGINSET /TRACK TRACK RECORD=1 NUDGE=0 PLAY=1 GANG=1 DRAW=1 EXPAND=1 TRACK_W=720 TRACK_H=576 TYPE=VIDEO TITLEVideo 1/TITLE EDITS EDIT STARTSOURCE=0 CHANNEL=0 LENGTH=125/EDIT /EDITS MUTEAUTOS AUTO POSITION=0 VALUE=0/AUTO /MUTEAUTOS CAMERA_X AUTO POSITION=0 VALUE=0 CONTROL_IN_VALUE=0 CONTROL_OUT_VALUE=0 CONTROL_IN_POSITION=0 CONTROL_OUT_POSITION=0/AUTO /CAMERA_X CAMERA_Y AUTO POSITION=0 VALUE=0 CONTROL_IN_VALUE=0 CONTROL_OUT_VALUE=0 CONTROL_IN_POSITION=0 CONTROL_OUT_POSITION=0/AUTO /CAMERA_Y CAMERA_Z AUTO
Re: [CinCV] Colour correction
Hi, there, When I colour correct/manage whatever movie I'm doing, I always face the same problems. With time, I've figured out a workaroud for both cases that somewhat take time but become very precise and eventually compensate at the end. For colour management, I use mostly brigh/cont, hue/sat, col bal and videoscope (still, 4 effects!). What I do is: - I create an additional video track, above or between the ones I am adding the effect to. Then I name it garbage or delete it! or anything that will let me know this is a temporary track; - I copy/paste one asset - or series os assets that may have similar light/colour conditions - to this track. If you double-click the asset, you can (in this order) copy, mute it, move your mouse to the next track and SHIFT-TAB it, and paste the video there. You'll realize all this is done via shortcuts, so it's repetitive but somehow easy and not-that-time-consuming; - I add the effects, keyframe them, finish whatever I have to do with the asset regarding effects; - Now here is the trick: I copy/mute/arm/paste it in the previous track. Whenever you do that repeatedly, the video effects will be pasted besides the other ones! It won't go down forever like when you just insert new effects in a track - they remain as if the track had only, say, 4 effects! So I'll just do that till the end of the movie and the whole track will have effects related to each separate asset but occupy a space as if we had only inserted four effects in the whole timeline! Now, the other process, when I have to precisely correct the colour of a video, I use Gimp-Gap. I talked to Raffa once about this: gimp is way more precise to do a proper colour correction of any image - and gimp-gap is fine for videos. You'd then have to render it as uncompressed YUV and open it in Gimp-Gap, colour correct it and re-export it. For the last year, I've been reading some technical books on photography (btw, I can recommend Ansel Adams books and Ron Bigelow's articles at his website for anyone interested in the subject) and was trying to find a precise and safe way to guarantee a proper correction of colour casts. To me, Cinelerra's histogram or white balance funcion are not precise the way they have to be (note that I'm not talking about the colour coherence in the video, as we can use Videoscope for that with very nice results). If they could be integrated to gimp/gimp-gap to colour-correct (as an effect, for example), it would be an immense and most-welcome evolution in this area. The bad thing about this process, as you can imagine, is that it takes way too much time, so I only do it in extreme cases, when I really want the thing to be perfect, so be warned =) rock on, flavio
Re: [CinCV] Colour correction
flavio, thanks for this very valuable information. i guess people would estimate if you could include it into the manual at some appropriate location, e.g. as a note to the effects chapter. cheers, georg On Tuesday 09 September 2008 18:41:40 flavio wrote: Hi, there, When I colour correct/manage whatever movie I'm doing, I always face the same problems. With time, I've figured out a workaroud for both cases that somewhat take time but become very precise and eventually compensate at the end. For colour management, I use mostly brigh/cont, hue/sat, col bal and videoscope (still, 4 effects!). What I do is: - I create an additional video track, above or between the ones I am adding the effect to. Then I name it garbage or delete it! or anything that will let me know this is a temporary track; - I copy/paste one asset - or series os assets that may have similar light/colour conditions - to this track. If you double-click the asset, you can (in this order) copy, mute it, move your mouse to the next track and SHIFT-TAB it, and paste the video there. You'll realize all this is done via shortcuts, so it's repetitive but somehow easy and not-that-time-consuming; - I add the effects, keyframe them, finish whatever I have to do with the asset regarding effects; - Now here is the trick: I copy/mute/arm/paste it in the previous track. Whenever you do that repeatedly, the video effects will be pasted besides the other ones! It won't go down forever like when you just insert new effects in a track - they remain as if the track had only, say, 4 effects! So I'll just do that till the end of the movie and the whole track will have effects related to each separate asset but occupy a space as if we had only inserted four effects in the whole timeline! Now, the other process, when I have to precisely correct the colour of a video, I use Gimp-Gap. I talked to Raffa once about this: gimp is way more precise to do a proper colour correction of any image - and gimp-gap is fine for videos. You'd then have to render it as uncompressed YUV and open it in Gimp-Gap, colour correct it and re-export it. For the last year, I've been reading some technical books on photography (btw, I can recommend Ansel Adams books and Ron Bigelow's articles at his website for anyone interested in the subject) and was trying to find a precise and safe way to guarantee a proper correction of colour casts. To me, Cinelerra's histogram or white balance funcion are not precise the way they have to be (note that I'm not talking about the colour coherence in the video, as we can use Videoscope for that with very nice results). If they could be integrated to gimp/gimp-gap to colour-correct (as an effect, for example), it would be an immense and most-welcome evolution in this area. The bad thing about this process, as you can imagine, is that it takes way too much time, so I only do it in extreme cases, when I really want the thing to be perfect, so be warned =) rock on, flavio -- dr. kurt georg hooss kurts film / schoepfung wandel breite strasse 6-8, d-23552 luebeck kurts-film.de ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCV] Colour correction
Hi there! I was wondering about this subject because up until now I used to export my final video in raw DV and then do the color corrections to that track only, using keyframes -- it worked for me since I only color correct the final product (unless it's a special effect kind-of correction). But how do I add the same corrections to, lets say, five tracks? You add an empty track with the effects on top of the others? Note: I sure hope Lumiera brings an easier way to apply global effects, like color correction :) 2008/8/29 Raffaella Traniello [EMAIL PROTECTED]: Hi Hermann! Thanks for your help. Even if it is a little hard to digest. I have still to decide which labour I like best. Well... at least I have two consolations: 1. Cin4 has new timeline controls to move to the next/previous edit. 2. You are a Lumiera developer. Ciao! Raffaella ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra -- leandro ribeiro viajador.fotolog http://viajador.blogspot.com ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCV] Colour correction
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Leandro, I was wondering about this subject because up until now I used to export my final video in raw DV and then do the color corrections to that track only, using keyframes -- it worked for me since I only color correct the final product (unless it's a special effect kind-of correction). ...this works for sure, but the problem is: even raw DV is a slightly compressed format, thus you get two re-encoding steps. But how do I add the same corrections to, lets say, five tracks? You add an empty track with the effects on top of the others? No, this won't work. Two Ideas: first, you can copy-and-paste the keyframes, i.e. you adjust the colour correction effect by keyframes on one track, then you select a range, make sure your source track is armed and copy. Then, without changing the selection, arm your destination track, which should also contain an color correction effect, and choose paste keyframes (shift-v). Alternatively, you can try to use the rather obscure feature of shared modules/shared effects -- you can access it via the context menu of the track (attach...). It allows you to share an effect instance or a whole effect stack between several tracks. Generally, this feature is of rather limited use, but sometime it's helpful, especially when combined with apply mask after/before effects Note: I sure hope Lumiera brings an easier way to apply global effects, like color correction :) Yeah, we are aware of all the facets of the problem... :-D Cheers, Hermann V. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIuyf2ZbZrB6HelLIRAvheAJ0VIgDUueFX8IGHqspLn8j2+jQp9ACg7dkp XSEVaeDTe2r/nDzwg+Z/RTI= =YbkU -END PGP SIGNATURE- ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCV] Colour correction
Hi Hermann! Thanks for your help. Even if it is a little hard to digest. I have still to decide which labour I like best. Well... at least I have two consolations: 1. Cin4 has new timeline controls to move to the next/previous edit. 2. You are a Lumiera developer. Ciao! Raffaella ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
[CinCV] Colour correction
Hi! I'm experimenting with colour correction. I found my way to correct the colours of an edit using: Colour balance Brightness/Contrast Hue/Saturation/Value Gamma Histogram and Videoscope But I can't find a good way of correcting a video made of 100 edits. Do I have to attach 5 effects to each clip? 501 effects on my timeline?? I tried to attach just one effect for the whole timeline and using keyframes. This way I get a nice and tidy timeline but Cinelerra keeps interpolating my changes. What's the recommended way to go? Ciao! Raffaella ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCV] Colour correction
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Raffaella Traniello schrieb: I'm experimenting with colour correction. ... But I can't find a good way of correcting a video made of 100 edits. Do I have to attach 5 effects to each clip? 501 effects on my timeline?? I tried to attach just one effect for the whole timeline and using keyframes. This way I get a nice and tidy timeline but Cinelerra keeps interpolating my changes. What's the recommended way to go? Hi Raffa, sadly enough there is no viable solution available within Cinelerra. It's simply not designed to do larger projects, i.e. the workflow doesn't scale. So, basically you can take both routes. * attaching 5 effects separately to each clip pro: you don't need keyframes, and you can still trim your edits afterwards con: very much work to build up all those effects, and you can't use transitions (workaround: put the clips on separate tracks and use the fade automation) * use 5 single effect instances spanning the whole timeline. pro: somewhat easier to build up, sort of works with transitions (not really perfect) con: you need carefully placed keyframes which need to be adjusted for every edit. Explanation: to cope with the second solution, you need much discipline. First of all, make your edits final, so you don't need to trim anything further. Then start from the beginning of the session with adjusting your effects. Use the set keyframes while tweeking setting (the key icon). Use the help of labels for precise setting of the cursor; if you double click a clip, the corresponding timerange gets selected. Then if you hit l, you get a label at the beginning and end. Now jump to the first label and then adjust the effects for the first clip. This will set a keyframe onto each effect. Then jump to the end and move the cursor exacly 2 frames to the left. This works around the design misconception of cinelerra always evaluating the keyframe value after the frame. Now either paste a keyframe copied from the start, or provoke the creation of a new keyframe by adjusting a setting of the effect by one step and then immediately returning to the previous value. This will give you a keyframe effectively at the end of your clip and with the /same/ values as at the beginning. Then go exactly 1 frame to the right (i.e. the cursor is now at the start of the last frame of your clip, which means the keyframe value will be used at the next frame afterwards, which happens to be the first one of the next clip). At this point make the adjustments for the next clip well, there is another problem: in order to *see* the effect of your adjustments, you'd have to enter the region of the next clip. I'd recommend to do it as follows: first, /set/ the keyframe at the start, then *disable* the generate keyframes when tweaking. Now you can put your cursor at any location within the next clip. And, assumed there is still no further keyframe to the right, any tweaking of parameters will be stored into the next keyframe to the left, which is what you want. And of course, don't forget to re-enable the auto-generating of keyframes afterwards well... now that makes me feel so sorry for you :-P Hermann V. PS: I am still bewildered how a developer can design a feature this way without realizing what harm he does to its users... Well, at second thought the case is clear: any real solution of the problem would require more infrastructure within the application. But, at least even a possible workaround would be good, for example if you could mark a timerange and then adjust and set constant effect parameters within this range -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIttdJZbZrB6HelLIRAuMTAJ9m+dsGidMAZbAmaQcpFv7AcVHNJQCfe1T6 pLmilxNlWUMWH87VhsxZRYw= =BBVW -END PGP SIGNATURE- ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra