Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
![]() |
#141 | Link |
Registered User
Join Date: Oct 2002
Location: France
Posts: 2,233
|
Code:
enum ColorSpaceMode { kColorSpaceMode_None, kColorSpaceMode_601, kColorSpaceMode_709, kColorSpaceModeCount }; |
![]() |
![]() |
![]() |
#142 | Link |
Registered User
Join Date: Mar 2015
Posts: 768
|
This can be implemented at 2 levels:
1) just a tag to carry through with conversions disabled 2) and all the conversions too I need help where to borrow conversions to/from rgb and other spaces. Afaik 2020 is not just matrix, but also non-linear transfer which makes it important (and computationally expensive)?
__________________
VirtualDub2 |
![]() |
![]() |
![]() |
#143 | Link |
Registered User
Join Date: Oct 2014
Posts: 268
|
As far as I see it, there is a '2020' that is possible as a regular color matrix, and another one that requires special coding that it can't be easily implemented in the same conversion routines (fmtconv in vapoursynth has a special function for it for instance).
'non constant luminance mode' (ncl) is the simpler one, and you'll encounter it more often. 'constant luminance mode' (cl) is the 'special' one. The thing is, it's not just the colormatrix. Most 2020 stuff uses different color primaries then bt709 (although 2020ncl with bt709 does exist.. it's not _that_ weird, just not the only stuff out there). So the correct way to change / convert color primaries is to go to RGB, then to linear RGB (gamma 1.0), convert the color primaries (from bt709 to 2020, or from bt709 to dci-p3 for example). Then go to gamma-correct 'normal' RGB again then convert to the YUV with the colormatrix you want (or leave it RGB if that suites you). This all is to convert the colormatrix and/or colorprimaries. The thing to remember is, this does NOT convert HDR to SDR or something. What you end up with is still all the HDR information but in a colorspace-configuration that you know from SDR times. To make the stuff watchable on SDR displays you would still have to do some kind of dynamic-range compression and / or clip some stuff out to get it watchable. I could get stuff looking pretty OK by tweaking the gamma correction but there are better ways (for example, what MadVR does to display HDR content on SDR displays). So, colorspace conversion is one thing. HDR to SDR conversion is another. And of course stuff like the 2020 colormatrix and 2020 colorprimaries (or dci-p3 color primaries or something else) has a much wider gamut of colors available, so you will be loosing color precision / data somewhere (colors _should_ end up over saturated here and there in bt709, unless you use some smart 'desaturation' filter during the conversion.. again, like MadVR does). |
![]() |
![]() |
![]() |
#144 | Link |
Registered User
Join Date: Oct 2002
Location: France
Posts: 2,233
|
Hum... It seems that i read thing too quickly and not deep enough, didn't realise it wasn't a simple matrix like the other formats. Non linear is not a real issue with 8 bits using look-up table, but maybe in that case lookup-tables even of... 64k maximum may still be interesting.
|
![]() |
![]() |
![]() |
#145 | Link |
Registered User
Join Date: Mar 2015
Posts: 768
|
But who needs it in 8 bit? Anyway, it seems the only real way is to connect code which already works (zimg?)
__________________
VirtualDub2 |
![]() |
![]() |
![]() |
#148 | Link |
Registered User
Join Date: Mar 2015
Posts: 768
|
So is matrix-only Rec2020 useful in practice? I am confused with transfer functions. They are defined for rec601/rec709 too, but in reality are ignored (so that rgb-yuv conversions are linear and fast).
If the same still works for ldr 2020 then it is basically a matter of adding some new constants (as in avs+)
__________________
VirtualDub2 |
![]() |
![]() |
![]() |
#149 | Link |
Registered User
Join Date: Oct 2002
Location: France
Posts: 2,233
|
I've noticed some issue with the last 64bits release.
First, video in output right part is cropped/shifted. Is it intended ? VirtualDub : ![]() VirtualDubMod : ![]() After, there is issues with a third-party plugin i'm using for a long time : VirtualDub : ![]() VirtualDubMod : ![]() One issue is at least that the slider is no more... ![]() The filter is NeatVideo. Edit : You can eventualy get the demo version here on their site to check/test. Last edited by jpsdr; 14th January 2017 at 15:10. |
![]() |
![]() |
![]() |
#150 | Link |
Registered User
Join Date: Mar 2015
Posts: 768
|
> First, video in output right part is cropped/shifted
Yes, you can pan it with mouse (by default centered). > After, there is issues with a third-party plugin i'm using for a long time what is the issue? Time slider is active at the bottom.
__________________
VirtualDub2 |
![]() |
![]() |
![]() |
#151 | Link |
Registered User
Join Date: Oct 2002
Location: France
Posts: 2,233
|
All my apologies, my bad again (it's becoming quite an anoying habit), i'm very not used to all these new behaviors...
It never cames to my mind that bottom was still active when it wasn't with original (so i didn't even check), neither that right panel could be moved with mouse. Finaly nothing wrong, so it's perfect. |
![]() |
![]() |
![]() |
#152 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,659
|
In the good old VirtualDubMod, saving a screenshot of the currently displayed frame was so easy: Video » Snapshot source frame (Shift+1).
Trying the same in VDubFMod r38543 (32b) ... Video menu: No more matching entry. File menu: Export ... a submenu, that costs me precious time, unless there is a keyboard shortcut assigned; Single image ... no shortcut assigned yet, have to try to assign one later; click. Nothing happens? Well, let's assign the shortcut. To File.SaveImage – seems valid. Test it ... nothing happens. Let's try in VDubFMod r38544 (64b) ... pressing shortcut (was assigned for both versions, that's nice): OK, a dialog appears. Exporting a single image works. So it appears to be broken only in the 32b version. Or is it? Trying again ... this time it works there as well?! Strange. A reliable bug could be found and fixed. But unreliable issues are the hardest. ![]() |
![]() |
![]() |
![]() |
#153 | Link | |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,657
|
Ligh, Menu/File/Export/Save Single Image, for current frame (choice of output formats).
EDIT: Oops sorry, you already saw that, guess I'm in a hurry to get some shut eye and just partially skim read your post. EDIT: REading a bit more in full Quote:
EDIT: I've never had that problem for some time, but only just updated to VirtualDub_Pack_38543, I'll keep my eyes open for that problem re-appearing (used Save Single Image about a half dozen times throughout the night in previous version, no problems).
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 17th January 2017 at 09:50. |
|
![]() |
![]() |
![]() |
#154 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,659
|
Yes. As I wrote, it's in a submenu, so navigating the mouse cursor through it takes a lot of time, unless I assign a keyboard shortcut. Please read it again completely, there is more about it.
|
![]() |
![]() |
![]() |
#155 | Link | |
Registered User
Join Date: Mar 2015
Posts: 768
|
Quote:
The logic behind File->Export structure is because Image sequence is also there (and it is very similar). The bug when it suddenly does not work still exists in all versions and is old, btw in the same situation "copy to clipboard" command gets disabled too.
__________________
VirtualDub2 |
|
![]() |
![]() |
![]() |
#156 | Link |
Registered User
Join Date: Oct 2002
Location: France
Posts: 2,233
|
Minor issue i've noticed :
In View->Pane Layout if you select "Auto Size panes" when it's not it's done immediatly. But unselect it has no effect. You have to close VDubMod and restart it unselected to remove the "Auto Size". And... it's also the case in the original version... Well, i think it's up to you to chose if it's worth fixing or not. |
![]() |
![]() |
![]() |
#157 | Link |
Registered User
Join Date: Mar 2015
Posts: 768
|
And what do you think it should do? Instead you can begin changing zoom right away.
__________________
VirtualDub2 |
![]() |
![]() |
![]() |
#159 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,657
|
Request for change back to VD standard behaviour:
Dont like that VDFM drops display of frames [EDIT: contents] whilst user stepping through the timeline via keyboard [EDIT: right cursor key], you have to stop timeline traversal to see the current frame. (I can see that it is quicker to not display frames during such time, but not if you have to stop to view every frame). EDIT: Perhaps its an option, if so then make it (standard mode) default. EDIT: Only happens in heavy filtering scripts that do not play anywhere near real time.
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 17th January 2017 at 22:54. |
![]() |
![]() |
![]() |
#160 | Link | |
Registered User
Join Date: Mar 2015
Posts: 768
|
Quote:
So this is a defect (in my test it is even worse with old VD)
__________________
VirtualDub2 |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|