Tuesday, May 13, 2008

get flv from repph.

One thing that sucks about streaming in flash is that the flash player on linux uses al lot of CPU, especially full screen an doesn't interpolate very well.

The solution is to download the flv file and play it on mplayer or whatever else. Here's a small script that does it from repph:

wget $1 -O page.html
axel -o $2.avi -a $(egrep file=.*flv page.html |sed 's/^.*file=//' |sed 's/&.*$//')
rm page.html

No comments: