Bug#526736: mplayer: The duration of a file should be included in the output

Axel K. Stammler axst at users.sourceforge.net
Sun May 3 07:17:48 UTC 2009


Package: mplayer
Version: 1.0~rc2-17+lenny3
Severity: wishlist

I use the following command to probe media files:

MPLAYER_VERBOSE=-6 mplayer -endpos 0 -msglevel demux=4:header=-1:cplayer=4:decaudio=5:decvideo=5:all=-1 "$FILENAME"

This quickly gives an amazing amount of information --- but not the length of the
recording contained in the file. How can I get this information without playing the file
and looking at the on-screen display (OSD)?

-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.29.1 (SMP w/1 CPU core; PREEMPT)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mplayer depends on:
ii  debconf [debconf 1.5.24                  Debian configuration management sy
ii  libasound2       1.0.16-2                ALSA library
ii  libatk1.0-0      1.22.0-1                The ATK accessibility toolkit
ii  libaudiofile0    0.2.6-7                 Open-source version of SGI's audio
ii  libavcodec51     0.svn20080206-17+lenny1 ffmpeg codec library
ii  libavformat52    0.svn20080206-17+lenny1 ffmpeg file format library
ii  libavutil49      0.svn20080206-17+lenny1 ffmpeg utility library
ii  libc6            2.7-18                  GNU C Library: Shared libraries
ii  libcaca0         0.99.beta14-1           colour ASCII art library
ii  libcairo2        1.6.4-7                 The Cairo 2D vector graphics libra
ii  libcdparanoia0   3.10.2+debian-5         audio extraction tool for sampling
ii  libcucul0        0.99.beta14-1           low-level Unicode character drawin
ii  libdirectfb-1.0- 1.0.1-11                direct frame buffer graphics - sha
ii  libesd-alsa0 [li 0.2.36-3                Enlightened Sound Daemon (ALSA) - 
ii  libfaad0         2.6.1-3.1               freeware Advanced Audio Decoder - 
ii  libfontconfig1   2.6.0-3                 generic font configuration library
ii  libfreetype6     2.3.7-2+lenny1          FreeType 2 font engine, shared lib
ii  libfribidi0      0.10.9-1                Free Implementation of the Unicode
ii  libgcc1          1:4.3.2-1.1             GCC support library
ii  libgif4          4.1.6-6                 library for GIF images (library)
ii  libgl1-mesa-glx  7.0.3-7                 A free implementation of the OpenG
ii  libglib2.0-0     2.16.6-1+lenny1         The GLib library of C routines
ii  libgtk2.0-0      2.12.12-1~lenny1        The GTK+ graphical user interface 
ii  libjack0         0.109.2-5               JACK Audio Connection Kit (librari
ii  libjpeg62        6b-14                   The Independent JPEG Group's JPEG 
ii  liblircclient0   0.8.3-3                 infra-red remote control support -
ii  liblzo2-2        2.03-1                  data compression library
ii  libmpcdec3       1.2.2-1.1               Musepack (MPC) format library
ii  libncurses5      5.7+20081213-1          shared libraries for terminal hand
ii  libogg0          1.1.3-4                 Ogg Bitstream Library
ii  libopenal1       1:1.4.272-2             Software implementation of the Ope
ii  libpango1.0-0    1.20.5-3                Layout and rendering of internatio
ii  libpng12-0       1.2.27-2+lenny2         PNG library - runtime
ii  libpostproc51    0.svn20080206-17+lenny1 ffmpeg video postprocessing librar
ii  libsdl1.2debian  1.2.13-2                Simple DirectMedia Layer
ii  libsmbclient     2:3.2.5-4lenny2         shared library that allows applica
ii  libspeex1        1.2~rc1-1               The Speex codec runtime library
ii  libstdc++6       4.3.2-1.1               The GNU Standard C++ Library v3
ii  libsvga1         1:1.4.3-27              console SVGA display libraries
ii  libswscale0      0.svn20080206-17+lenny1 ffmpeg video scaling library
ii  libtheora0       1.0~beta3-1             The Theora Video Compression Codec
ii  libx11-6         2:1.1.5-2               X11 client-side library
ii  libxext6         2:1.0.4-1               X11 miscellaneous extension librar
ii  libxinerama1     2:1.0.3-2               X11 Xinerama extension library
ii  libxv1           2:1.0.4-1               X11 Video extension library
ii  libxvmc1         1:1.0.4-2               X11 Video extension library
ii  libxxf86dga1     2:1.0.2-1               X11 Direct Graphics Access extensi
ii  libxxf86vm1      1:1.0.2-1               X11 XFree86 video mode extension l
ii  mplayer-skin-blu 1.6-2                   blue skin for mplayer
ii  zlib1g           1:1.2.3.3.dfsg-12       compression library - runtime

mplayer recommends no packages.

Versions of packages mplayer suggests:
ii  bzip2 1.0.5-1                            high-quality block-sorting file co
ii  fontc 2.6.0-3                            generic font configuration library
ii  fping 2.4b2-to-ipv6-15                   sends ICMP ECHO_REQUEST packets to
ii  mplay 2:0.99+1.0pre7try2+cvs20060117-0.2 The Ultimate Movie Player For Linu
ii  netse 0.3.ds1-12.1                       Choose the fastest server automati
ii  ttf-f 20080323-3                         Freefont Serif, Sans and Mono True

-- debconf information:
  mplayer/replace-existing-files-bail:
  mplayer/replace-existing-files: false
  mplayer/no-ttfont:
  mplayer/install_codecs:
  mplayer/voutput: autodetect
  mplayer/ttfont: ${ttfontdefault}
  mplayer/cfgnote:
  mplayer/dvd_device: /dev/cdrom





More information about the pkg-multimedia-maintainers mailing list