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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > VirtualDub, VDubMod & AviDemux

Reply
 
Thread Tools Search this Thread Display Modes
Old 6th March 2008, 13:49   #101  |  Link
scharfis_brain
brainless
 
scharfis_brain's Avatar
 
Join Date: Mar 2003
Location: Germany
Posts: 3,636
The border compensation would have looked much nicer if the video wouldn't be deinterlaced before deshaking.

Use either pure interlaced without modification for deshaking,
or bob-deinterlace the video to 50fps before deinterlacing.

The sample you linked here was deinterlaced to 25fps thus discarding 50% of valid image/motion data!
__________________
Don't forget the 'c'!

Don't PM me for technical support, please.
scharfis_brain is offline   Reply With Quote
Old 6th March 2008, 13:57   #102  |  Link
Undead Sega
Registered User
 
Join Date: Oct 2007
Posts: 713
actually, i ddi deinterlace it to 50fps before deshaking it, cause i thought it would use more frames to help compensate for the black borders.

afterwards, i then encoded it to an MPEG 2 at 25fps, which is what i have provided.
Undead Sega is offline   Reply With Quote
Old 6th March 2008, 14:36   #103  |  Link
scharfis_brain
brainless
 
scharfis_brain's Avatar
 
Join Date: Mar 2003
Location: Germany
Posts: 3,636
if you deinterlace before deshaking you should try nnedi() for the interpolation.
You'll get rid of all the stairstepping.

could you upload a non-deinterlaced source, please?
__________________
Don't forget the 'c'!

Don't PM me for technical support, please.

Last edited by scharfis_brain; 6th March 2008 at 14:39.
scharfis_brain is offline   Reply With Quote
Old 6th March 2008, 19:57   #104  |  Link
Undead Sega
Registered User
 
Join Date: Oct 2007
Posts: 713
well, the oringal source was recorded from a miniDVD camcorder at the highest quality possible (even though it still looked crap and etc.) and still at 50i, how bizare:

http://www.wikiupload.com/download_page.php?id=35962

i tried to deinterlace it with MCBob at 50p but th odd frmes keeps on coming every other frame, thus giving it a very strange stutter.

hope that helps.
Undead Sega is offline   Reply With Quote
Old 6th March 2008, 21:54   #105  |  Link
scharfis_brain
brainless
 
scharfis_brain's Avatar
 
Join Date: Mar 2003
Location: Germany
Posts: 3,636
it is NOT the fault of mcbob()

your MPEG2 File is totally b0rked.
you encoded it in progressive mode and set bottom field first fieldorder. But the video is interlaced Top field first!

This is the reason for:
- the BAD quality
- colour problems
- the 'strange shutter'

So, provide an unprocessed sample, please.
(DV.AVI if possible)
__________________
Don't forget the 'c'!

Don't PM me for technical support, please.

Last edited by scharfis_brain; 6th March 2008 at 22:01.
scharfis_brain is offline   Reply With Quote
Old 6th March 2008, 21:56   #106  |  Link
Undead Sega
Registered User
 
Join Date: Oct 2007
Posts: 713
i see then, this is a first, maybe the settings has changed this time, but i will correct it from the previous user.

anyways, besides that, i posted the stablized video clip example, what was your thoughts on that? before and after wise.
Undead Sega is offline   Reply With Quote
Old 6th March 2008, 22:01   #107  |  Link
BBugsBunny
Registered User
 
BBugsBunny's Avatar
 
Join Date: Nov 2003
Location: Austria
Posts: 75
Quote:
Most wide angle lenses are usually either rectilinear or fisheye. I guess it's pretty obvious that fisheye lenses will give strange results when deshaking, but the fact is that even perfectly rectilinear lenses will look a bit weird (which that sequence above demonstrates).
Am I right that deshaking films shot with wide angles lenses would require to measure each specific camcorder lens to get info about the distortion it causes and with such an info it could be deshaked?
For foto shots with digital cameras there are some tools that have measured different lenses and cameras and can do some correction afterwards eg:
http://www.epaperpress.com/ptlens/
They have the lens profiles included in the software.

Another topic: recently Deshaker was tested in the german computer magazine ct. It was compared with other deshakers all of them not free exept deshaker. Guess who got best results? Deshaker! I do not have this ct at home I only was quickly flying over. One problem they stated that deshaker could not correctly handle some caps from HD cameras.
BBugsBunny is offline   Reply With Quote
Old 7th March 2008, 17:38   #108  |  Link
Undead Sega
Registered User
 
Join Date: Oct 2007
Posts: 713
Quote:
you encoded it in progressive mode and set bottom field first fieldorder. But the video is interlaced Top field first!
i know this has been brang up beofre, but either case, can this error be amended?
Undead Sega is offline   Reply With Quote
Old 7th March 2008, 18:44   #109  |  Link
guth
Registered User
 
Join Date: Apr 2003
Location: Uppsala, Sweden
Posts: 152
Quote:
Originally Posted by BBugsBunny View Post
Am I right that deshaking films shot with wide angles lenses would require to measure each specific camcorder lens to get info about the distortion it causes and with such an info it could be deshaked?
No, I'm afraid not. The problem occurs because deshaker moves the content of the frames around. To correct it you would have to know how much deshaker will move it. That info is (sort of) in the logfile, but I don't think the software to fix this exists, except maybe for davidhorman's attempt earlier in this thread. To make it perfect, though, deshaker would have to be modified for pass 1 too.

But to correct perspective distortion, no measuring of the lens would have to be made. I think the FOV angle is all that deshaker would need, and I could probably make it determine the FOV itself.

But to correct additional barrel/pincushion distortion of the lens, you would have to measure it and fix it yourself in advance.

Quote:
Originally Posted by BBugsBunny View Post
Another topic: recently Deshaker was tested in the german computer magazine ct. It was compared with other deshakers all of them not free exept deshaker. Guess who got best results? Deshaker! I do not have this ct at home I only was quickly flying over. One problem they stated that deshaker could not correctly handle some caps from HD cameras.
I didn't know this. Nice!
If anyone knows what caps they are talking about, I would very much like to know.
guth is offline   Reply With Quote
Old 7th March 2008, 19:15   #110  |  Link
BBugsBunny
Registered User
 
BBugsBunny's Avatar
 
Join Date: Nov 2003
Location: Austria
Posts: 75
This is the link to the article:
http://www.heise.de/kiosk/archiv/ct/...ckelter_Videos
But it's not a free download , it costs 0,70€

Guth, if you ask the authors I'm sure they will tell you what caps they had problems with.
You can find the general contact e-mail adress here: http://www.heise.de/ct/kontakt/

Last edited by BBugsBunny; 7th March 2008 at 19:23.
BBugsBunny is offline   Reply With Quote
Old 7th March 2008, 19:21   #111  |  Link
guth
Registered User
 
Join Date: Apr 2003
Location: Uppsala, Sweden
Posts: 152
Thanks! I guess it's in German? My German could be better...
guth is offline   Reply With Quote
Old 7th March 2008, 19:27   #112  |  Link
BBugsBunny
Registered User
 
BBugsBunny's Avatar
 
Join Date: Nov 2003
Location: Austria
Posts: 75
Yes the article is in german, but if you contact the authors in english it should be no problem.
BBugsBunny is offline   Reply With Quote
Old 7th March 2008, 20:13   #113  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,687
Holy Crap! That filter is godly! I know there were a few "tearing" artifacts, but the overall effect was stunning!
__________________
FAQs:Bond's AVC/H.264 FAQ
Site:Adubvideo
Adub is offline   Reply With Quote
Old 7th March 2008, 20:27   #114  |  Link
Undead Sega
Registered User
 
Join Date: Oct 2007
Posts: 713
i take it u saw my video example?

@scharfis_brain, i have adjusted my settings and i still keep getting the same results.

this is wen i make an AVI, i set the encode to Interlace, including the video source to Interlace and yet i still get a Progressive video with interlacing artifacts.

what do i do to make a lossless Interlaced AVI from a .VRO (DVD-RAM file)?
Undead Sega is offline   Reply With Quote
Old 8th March 2008, 04:45   #115  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,687
Quote:
Originally Posted by Undead Sega View Post
i take it u saw my video example?
Indeed.
__________________
FAQs:Bond's AVC/H.264 FAQ
Site:Adubvideo
Adub is offline   Reply With Quote
Old 8th March 2008, 08:34   #116  |  Link
guth
Registered User
 
Join Date: Apr 2003
Location: Uppsala, Sweden
Posts: 152
For some reason I can't see your video clips, Undead Sega. IE says it can't find the file, and I usually see lots of broken links on that page.
guth is offline   Reply With Quote
Old 8th March 2008, 14:05   #117  |  Link
Undead Sega
Registered User
 
Join Date: Oct 2007
Posts: 713
oh no! its gone!

man, that another uploading again, unless it is the site's fault.

the only person i know here who has downloaded are: scharfis_brain and Merlin7777.
Undead Sega is offline   Reply With Quote
Old 9th March 2008, 20:10   #118  |  Link
Undead Sega
Registered User
 
Join Date: Oct 2007
Posts: 713
Quote:
this is wen i make an AVI, i set the encode to Interlace, including the video source to Interlace and yet i still get a Progressive video with interlacing artifacts.

what do i do to make a lossless Interlaced AVI from a .VRO (DVD-RAM file)?
can anyone help me with this one before i continue?
Undead Sega is offline   Reply With Quote
Old 11th March 2008, 16:37   #119  |  Link
scharfis_brain
brainless
 
scharfis_brain's Avatar
 
Join Date: Mar 2003
Location: Germany
Posts: 3,636
@guth: can you add an option to the fist pass?
I need to ignore all vectors that appear static (or almost static) to deshaker.
Imagine a bird in the blue sky.
the bird covers approx. 10 to 15% of the image area. (high zoom)
but deshaker discards all motion vectors of the shaking bird, cause it thinks the 'static' sky is the reference.
So effectively nothing is getting stabilized.

Maybe you could add options to
a) ignore nearly flat areas
b) ignore vectors that move less than xx pixels.
__________________
Don't forget the 'c'!

Don't PM me for technical support, please.
scharfis_brain is offline   Reply With Quote
Old 11th March 2008, 17:50   #120  |  Link
guth
Registered User
 
Join Date: Apr 2003
Location: Uppsala, Sweden
Posts: 152
Yes, that can be a problem. It happens because of built-in temporal smoothing in the camcorder. It makes noise look similar between the frames and causes deshaker to match on the noise. The noise is most apparent in the highest scale, so try using a lower (less precise) scale. Also, try increasing either (or both) of the first "discard motion of blocks that..."-values. And if nothing else helps, use "ignore pixels outside" to only match on the bird.
You could also try adding some nontemporal smoother before deshaker (pass 1 only) that removes the tiny noise.
guth is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:44.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.