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

Re: Get size and bitrate of video with perl and ffmpeg

by zengargoyle (Deacon)
on Jul 30, 2012 at 20:35 UTC ( #984515=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    $ ffprobe -i
    +0p.mp4 -show_streams -print_format csv 2>/dev/null
    stream,0,h264,H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10,video,1/48,avc
    +0.000000,52.208333,537875,1253,N/A,N/A,1970-01-01 00:00:00,und,VideoH
    stream,1,aac,Advanced Audio Coding,audio,1/48000,mp4a,0x6134706d,s16,4
    +970-01-01 00:00:00,und,SoundHandler

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://984515]
[LanX]: April 16th
[erix]: ah no, 16 april. some time to go yet :)
[LanX]: I hate resurrection ... my back aches
erix practices self-crucifixion but keeps getting get stuck at the one loose hand stage...
LanX has seen this in action ... pope should claim copyright infringement
[LanX]: dunno how to link image search

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (10)
As of 2017-03-23 09:07 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (285 votes). Check out past polls.