[Ilugc] CLI utility to determine duration of Audio/Video files (MythTV)

  • From: knura9@xxxxxxxxx (Arun Khan)
  • Date: Thu, 29 Sep 2011 17:02:51 +0530

On Thu, Sep 29, 2011 at 2:46 PM, Arun Venkataswamy <arun289 at gmail.com> wrote:

On Thu, Sep 29, 2011 at 2:22 PM, Arun Khan <knura9 at gmail.com> 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 *

Thanks.  ffmpeg in Debian/Squeeze does have NUV support.

It gives me the following on my .nuv file (relevant portions pasted here)

[nuv @ 0x1dd27a0] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate:
1000.00 (1000/1) -> 25.00 (25/1)
Input #0, nuv, from '1000_20110920200000.nuv':
  Duration: 00:17:02.86, start: 0.016000, bitrate: 1411 kb/s

However, when I play the same file in VLC, it reports 59:57.

-- Arun Khan

Other related posts: