Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Get size and bitrate of video with perl and ffmpeg

by lancer (Beadle)
on Jul 30, 2012 at 19:14 UTC ( #984494=CUFP: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    
    ...
        print "$video_size $video_bits\n";
        last;
    }
    
  2. or download this
    ./getvideosize.pl http://bennugd-vlc.googlecode.com/files/sintel_trail
    +er-480p.mp4
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: CUFP [id://984494]
Front-paged by Corion
help
Chatterbox?
[shmem]: they are too close to each other
[shmem]: J.S.Bach said: "playing Clavier is darn easy. All you have to do is to push the right key with the right finger at the right time."
[shmem]: same for programming and creating bugs.

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2017-04-27 14:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (508 votes). Check out past polls.