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. |
16th January 2020, 22:33 | #61 | Link | |
Registered User
Join Date: Sep 2007
Posts: 5,377
|
Quote:
This thread is about lens correction. After you "undo" the lens distortion - how is this any different than other scenarios? I'm simply asking you to clarify what you mean by "wobbling" |
|
16th January 2020, 23:45 | #62 | Link |
Suspended for forum rule violations
Join Date: Mar 2018
Location: Germany
Posts: 216
|
Yes, you are right, the thread is about lens correction (tool).
And we're discussing how to make it useable not only for well known lenses but also if only known of a large fov. For in that case all deshaker do bad. It's difficult for me to describe what the effect looks like that I called "wobbling". Actually "wobbling" seems not to be the right English word for it. (I don't know a fitting word). It's more like "kneads". And it seems to be caused when tilting and panning a large fov movie. Why don't you have a look for yourself as I suggested? Last edited by nji; 16th January 2020 at 23:48. |
17th January 2020, 00:24 | #63 | Link |
Registered User
Join Date: Jan 2005
Location: Praha (not that one in Texas)
Posts: 863
|
Concerning wobbling...
If the wobbling is panning and tilting the camera... or as I said rotation around x and y axis...
Can someone stronger than me in math help me? When I rotate camera precisely around x axis... ...does quad help me with symetric transform (zoom bottom or top of the image) to compensate completely...or there is some curve involved? |
17th January 2020, 03:19 | #65 | Link | |
Registered User
Join Date: Sep 2007
Posts: 5,377
|
Quote:
I would, but I don't have any of those types of cameras anymore. I'm trying to think back - maybe DV, wide angle lens. Maybe you have something different, because I don't remember having any "wobbling" problem with those. But like you say maybe that was the wrong wording or description. It doesn't make logical sense that you say it "works" with something more extreme like fisheye, but not something less extreme like a wide angle lens. If what you're describing is related to the lens distortion, shouldn't a more extreme distortion cause more problems ? How do you expect shekh or any developer to improve any of these tools , or make them "more useable" - without any footage, settings, or at the very least an accurate description? A video is worth a thousand words. Find some footage without people or personally identifiable elements. Or find footage from same or similar camera / lens somewhere else that demonstrates the issue clearly When I want something fixed or improved, I go out of my way to provide footage, description, upload everything in a neat package. I want the developer to do as less work as possible, so that he or she would be more inclined to help, instead of having to do the "legwork" themselves. |
|
18th January 2020, 10:37 | #66 | Link | ||
Suspended for forum rule violations
Join Date: Mar 2018
Location: Germany
Posts: 216
|
Quote:
That's my concretization of the effect I am adressing here. (I'm no native speaker so my words my not always hit. And "wobbling" maybe was even wrong, as "wobbling" seems to be the same than "shaking". I tried to find a better fitting word, it that was (see above) "kneads within".) This effect occurs - to my observation - allways if you 2D deshake a large fov movie. (I wonder how often I wrote this expression in this thread) To say it explicitly: That won't be me. As I don't know enough either. And the answers (kindly by shekh and wonkey_monkey) gave me ever more questions. Quote:
But if it does simply resize lines wrt to a reference line, then it will be correct only for fov = 0. (No math, but just simple imagination ) Sorry, but I'm at a loss like you. Can't help any better. Tried to contribute by describing an effect that possibly could be enhanced. Ran against walls. |
||
24th January 2020, 15:18 | #68 | Link | |
Registered User
Join Date: Jan 2005
Location: Praha (not that one in Texas)
Posts: 863
|
Quote:
Can you help me please one more? When I want to simulate rotation around x and y...not z axis. I have d ...direction of combined rotation (0..360) degrees a ...amount of rotation > 0 degrees w,h ...dimension of video. How will I calculate the 4 points for quad? |
|
25th January 2020, 02:32 | #69 | Link | |
Registered User
Join Date: Sep 2007
Posts: 5,377
|
Quote:
https://forum.doom9.org/showthread.php?t=167797 the avisynth part was taken from that post (but the older version, not the revised version) https://stackoverflow.com/questions/...und-its-x-axis |
|
25th January 2020, 13:02 | #70 | Link | |
Registered User
Join Date: Jan 2005
Location: Praha (not that one in Texas)
Posts: 863
|
Quote:
I need rotation around camera axis. |
|
25th January 2020, 17:04 | #71 | Link | |
Registered User
Join Date: Sep 2007
Posts: 5,377
|
Quote:
Camera rotation is really pan (camera y-axis rot) and tilt (camera x-axis rotation) . It will also depend on the camera and lens characteristics, focal length, sensor size to determine the camera rotation axis of your particular shot. In short, you need to do a 3d camera solve to determine the relationship of the camera to the scene contents. A single set of variables like r,a,w,h won't be able to manipulate this for all types of cameras setups, lens and shots ; or it won't give you similar results across different cameras. You have a single 2D "plane" representation with all objects, far and close on that 2D plane. You're going to get problem with parallax and perspective in many types of shots and camera movements The proper way to do it is 3d camera mapping. You track the shot with a 3d tracker and create a virtual projection camera. You can project your video onto geometry and use a 2nd camera to adjust the camera move. There are free ways to do this in blender (not as good as commercial methods) . And there are old free 3d trackers like voodoo. The benefit of voodoo is it fires a bunch of trackpoints like hundreds (in native blender you have to set the point locations manually), but it's quite a dated program and 32bit. You might be able to look at the export data and coordinates an "massage" it to plug into deshaker, deshaker3d or quad (it can export blender scripts and plain text files) . It gives camera position (x,y,z) , axis (3 coordinate , 3 axis = 9 values) , focal length, field of view data |
|
26th January 2020, 11:16 | #72 | Link |
Registered User
Join Date: Jan 2005
Location: Praha (not that one in Texas)
Posts: 863
|
OK, I see it is much more complex than I thought.
Now, I spent few hour on rotation clip, but it is notworking as it is supposed to, I think. I post it probably later somewhere, so maybe someone finds the problem. |
26th January 2020, 16:17 | #73 | Link | |
Registered User
Join Date: Sep 2007
Posts: 5,377
|
Quote:
But you're not necessarily looking for mathematically correct optics, are you ? You're only looking for a closer "match" as determined by deshaker %ok blocks . ie. It's not necessary that your "label" of "x,y" degree rotation is accurate, only that it "looks" more similar to the previous frame |
|
28th July 2022, 10:16 | #76 | Link |
Suspended for forum rule violations
Join Date: Mar 2018
Location: Germany
Posts: 216
|
Question on controls
Can please somebody explain what the arrow-buttons (beside the edit fields) are for?
No matter what I do I don't see any effect when pressing... Thanks in advance! |
29th July 2022, 09:21 | #78 | Link |
Suspended for forum rule violations
Join Date: Mar 2018
Location: Germany
Posts: 216
|
Ooops.
Thank you for that one. I don't know if I ever found that out (maybe by occasion) by myself. As I haven't ever seen a button used like that. (Wait... there is ONE in AviDemux. But that "wheel control" is quite obvious, just optical). Still let me remark, shekh, that your plugin does very well, producing the best results for my wide-angle movies. If you ever start coding again... this one would deserve a 2nd version. :-) Greetings! |
|
|