[GRASS-user] video

Hamish hamish_b at yahoo.com
Tue Nov 15 18:45:54 EST 2011


Markus wrote:
> - low res: no idea how to download from youtube

try youtube-dl from the linux command line.

http://rg3.github.com/youtube-dl/
http://packages.debian.org/youtube-dl

then you get a .flv file which VLC & alikes are
happy to play.


probably better to re-encode ourselves from the
original source than re-encode youtube's reencoding
though.

I'm no expert with `transcode` or `ffmpeg`, which
may be better suited for the task, but in the past
I've used mencoder to do it, e.g. for a 720px wide
result from (much larger) sequential png plot
frames, the command is like:

mencoder "mf://frame_*.png" -mf "type=png:fps=2" -o movie.avi \
-vf scale -zoom -xy 720 -ovc "x264" -x264encopts "pass=3" \
-x264encopts "preset=veryslow" -x264encopts "tune=animation"


Hamish


More information about the grass-user mailing list