[MPlayer-users] How do u get total time?

Michael Behrisch behrisch at informatik.hu-berlin.de
Thu Oct 23 13:11:43 CEST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Mittwoch, 22. Oktober 2003 23:01 schrieb shane bradley:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> I am using mplayer as engine for my Java based jukebox application?
>
> The only problem that i have is getting the total time of files?
>
> How do u get the totaltime of files?
>
> Such as .mp3, .ogg or some video media. I would like to be able to use
> mplayer to do this, i have tried the identity flag but it never seems
> to  return the time in output.

MP3 works for me but ogg did not, thus I wrote this patch, which did not
make it into the sources yet.

Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/l7dwZDyR4hR8HnQRAvD2AKDZCG89O/DPPLo9kiWvjdgcLeng+QCeImPx
TzeCORaXcuXvV+qVrOzR2/I=
=MbrF
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: demux.diff
Type: text/x-diff
Size: 4795 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20031023/3d91a4b1/attachment.diff>


More information about the MPlayer-users mailing list