[MPlayer-users] How to get the duration(ID_LENGTH) of a Sony MTS video file use "mplayer"?
Nico Sabbi
nicola.sabbi at poste.it
Thu Sep 13 13:06:33 CEST 2012
littlebat ha scritto:
>
> I have checked some files' duration got by "ffmpeg -i filename" V.S.
> playing with mplayer(about 13 files), I found the difference between
> them is about 1 second commonly. All of their ID_LENGTH is zero
> reported by command "mplayer -identify -vo null -ao null -frames 0
> filename". The duration is from 6 seconds to 888 seconds. The format is
> MPEG-TS or MPEG-PS. MPEG-TS file is created by Sony DV. MPEG-PS file
> come from: [MPlayer-users] mplayer -identify reports incorrect
> information for some files:
> http://lists.mplayerhq.hu/pipermail/mplayer-users/2012-September/085313.html
>
> Maybe, this guessing duration way is worth considering to used in
> mplayer if this guessing way is stable? Better than giving a zero
> length?
>
>
It's a matter of tastes, but I prefer avoiding partial solutions that
work most of
the times for pure luck when there's already an alternative solution
that works
correctly 100% of the times (mencoder remuxing the whole file).
More information about the MPlayer-users
mailing list