Soar Over Asteroid Vesta in 3-D
Channel: Jiec6shi
Date: 2011-12-04

Converted NASA/JPLNews' Video to side-by-side youtube 3d video with ffmpeg and imagemagick using only the red and green channels. The blue channel has been dropped all together. Source Video taken from:
http://www.jpl.nasa.gov/video/download.php?mm_type=hdmov&id=1041&file...
http://www.jpl.nasa.gov/video/
http://www.nasa.gov/mission_pages/dawn/news/dawn20111201.html
http://www.youtube.com/watch?v=tGpZT8WL2y0


The following script was used to create this video. This one is encoded with mencoder, because it doesn't crash...

#!/bin/bash
#ffmpeg -i dawn20111201-1280.mov -vcodec png -an 1_png/dawn%d.png
#ffmpeg -i dawn20111201-1280.mov -f matroska -vn -y dawn_aac.mkv
# mkdir 8
# mkdir 2_rg
# mkdir 1_png

for i in 1_png/*png; do B=`basename "$i" .png`
   r=2_rg/"$B"_r.png
   g=2_rg/"$B"_g.png
   s=8/"$B"_s.png
   convert "$i" -channel R -separate "$r"; convert "$i" -channel G -separate "$g" #convert -size 1280x720 xc:magenta -draw "image SrcOver 0,0 640,720 \"${r}\"" -draw "image SrcOver 640,0 640,720 \"${g}\"" "${s}"
done
mencoder mf://@list.txt -mf w=1280:h=720:fps=30000/1001:type=png -vf pullup,softskip -aid 128 -sid 0 -forcedsubsonly -ovc x264 -x264encopts threads=auto:bframes=3:weight_b:partitions=all:8x8dct:subq=6:bitrate=8100 -oac copy -ofps 30000/1001 -audiofile dawn_aac.mkv  -o dawn_menc.avi