On Thu, Sep 29, 2011 at 2:22 PM, Arun Khan <[email protected]> wrote:

> I am looking for a CLI command that displays the "total" display time
> for each .nuv file.  I have looked through the mythtv utilities; did
> not find this functionality on a cursory look at them.
>
>
You can use ffmpeg.
*ffmpeg -i filename *
will display the information.

Sample output
ffmpeg version 0.8.4, Copyright (c) 2000-2011 the FFmpeg developers
  built on Sep 26 2011 00:11:15 with gcc 4.4.3
  configuration: --disable-ffplay --disable-ffserver
  libavutil    51.  9. 1 / 51.  9. 1
  libavcodec   53.  7. 0 / 53.  7. 0
  libavformat  53.  4. 0 / 53.  4. 0
  libavdevice  53.  1. 1 / 53.  1. 1
  libavfilter   2. 23. 0 /  2. 23. 0
  libswscale    2.  0. 0 /  2.  0. 0
[flv @ 0x988c340] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 1000.00
(1000/1) -> 24.00 (24/1)
Input #0, flv, from 'animation.flv':
  Metadata:
    duration        : 229
    width           : 360
    height          : 288
    videodatarate   : 0
    framerate       : 24
    videocodecid    : 2
    audiosamplerate : 22050
    audiosamplesize : 16
    stereo          : true
    audiocodecid    : 2
    filesize        : 11049463
  Duration: 00:03:49.04, start: 0.000000, bitrate: 64 kb/s
    Stream #0.0: Video: flv, yuv420p, 360x288, 24 tbr, 1k tbn, 1k tbc
    Stream #0.1: Audio: mp3, 22050 Hz, stereo, s16, 64 kb/s
At least one output file must be specified



Regards,
Arun
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to