Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

"Deshaking" means fixing the video captured from camera hold in hands.

Is there open source video deshaker apart from y4mstabilizer from mjpegtools? Patch for mencoder is preferred.

My current command line for processing video looks like:

mplayer  video_from_camera.avi -nosound -vo yuv4mpeg:file=/dev/stdout -really-quiet | y4mstabilizer -n -a 0.8 -r 30 -s 100 | mplayer -cache 1000 /dev/stdin -noconsolecontrols -vf crop=500:380:70:50,denoise3d=3:3:5:5 -vo yuv4mpeg:file=temporary.yuv

y4mstabilizer is itself very unstable and often crashes (and it didn't work at all until I have patched memory allocation in it).

share|improve this question

1 Answer 1

up vote 5 down vote accepted

Use transcode with "stabilize" and "transform" plugin pair. http://www.transcoding.org/

transcode -i temporary1.yuv -J  stabilize=maxshift=100=fieldsize=20 -y null,null -o /dev/null
transcode -i temporary1.yuv -J transform=smooth=50,denoise3d=luma=3:chroma=3:luma_strength=5:chroma_strength=5 -y yuv4mpeg -o temporary2.yuv
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.