[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 6 15:28:11 CEST 2012
littlebat ha scritto:
> I don't know the technique detail of how to get the duration of a
> video file. But, if I need a universal method using mplayer to get the
> duration of a video, I need extra parameter "-demuxer lavf" to get it
> for a mpegts file. I found "mediainfo" and "ffmpeg" can get the
> duration of a mpegts file in a universal way. Why can't adopt these
> estimated ways in mplayer?
I'd be afraid to read how ffmpeg and mediainfo try to guess the duration.
Short answer: guessing is always the highway to hell.
More information about the MPlayer-users
mailing list