[MPlayer-dev-eng] video file length in seconds and equliser read from source..
Nico
nsabbi at tiscali.it
Mon Nov 29 08:36:17 CET 2004
Julián Nuñez wrote:
> Hi:
>
> Maxipoint Rep Office wrote:
>
>> Hello,
>>
>> I am try create own unique visual interface connected to MPlayer. I
>> have 2
>> problems:
>>
>> - I cannot easily determine video file length in seconds :-(. MPlayer
>> hides
>> this information somewhere inside, so I cannot determine length and
>> correctly display progress bar during playback. Where is it inside
>> MPlayer
>> source?
>>
>>
> I can recommend the command -identify. It returns all kind of
> information about the movie, including LENGTH. You can redirect it to
> a fifo and parse it.
>
it doesn't work reliably for all file formats, and for mpeg files it's
particularly unreliable
More information about the MPlayer-dev-eng
mailing list