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. |
2nd August 2017, 19:29 | #421 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Dont know much about rolling shutter or whether affected by wrong screen size info (and cap size also different), just posted as I stumbled across your
doc (again), and had recently gotten a Defy. Incidentally, in the last link above, there are a number of Defy's @ £5.00 and £8.00 and above, but many out of stock. If you click on "By Availability - In Stock Only", you will see first on list at £8.00 is out of stock, but if you click on it, they currently have one in Bromley and one "In-Stock On-Line". My latest party trick is to play a movie then accidentally drop my defy in my beer EDIT: It's an IP67 phone, water resistant to 1 Meter for 30 mins (with covers in place).
__________________
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; 3rd August 2017 at 04:53. |
19th August 2017, 15:32 | #422 | Link |
Registered User
Join Date: Apr 2010
Posts: 9
|
Stabilize on a channel logo
Hi.
Is it possible to stabilize the image based on the position of a channel logo? I have this video, that seems to have been the victim of a botched stabilization, and I want to reverse the damage as best as possible. https://drive.google.com/open?id=0B1...mhnWjl0RGFGLWc In the first frame, the logo is in its proper position, and I'd like to "lock" the logo in this position, and move the video around to wherever the logo position takes it. I've tried to ignore the pixels outside the logo area, without success. |
19th August 2017, 18:08 | #423 | Link |
Registered User
Join Date: Apr 2003
Location: Uppsala, Sweden
Posts: 157
|
I'm afraid I don't think you'll have much success in using Deshaker for this. And I actually doubt any tool can fix it in a good way. If it had been stabilized only vertically and horizontally it would have been easier, but this clip has rotation and zoom altered too, and I think the logo is too small to measure rotation and zoom accurately enough.
|
17th May 2018, 04:39 | #429 | Link |
Soul Architect
Join Date: Apr 2014
Posts: 2,559
|
This is the best deshaker out of the various options I tried. The downside is that it is only a VirtualDubFilter, and needs RGB32 instead of YV12 input -- although it can be used in Avisynth with VirtualDubFilter. Also the source code isn't available.
Would it be possible to have a version for Avisynth and VapourSynth? That would be very useful. |
17th May 2018, 18:01 | #430 | Link |
Registered User
Join Date: Apr 2003
Location: Uppsala, Sweden
Posts: 157
|
"Best deshaker"? It should hopefully be the only deshaker! When I made Deshaker I googled "deshaker" and got one single hit; some guy with that name. It's funny that some people seem to be using it as a general term for video stabilization now.
Anyway, thanks. I understand your wishes completely. I've considered making a native AviSynth plugin and I've looked into how much work it would be to support more color spaces. The problem is that I've become a bit lazy, or at least prefer doing other things on my free time. Also, I'm not quite ready to release the source code. Sorry... |
17th May 2018, 18:24 | #431 | Link |
Registered User
Join Date: Apr 2003
Location: Uppsala, Sweden
Posts: 157
|
Btw, about color spaces. Maybe someone could write a simple plugin that converts YV24 into RGB32 by simply assigning R=Y, G=U and B=V, or similar. After that, you could deshake (or other things) RGB32 video that's really YUV, and then do the reverse "conversion". It's not an ideal solution, because the colors would look like crap in Deshaker, but I can't see why it shouldn't work. You would get no quality loss due to color space conversions that way.
Just a thought... |
17th May 2018, 19:16 | #432 | Link |
Registered User
Join Date: Mar 2015
Posts: 775
|
I could add this fake RGB in vd2, sounds funny. Would it actually be useful? Btw, black borders will turn green borders, and what about color mask detection.
__________________
VirtualDub2 |
17th May 2018, 19:21 | #433 | Link |
Registered User
Join Date: Mar 2015
Posts: 775
|
Just noticed a bug:
add filter->deshaker enable color mask, open dropdown click cancel in filter, cancel in filters list -> crash No input file needed, tested in 1.10.5
__________________
VirtualDub2 |
17th May 2018, 19:32 | #434 | Link |
Registered User
Join Date: Apr 2003
Location: Uppsala, Sweden
Posts: 157
|
Yes, you would have to select a different color for mask detection. As for black borders, maybe you could use a lossless conversion where black is still black?
And the crash... Yes, indeed, I can reproduce it. (But not when using a Deshaker built with a newer compiler version. Probably just luck, though.) We'll see if I care enough to fix it. It's not a procedure you'd do often. Thanks for letting me know, though. |
17th May 2018, 20:41 | #435 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Guth, we appreciate everything that you have done for us, you are the best, please, let the new guys have a go at making it better,
we look forward to your decision, thanks ether way, we does love you.
__________________
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 ??? |
18th May 2018, 17:34 | #436 | Link | |
Soul Architect
Join Date: Apr 2014
Posts: 2,559
|
Quote:
Any specific reason why you're not comfortable releasing the source code? btw I'm glad to see you're still active and responding to messages. The authors of lots of old plugins are long gone. |
|
18th May 2018, 18:02 | #437 | Link | ||
Registered User
Join Date: Apr 2003
Location: Uppsala, Sweden
Posts: 157
|
Quote:
Not being able to process YUV video at all could however result in banding problems, which I think could actually be seen in some cases. I haven't really examined this, though. Quote:
Partly because I've sold Deshaker source code licenses to a few companies in the past, and that might be harder to do if the source was "more open". And partly I guess because it somehow feels better to have full control over it. |
||
20th May 2018, 00:24 | #438 | Link |
Registered User
Join Date: Nov 2008
Posts: 34
|
I've perfectioned my batch which automatically [generates LOGs, deshakes] and compress A/V of all video files in folder with plenty of options. For anyone interested it's here: https://sourceforge.net/projects/vir...-video-deshake
|
20th May 2018, 16:30 | #439 | Link |
Soul Architect
Join Date: Apr 2014
Posts: 2,559
|
I'm also working on implementing it in the Yin Media Encoder -- but it's implementation is more complicated than other filters due to requiring a pre-scan, and it's not so simple to do full preview for only a portion of the clip, and the fact that the second pass (in x86) requires MP_Pipeline to split into 2 processes to avoid running out of memory; adding to that the RBG32 conversion and a couple of other technical details.
I was also considering whether I could switch to Vapoursynth to avoid all kinds of MT and memory issues, but there are filters that don't work in VapourSynth: - Deshaker - my own filters (AvisynthShader, FrameRateConverter) - Audio filters
__________________
FrameRateConverter | AvisynthShader | AvsFilterNet | Natural Grounding Player with Yin Media Encoder, 432hz Player, Powerliminals Player and Audio Video Muxer Last edited by MysteryX; 20th May 2018 at 16:32. |
24th May 2018, 15:41 | #440 | Link |
Soul Architect
Join Date: Apr 2014
Posts: 2,559
|
Converting YV12 to fake RBG32 is very easy.
1. Convert to YUVA444P8 2. Use dummy filter to change video format to RGBAP8 without changing content 3. Convert to RGB32 RGB32 is flipped up-side-down, but is RGBAP8 up-side-up? If so, even the flipping will be handled by this method. If it's inserted within a script that reverse it again after, then even the previews will look good. As for VapourSynth, someone pointed out that VDubFilter source code isn't complicated at all, it would be very easy to port to VapourSynth for native support of VirtualDub filters. https://github.com/pinterf/AviSynthP...VDubFilter.cpp |
Thread Tools | Search this Thread |
Display Modes | |
|
|