Monday, May 10, 2010

video re-encoding for youtube

Now that I have a helmet cam, I am trying to figure out the best and easiest way to transcode video to get it to be below 2 Gb, and 10 minutes long (The youtube limits). I also have been looking for a way to flip the video upside down, since the GoPro firmware to do this in-camera is not yet available. Here is what I have come up with to flip and speed up video:

mencoder -vf filmdint=io=2:1 -speed 2 -oac pcm -ovc lavc -lavcopts vcodec=wmv2:mbd=2:cmp=3:subcmp=3:precmp=0:vqcomp=0.6:turbo:trell -vf mirror,flip -o GOPR0016.WMV2 GOPR0016.MP4

And here is what I have been using to just speed up video

mencoder -vf filmdint=io=2:1 -speed 2 -oac pcm -ovc lavc -lavcopts vcodec=wmv2:mbd=2:cmp=3:subcmp=3:precmp=0:vqcomp=0.6:turbo:trell -o GOPR0020_sped.MP4 GOPR0020.MP4


interesting things: using just "flip" will put you into the mirror image universe, which is very confusing, but somewhat amusing. You need the mirror command to get you back on the right side of the road and correct chirality.

also, youtube cannot process h263p encoded video.

update: I just edit in iMovie now

No comments:

life in Grenoble, France as an expat postdoc
life in Grenoble, France as an expat scientist
life in San Francisco, CA as a biotech nerd life in Grenoble, France as an expat scientist

Blog Archive

Popular Posts