Monday, February 27, 2012

KISS (Keep It Simple Stupid) FFMPEG

How to remove jitter from the first couple of seconds of Nikon DSLR video, and keep only 60 seconds.

$ lav2yuv +n DSC_0000.AVI > dsc0000.yuv
$ ffmpeg -i dsc0000.yuv -ss 3 -t 60 -y -s vga dsc0000.mp4
$ mediainfo dsc0000.mp4

...asumming you want to convert the MJPEG original to MPEG-4, of course....

By the way, my Nikon outputs 1280x720 HD video (hd720 in FFMPEG-speak). No Full HD (aka hd1080) from this baby.

No comments:

Post a Comment