If you have seen the Olympics Basketball Final in Munich 1972 USSR vs USA you know that game clock is of the essence.
A bit more recent we have Michael Jordan Buzzer Beaters.
This article describes one way of getting the game clock on screen when you record a sport event. Follow this link to see ex. of videos.

For recording I use:
On the ASUS I have this directory structure:
./pipmanipulator holds a program (link to source!) that reads serial data from the Nautronic Scoreboard System and continually updates a file ("/mnt/ramdisk0/pipmanipulator.dat") with scoreboard information.
./ffmpeg holds a modified version of ffmpeg. (link to source!) Look for "tps" in source code to find modifications. The standard package ffmpeg is adjusted to use information from the file with scoreboard information. ffmpeg reads a number of bitmaps and put these bitmaps on screen, ie. see lower left part of image above. The bitmaps are created by the script makeboardGraphics.sh before run of ffmpeg. ffmpeg picks up bitmaps at run time depending on values in the file with scoreboard information. Ie. if the score is 17 vs. 11 then bitmaps 17.bmp and 11.bmp are inserted to illustrate the score. There are bitmaps for all numbers, team names, logos, period etc. As mentioned all these bitmaps are created by makeboardGraphics.sh prior to run of ffmpeg. Bitmaps are put on top of the DV input to ffmpeg. Hereby ffmpeg creates a picture in picture (pip). In script makeboardGraphics.sh as well as in modified version of program ffmpeg bitmap manipulation is done using ImageMagick
./scripts holds various scripts I use for the record/burn process. Please see below.
Set up the environment to record video:
The scripts I have to ease the record and burn process are:
Record video and burn to DVD.
With the ASUS I am able to record a new game while burning the previous game. This speeds up the process if you have games coming right after each other and you still want to be able to deliver DVDs not to long after first game ended.
Comments
Successfull video recording!
I was out this last weekend and got six youth basketball games on DVD. I put scaled down versions of the games on basketball club's homepage for download and that did indeed created a lot of traffic.
If you have any questions don't hesitate to e-mail - tps at netmaster.dk
test comment wiht mollom + capcha!!!
test comment wiht mollom + capcha!!!
Compile ffmpeg, add shot clock
The scoreboard equipment now includes a 24 sec. shot clock. To capture shot clock nautronic.c and the customized version of ffmpeg has been updated. I came across this introduction to compile ffmpeg with latest x264 under Ubuntu
Compile ffmpeg on Gentoo
The idea is to do a local compile where ffmpeg and additional libraries are installed in users home directory. I.e. use mp3 and x264 with ffmpeg so additional libraries libmp3lame and libx264 are needed. Basic software like subversion, wget and git is already installed.
Make a directory for ffmpeg and additional libraries.
Download ffmpeg into new subdirectory ffmpeg.
Get tarball with libmp3lame.
Exract libmp3lame tarball into new subdirectory lame-3.98.4.
Configure libmp3lame and specify that libmp3lame should be installed in parent directory and not in /usr/lib
Compile libmp3lame
Install libmp3lame in ~/data/data/video/
Donwload libx264 into new subdirectory x264.
Configure libx264
Compile libx264. Libx264 is installed into current directory.
Configure ffmpeg. Tell ffmpeg to pick up libmp3lame in ../include and ../lib (header files and libraries in two different libraries). Tell ffmpeg to pick up libx264 in ../x264 (header files and libraries in the same directory)
The references to MagickWand-config ensures that you are able to compile the modified verison of ffmpeg that does image manupulation with ImageMagick, see article above.
Compile ffmpeg.
We don't have libmp3lame and libx264 libraries in standard location, /usr/lib or /urs/local/lib so we have to set LD_LIBRARY_PATH so ffmpeg knows where to pick up the additional libraries at runtime.
Run ffmpeg.
Android Phone as CAM2
Once I get an Android Phone I will try use the Android Phone as CAM2.
The idea is that CAM1 covers the entire basketball field and CAM2 is on the side line streaming video to the ASUS PC. One the ASUS PC I should be able to decide if I want to record the stream from CAM1 or CAM2
For more on using the Android Phone as web cam please see:
http://lifehacker.com/5650095/ip-webcam-turns-your-android-phone-into-a-...
Thanks
Thomas S
Protocol for Nautronic Scoreboard System
Hi,
Very nice application. Do you have protocol documentation for this scoreboard (Nautronic) or you have just grab the signal from tha cable ?
Thank you for answer.
Michal