Hi, see my answers below. On Tuesday 23 February 2010 20:22:09 Al Bogner wrote: > Am Dienstag, 23. Februar 2010 18:31:10 schrieb Georg Martius: > > Hi Georg, > > > On Tuesday 23 February 2010 15:50:32 Al Bogner wrote: > > > Am Dienstag, 23. Februar 2010 14:06:50 schrieb Georg Martius: > > > > On Tuesday 23 February 2010 11:21:59 Al Bogner wrote: > > > > > > > > You can even try one of the loss-less formats of ffmpeg see > > > > transcode -i /dev/null -y ffmpeg -F list > > > > but make sure your editing program can read them. > > > > > > Does cinelerra support it? If I can't get familiar with cinellera, I > > > will give kdenlive a try. > > > > I don't know! Find it out yourself and post your results here. > > I will do this, after I got the other things work as I want. > > > First I deinterlaced the clip: > > transcode -J smartdeinter -i test_0001.avi -x ffmpeg -y ffmpeg,tcaud -F > > ffv1-o test_0001.deinter.avi > > > > transcode -J stabilize -i test_0001.deinter.avi -x ffmpeg -y null,null -o > > dummy > > > > transcode -J transform=zoom=10:smoothing=20 -i test_0001.deinter.avi -x > > ffmpeg -y ffmpeg,tcaud -F ffv1 -o test_0001.stable.avi > > > > zoom=10 gives a simple answer to you problem with the borders. This means > > the image is zoomed by 10%. Note that for stabilization the the > > transform plugin zooms anyway to get rid of moving borders (see > > "finalzoom "in the output). With zoom=10 you add 10% to the automatic > > detected value. smoothing=20 (10 is default) makes the movie even more > > smooth (but limits maximal camera speed) > > Is it possible to make the center of the zoom not in the middle. In my > sample video the borders are different. No, this it not possible. I would rather cut off more then less, but you have to check your clips. Actually there would be a way, which is to first transform (translate) the image to the right position (which works in principle with the transform plugin with a handmade .trf file and smoothing=0,relative=0,optzoom=0), but I think it is not worth it. > > I know, that my sample video is a problematic one, but I am not fully > convinced of the result. No idea, if the statues in the rock could get more > "quiet". I believe that this is the maximum you can get with this source. Do you understand why the statues still appear to be a bit shaky?! The point is that your camera captures unsharp frames while the camera is moved. The stabilization cannot do anything against this, this is a problem of a too long exposure time of your camera.
> I tried another sample (17MB zooming off a boat) too > > publicfiles.pinguin.uni.cc/test_0002.avi > to access use transcode / transcode > > Using the same options as above, I think the result is more shaky then the > original. Watch the horizon. > > transcode -J smartdeinter -i test_0002.avi -x ffmpeg -y ffmpeg,tcaud -F > ffv1 - o test_0002.deinter.avi > > transcode -J stabilize -i test_0002.deinter.avi -x ffmpeg -y null,null -o > dummy > > transcode -J transform=zoom=10:smoothing=20 -i test_0002.deinter.avi -x > ffmpeg -y ffmpeg,tcaud -F ffv1 -o test_0002.stable.avi > Here the problem is that there is low contrast on large areas of the image. You can see what the stabilizer is doing with transcode -J stabilize=show=1,preview .... You see the squares which are the measurement fields and the small white dot marks is the detected movement to the previous frame. Try: transcode -J stabilize=fieldnum=40:mincontrast=0.3:show=1,preview -i test_0002.deinter.avi -x ffmpeg -y null,null -o dummy and then you might disable the rotational stabilization with transform=maxangle=0.... which sometimes gives wrong results if there are so litte useable measurement fields. I am working at an improved version with much less parameters at the moment ;-) Regards! Georg
signature.asc
Description: This is a digitally signed message part.