This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Image Stabilization

Tags: None
(comma "," separated)
g.marco
Registered Member
Posts
87
Karma
0

Re: Image Stabilization

Thu Dec 15, 2011 3:55 pm
fix for both problems is in https://github.com/gmarco/mlt/tree/videostab and will be (i hope) merged next.

after that i'll commit some sse2 speedup fixes (short review needed)


yellow_drupal
Registered Member
Posts
748
Karma
0

Re: Image Stabilization

Fri Dec 16, 2011 8:49 am
hi marco, I rebuilt MLT & kdenlive from the excellent build scripts on the Wiki about 8 hrs ago, not sure if it included your fixes so will try again later but there did seem to be some improvement in far less smearing but stability was terrible, lots of crashes :-) I tested interlaced DV, not ideal I guess regarding your comment on deinterlacing although I left it interlaced.

I chose DV just because of speed. 15sec clip stabilizes in about 10mins on my old Sempron, a 15sec HDV takes just under an hour, a DSLR HD 15sec nearly two hours, not complaining and only to be expected on my test hardware but adding the mlt files to the timeline crashes kdenlive in a number of ways:

1. Scrubbing through the clip in the Clip monitor

2. Adding the clip to the timeline and moving or scrubbing.

3. Trying to render a clip off the timeline.

I had found I could render a clip with the previous version of the day before yesterday.

Will test again tonight on alternative hardware for comparison.

Cheers
g.marco
Registered Member
Posts
87
Karma
0

Re: Image Stabilization

Fri Dec 16, 2011 2:34 pm
the fix provided does not solve the problems as i see.
please wait unil i found a sopultion.
when using sse2 optimized version is will work a lot faster.
maybe later i could add also multithreading (but this will not happen next time)


yellow_drupal
Registered Member
Posts
748
Karma
0

Re: Image Stabilization

Sat Dec 17, 2011 7:02 am
ok, will do, many thanks.
betaversion
Registered Member
Posts
16
Karma
0

Re: Image Stabilization

Sun Dec 18, 2011 10:28 pm
I'm trying Stabilize in Ubuntu svn version.
The transcode version is simply great!

THANKS A LOT!!!!
markoc
Registered Member
Posts
342
Karma
1

Re: Image Stabilization

Mon Dec 19, 2011 6:15 pm
Seems that FFMPEG has sprouted its own stabilization tool!
While browsing the latest FFMPEG sources, I came across this:

libavfilter/vf_deshake.c

haven't yet tried it.
der_pit
Registered Member
Posts
15
Karma
0

Re: Image Stabilization

Wed Jan 04, 2012 10:48 am
Not sure if you've seen it, but also the transcode vid.stab now has a one-pass 'deshake' filter. From the web page:

The single pass version has the combined options of the two-pass filters. It produces less good results since it only uses past frames, whereas the two-pass version uses future frames as well.

Only a quick test, and on a wide-angle movie (GoPro) which is difficult to correct anyhow: Indeed at the same settings it is slightly inferior to the two-pass solution, but it does make things a bit easier....
(tested vid.stab 0.93 on transcode 1.1.5)
User avatar
ttguy
Moderator
Posts
1152
Karma
6
OS

Re: Image Stabilization

Mon Jun 04, 2012 10:30 am
So Kdenlive ver 0.9 is suposed to come with frei0r video stabilizer. Does anyone know where to find it in the app and how to use it?
normcross
Registered Member
Posts
300
Karma
0

Re: Image Stabilization

Mon Jun 04, 2012 12:07 pm
Just right click on the clip in the Project tree and it should be down there under Transcode.
User avatar
ttguy
Moderator
Posts
1152
Karma
6
OS

Re: Image Stabilization

Mon Jun 04, 2012 2:35 pm
And there it is. Stabilize > Videostab (vstab) and Stabilize > Videostab (transcode)

I created a job which then appears as "one pending job" and I can see a little progress bar on the bottom of the clip in the project view. Neat
I wonder what happens once the job finishes.
ImageImageImage
capslock
Registered Member
Posts
699
Karma
4
OS

Re: Image Stabilization

Tue Jun 05, 2012 6:12 am
Well, what would you expect the program to do, if you give a file destination and there is a tag in the checkbox "Add clip to project". ;-)

After stabilization it will appear in the project tree. Great feature.
User avatar
ttguy
Moderator
Posts
1152
Karma
6
OS

Re: Image Stabilization

Tue Jun 05, 2012 2:02 pm
Yep. The stabilized clip appeared in the project tree. Yay. It is a cool feature.
User avatar
ttguy
Moderator
Posts
1152
Karma
6
OS

Re: Image Stabilization

Wed Jun 20, 2012 10:01 am
BTW - what does Shutterangle do?
User avatar
ttguy
Moderator
Posts
1152
Karma
6
OS

Re: Image Stabilization

Wed Jun 20, 2012 10:35 am
"what does Shutterangle do?" - Shutterangle is the Angle that Images could be maximum rotated for stabilization. http://www.mltframework.org/bin/view/MLT/FilterVideostab.

And yes I often talk to myself !
ErichOn
Registered Member
Posts
6
Karma
0

Re: Image Stabilization

Sat Mar 30, 2013 7:15 am
Hi,

I like to start that thread again, after half a year of silence. I am an video editor for 20 years now and as I am fed up with windows I changed to Ubuntu 12.04 half a year ago. So far everything is moved to Linux except for video editing, so I gave Kdenlive a try. Playing round with vstab, I do not get any real results. Are there some magic parameters for running it? I did stab with vdub before which gave good results, but I cannot transcode single clips from the project tree to avi format, do I miss something here?

thx
Eric




Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot]