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.

#!/usr/bin/perl

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;

        });

$dw->walk($ARGV[0]);

exit;

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

http://www.canon.com.au/For-You/Digital-Video-Cameras/Professional-Video-Cameras/XF105

Panasonic AG-AF100

http://www.panasonic.com/business/provideo/ag-af100.asp

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 224.0.0.0 mask 240.0.0.0
  3. Add the route to the NIC you want. >route add 224.0.0.0 mask 240.0.0.0 <IP of NIC>

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