Audit your media files

Here is a little script you can use to audit all of your media files. Note you will need to get the Perl modules installed first which is pretty straight forward using cpan. Note that the mediainfo module does require that the mediainfo libraries are installed first. Note I ran this on Centos 5.


use File::DirWalk;

use Mediainfo;

my $dw = new File::DirWalk;

        print “filename, video_format, video_length, video_bitraten”;

        $dw->onFile(sub {

                my ($file) = @_;

                my ($ext) = $file =~ /(.[^.]+)$/;

                if ($ext eq “.mp4” or $ext eq “.wmv” or $ext eq “.ts” or $ext eq “.mov”) {

                        my $info = new Mediainfo(“filename” => $file);

                        print “$file, “;

                        print $info->{video_format}, “, “;

                        print $info->{video_length}, “, “;

                        print $info->{video_bitrate}, “, “;

                        print “n”;


                return File::DirWalk::SUCCESS;




Cheap cameras with HD-SDI outputs

For a camera with a studio output there aren’t a lot of really cheap options compared to other video cameras but here are 2 you should be able to get for under $4000.

Canon XF-105

Panasonic AG-AF100

Using multicast on Windows with multiple NICs

A little trick I use to make sure I am getting the multicast on the right interface.

  1. Open cmd as administrator (right click run as administrator)
  2. Delete the default multicast routes. > route delete mask
  3. Add the route to the NIC you want. >route add mask <IP of NIC>

You could always get more fancy if you had different multicast feeds on different networks but mine all live on one.