View Issue Details

IDProjectCategoryView StatusLast Update
0000212Cinelerra-GG[All Projects] Featurepublic2019-09-04 07:09
ReporterIgorBeg Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Platformx64OSLinux-UbuntuStudioOS Version16.04
Product Version 
Target VersionFixed in Version 
Summary0000212: Pixels unit vs percent (%) unit in some plugins
Description

Some plugins like Titler and Sketcher, use pixels unit; then if I use Proxy without Scaler You can't use it (or yes with a different workaround).
I would like to have, like in Perspective plugin, % unit instead pixels unit, then I can use Proxy (without Scaler), also for Sketcher and maybe also for Titler. Seems to me that Perspective plugin don't use pixel units but % unit so, for example, x=50% means center of the canvas and x=100% means right side boundary of the canvas.
It would be very useful because it would also work with Proxy (without Scaler).

TagsNo tags attached.

Activities

IgorBeg

IgorBeg

2019-09-04 07:09

reporter   ~0002066

I suggested percentage unit because it is easy to use and free from pixel unit. For me the goal should be the possibility of using Original or Proxy (with no scaler) media, without to see the differences by user's point of view.

Another example could be Sketcher plugin: when I draw a line with 5pixels width in Proxy unit, when I turn on to Original Project size I have to multiply the units for the Proxy factor (but You know what I want to say, of course).
For converse, if You have a few of time to try, Camera and Projector in Compositor works very well: when Proxy feature is enable, the pixel unit is referred to Proxy size; when Original size is enabled, the pixel unit is referred to Project size.

I think that using pixel unit is good but it is binding (the unit of measurement used is absolute and not relative). So when you move a item from left to right on Compositor's Canvas (line, circle, point or Vframe-picture) of 100 pixels, the item is moved of 100 pixels whether you are in 4k, or in Full HD (1920x1080) or in Standard Definition (PAL720x576) or in Proxy. This is a great problem sometimes.

Even if Olaf says something else, in another softwares they use percentage unit or a own "scale" (not pixel); or they make a internal conversion when proxy is used so you can not see if you are in proxy or less, and the pixel unit is referred to project size (even if they are showing proxy size in their "Compositor").

In CAD (Computer Aided Design) software the unit used is "without measure", or better, they use Unit measure. So 1 unit can be: 1 meter or 1 millimeter, or 1 inch, or 1 feet. Is the user who assigns his own unit of measure in the project. I don't know if this can help GG for something idea.

Finally, may be that in some case has more sense to use percentage unit (or another type of measurement) instead of pixel.

If someone has a different idea is welcome. Thanks.

Olaf

Olaf

2019-08-27 08:41

reporter   ~0002039

I see the difference as follows: working in percentages is more like working artistically. True to the motto "Pi * thumb".
Image editing is always pixel-based. A video editor is also image editing. If you prefer to work exactly instead of artistically, you will always have a calculator at your fingertips. And yet it won't fit, as working with other NLE's has shown. Talking about proxies is not fair to the editor. This condemns the editor to carry the weaknesses in programming.

PhyllisSmith

PhyllisSmith

2019-08-26 23:25

manager   ~0002035

MASKING request also (ported from other issue)

And I ask you, why don’t use percent unit instead of pixels unit (like I wrote in 0000212), like other NLEs do? So it would not be affected by the project format, and if an users uses Proxy without scaler. And if another hyperformat (16K) comes out the tool always works, I think.

As an example consider that Feather goes from -100% to +100%, and +100% is the max positive Feather=Project width format (or what you think more appropriate).
So if I insert Feather(%)= 2.5 you have:

  • format project 1080p ==> Feather(px)= 1080*2.5/100= 27 pixels
  • format project UltraHD 3840x2160 ==> Feather(px)= 2160*2.5/100= 54 pixels
  • format project 8k 7680x4320 ==> Feather(px)= 4320*2.5/100= 108 pixels
  • Proxy without scaler 480x270 ==> Feather(px)= 270*2.5/100= 6.75 pixels => 7 pixels

So you can change the project format and what you see on Compositor is always the same Feather (size of feather), I think.

IgorBeg

IgorBeg

2019-05-29 11:43

reporter   ~0001604

I understand you about the precision but, like in Mask tool, where you have Fade value goes -1000+100 (float, precision=2) and you, luckily, can use proxy (no scaler), I think that rounding may not be a problem (if possible to implement it by code).
In other NLEs the unit used is percent to avoid any "problems" with Proxy, I think, and maybe that, so doing, it is independent by used resolution. Of course, for the Title and its fonts other considerations have to be done.
Thanks to take in consideration this suggestion.

PhyllisSmith

PhyllisSmith

2019-05-29 02:06

manager   ~0001602

A brief discussion here has left this still hanging. Using pixels is important because it is exact whereas percentage (%) is not exact. By that I mean, 5% of 121 is 6.05 which is not going to show as an exact number, whereas 6 pixels are always just 6 pixels and not 6.05. The only option that may or may not be possible, is to let the user pick percent over pixel with pixels being the default. We will have to discuss some more but I do not know when that will happen.

Issue History

Date Modified Username Field Change
2019-05-07 11:49 IgorBeg New Issue
2019-05-29 02:06 PhyllisSmith Note Added: 0001602
2019-05-29 11:43 IgorBeg Note Added: 0001604
2019-08-26 23:25 PhyllisSmith Note Added: 0002035
2019-08-27 08:41 Olaf Note Added: 0002039
2019-09-04 07:09 IgorBeg Note Added: 0002066