Chris Schmidt (crschmidt) wrote,
Chris Schmidt

Graphing Networks

Taking an idea and some motivation from a project of Jibbler's, I decided tonight that I would make graphs of the two channels I run PieSpy bots in. I learned some interesting things.

First of all, the mplayer documentation provides a command that segfaults on running. The command:

mencoder "mf://*.png" -mf fps=25 -o output10.avi -ovc divx4

Runs through, gets to a certain step - and dies. no more encoding. The fix wasn't too difficult, I just needed to specify some different options, but it made me scratch my head. I had to ask in #mplayer for what to do. However, they helped me out, with information about how the mencoder options work, so I was able to generate images after that. Command used was mencoder -oac copy -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1000 mf://*.png -mf fps=$numFPS -o $outputfilename

I've learned that it's really easy to generate these things - just a few minutes of processing time, and I've turned the 1000+ png images of channel relationships into a video!

These videos show the network of #foaf over the last week or so. -- 30fps version -- 4.9 meg
This file is recommended if you have a play back device which can slow down output - you'll probably want to run it at about 1/3rd-1/5th speed. -- 7 fps -- 11.13 meg
Recommended if you can't control the speed of your output. Larger file, because of the lower frames per second.

Next, I generated images for #drupal. These images are smaller, because the bot was offline for a couple days, and I didn't realize it. But they're still pretty nifty, and don't have the crazily strong link that #foaf seems to have generated between drumm, xavier and I. -- 7MB -- 7 fps -- 3.16 MB -- 30fps video.
Second one is good for people who can slow down playback, first is good for those who can't.

Current graphs for the channels in question are available at and .

  • candy

    At our old house, we always ran out of candy, so I live in perpetual fear of it. At this house, we were totally ghost town one year, and we ran out…

  • Projects

    Overall, I have a handful of projects I'm working on. - Livestream Alerts: Website for generating alerts during Livestreams. Most recent work:…

  • sigh, humans

    For the last 36 hours, I have been unreasonably upset by the simplest, stupidest things that people do. Why can't people just be more smart and less…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded