Mplayer video wall script
So anyway, the thing that prompted me to set up this online journal was my recurring desire to share things that I create with the world. In this instance; the thing that pushed me to actually do something about it, was a perl script I had just written which creates a wall of videos. I created it to optimise my porn viewing, and because I couldn’t find anything to play multiple video files side by side, in a grid.
The mplayer video wall script can be downloaded, “chmod +x“ed and executed as follows:
videowall.pl *
videowall.pl -w2 -h2 *flv
The -w and -h switches specify the number of columns and rows of videos to construct. The glob of filenames is just a list of video files which the script picks from at random. It can be any length and produced by any means, so perhaps:
videowall.pl -w5 -h5 `find . -type f -print0 | xargs -0 -I '{}' echo "'{}'"`
...if you’re feeling fancy. (Beware filenames with quotes in them!)
It’s not perfect by any means, but it’ll do for its intended purpose. I.e., optimised masturbation.
Feed me back if you have any thoughts.
This script plus a porn DVD shot at multiple angles could be used to create a new genre of porn. Congratulations.
br (Email) (URL) - 08 04 09 - 03:08
i keeps playing the same porn movie many times although i give it around 16 files for playing
but nice script
roKB (Email) (URL) - 13 01 10 - 19:32
Hmm, I wonder why. It could be because this script is incredibly bad at dealing with filenames containing spaces. I usually rename all the files to not have spaces:
for i in *flv ; do mv “$i” `echo “$i” | sed ‘s/ /_/g’` ; done
Idris (URL) - 14 01 10 - 21:00