Random Ramblings
Murder City vs Convicts bout review.
March 11, 2012 at 12:26 PM | categories: skating, opinion, related groups, volunteeringA couple of thoughts on last nights bout. This won't be all that detailed I'm afraid, as I was focusing on keeping the score.
Background
Murder city roller girls came down to Hobart for their first ever inter league bout to play our local Convict City Rollers. Although its their first bout as a team they have been playing with Adelaide roller derby in training which should be helping them along.
About the bout
I think the convicts got off a bit lightly in their season opener (this game), coming up against a team that was really quite disorganised on the track.
The Homicidolls had a couple of stand out players, but by and large they didn't really work as a team. To compound that, they didn't hid hard, they struggled to hold back the Convicts jammers (most of the time) and they didn't control the pack.
Unfortunately for the Homicidolls, they suffered the same problem as any other away team: You can't be sure your best skaters go. Its a fact of life that with these leagues being amateur only (and in MCRGs case still starting out) there isn't a lot of money to go into things like travel.
Scores
Half time
Homicidolls: 54 Convicts: 78
Full time
Homicidolls: 98 Convicts: 201
This is keeping with the Convicts usual pattern of getting better as the bout progresses, but its interesting to see how much larger the first and second halves are. It should be noted the Convicts ended on a 20 point power jam, so without the last jam of the game it would have been 98 - 181. IMO that looks quite respectable for the Homicidolls first outing!
Photos
If you want to have a look at some pictures have a look at these by Chris Neugebauer.
Creating the Grand Final Bout dvd
October 29, 2011 at 10:00 AM | categories: skating, howtos and guides, related groups, volunteering, my projectsMonica offered to do up a DVD of the bout footage for the Convict City Roller Derby League. Because I had copies of the score sheets she decided to add the scores and who had Lead Jammer as subtitles to the film.
What we have
- A laptop running Ubuntu (and or Debian)
- The package devede (In Ubuntus multiverse, the 3rd party debian-multimedia repository for Debian)
- The package subtitleeditor (repositories as above)
- Copies of the video footage shot at the bout
- Photos of the score sheets used at the bout.
What was done
I made up a simple scoresheet (without all the overhead of the official ones) and typed up the photos of the score sheets to give us an easy to read (and reference) copy.
Subtitles were made using subtitleeditor and loaded in with devede. Something she discovered when doing the subtitles was a potential bug in subtitleeditor which you might like to be aware of. When you've made some changes to the subtitle file which are not valid subtitle syntax in a text editor and open the subtitle file in subtitleeditor, it will truncate the file (removing all your recent modifications) to the changes you've made using subtitleeditor. Not good if you 'penciled in' all the info before trying out subtitleeditor.
Monica made up the DVD image with devede, including the titles and menu screen (I could document how to do this, if anyones interested). One comment on devede is that it seems a bit clunky in the way it imports video files. It would be ok if we had 2 or 3 files, but with 11 the 'import individual file, check properties, ok' ritual gets a bit tedious.
devede will take all the subtitles/film data/ etc and put together a DVD iso for you. This process takes 2 hours on Monicas Core2Duo laptop, so could take a long time on a single core machine :)
Overlaying bout footage with crg-derbyscoreboard
October 29, 2011 at 10:00 AM | categories: skating, howtos and guides, related groups, volunteering, my projectsThis write up is going to be my memory booster if (when) I try and do this again. It may need to be fixed in places, I'll try and update it if I find its missing info.
Its a guide to doing POST production of a bout to overlay scores onto a video stream. This could probably be done in real time too, but not without something like Video4Linux Loopback Device or a hardware mixer.
Hopefully in future we can do this rather then do manual subtitles for presenting bouts (I cover this in a previous post as we can use the rather nice scoreboard overlay provided by the Carrolina Roller Girls derbyscoreboard.
Software we used
- Laptop running Debian stable
- crg-derbyscoreboard (from git, just pre 0.2 release)
- Chromium web browser (as shipped in Debian)
- Openshot video editor (version 1.4.0 backported from testing, the 1.1.3 in stable will not do what we need)
- A custom mask for Openshot made by Monica
- Footage (in a format Openshot can read)
- Screen capturing software recordmydesktop
- Dual head configured and a monitor plugged into the laptops DVI port
- xwininfo xorg utility (As shipped in Debian)
How we used it to record scores
Scoreboard and browser setup
For setup of crg-scoreboard please see its README or its wiki (The wiki has quite a bit of info on it these days, and should be a useful resource), or even its mailing list.
Launch chromium, and move a window onto each screen (Assuming you've already set up dual head displays). Your scoreboard will be on http://localhost:8080/ unless you have any site specific changes. Visit the scoreboards 'Video Feed Overlay Scoreboard' on the external monitors browser (This could be a projector, but I've not tested that yet), and 'Main Operator Control Panel' on the laptops screen (or your second screen, if not working with a laptop). Maximise the browser window showing the scoreboard (usually F11) so xwininfo will do the right thing
Scoreboard capture setup
Now, as long as you are running the scoreboard, you should be running recordmydesktop. For me, the command was
recordmydesktop --no-cursor --quick-subsampling --fps 2 --no-sound \ --on-the-fly-encoding --no-frame -o scoreboard-window-`date \ +%Y%m%dT%H%M`.ogv --windowid $(xwininfo |grep 'Window id' \ |cut -d ' ' -f 4)
In brief, the options do the following: disable the mouse from showing, lower the quality (its a three colour image, and over 90% is black), records two frames per second (The clock ticks every second, and thats the fastest updating thing on the board), disable sound (we produce none), encode on the fly (to minimise post recording waiting), don't display a border, the filename (including date and time to the minute) and the window to record.
The mouse will turn into a cross ('+') which you use to select the window you wish to record - the window containing the scoreboard.
Determine Window ID of your Video overlay scoreboard
xwininfo is a handy little command line utility that is included as part of x11-utils package and will show the window id of any window you select. Selecting the external monitor on my laptop gives 'xwininfo: Window id: 0x3cf5f67 "CRG SB Overlay - Chromium"' Take that value and give it to recordmydesktop.
How we used it for post production
Once you have your video streams, its time to do the post production. Unfortunately, there are some steps still to be done before this is possible.
Backporting Openshot
You need a newer Openshot then that in Debian squeeze (stable at the time of writing), we used 1.4.0 from testing as its new enough to have the features we need, and still install without changes.
wget http://ftp.au.debian.org/debian/pool/main/o/openshot/openshot_1.4.0-1_all.deb sudo dpkg -i openshot_1.4.0-1_all.deb
Thats it!
Installing the custom Openshot mask
I've added the mask Monica made to the files section of this site. We may end up submitting it upstream at a later date if we find its particularly useful or interesting to others.
The actual importing is fairly painless. Launch Openshot through the Applications menu or from a shell, then visit File -> Import New Transition. Browse to where you downloaded the file using the 'Select Transition' selection box and close the navigation box with OK once the file is selected. If you selected the correct image, OK in the Import Transitions box to confirm. Openshot will (hopefully) tell you the transition imported correctly and it will appear at the bottom of the Transitions tab in the UI.
Doing the overlay
Import all the clips (one at a time in older versions, multiple selection with 1.4). Add the bout footage to Track 1. Add the timing footage to Track 2. Get the scoreboard transition and drag it between the two tracks Right click the transition and select properties Length needs to be the full bout (Unless you use half time for something else, in which case you might want to do two halves). A full bout will be around 7200 seconds (2 hours). Importantly, change the Type from Transition to Mask. Do not modify Softness or Mask Threshold unless you have reason to. Apply to save the changes, and play your video in the preview window. Do any shuffling to the video that you need, then save your project.
Double check the two streams were synced correctly. If they are, its probably time to make DVDs.
Pulling back
August 12, 2011 at 10:00 AM | categories: personal, distro hacking, hacking around, volunteering, related groupsToday I've done something I have tried to avoid for a long, long time: unsubscribed from a number of lists and groups. The most interesting/important lists to get the chop were: - debian-games-devel/pkg-games-ubuntu (This involved leaving 3 lists) - pkg-fso - wb-team - debian-live - debian-cd - FHS discuss - vcs-pkg-discuss - Debexpo
I'm still trying to decide if I should hang around on the irc channels too - that is still up for debate.
More teams/groups/lists/channels will probably follow in the next week or so as I get mail from the lists.
Thanks for the helpful answers to my questions/patches over time, hopefully I'll be able to work with you all again.