[MPlayer-users] Strange play time in recorded transport stream
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Wed Mar 30 20:37:49 CEST 2011
On Wed, Mar 30, 2011 at 11:09:22AM +0200, Ingo Brückl wrote:
> Etienne Buira wrote on Wed, 30 Mar 2011 09:04:52 +0200:
>
> > However, if you want to recreate the timestamps, you can use ffmpeg:
> > ffmpeg -i input.ts -acodec copy -vcodec copy -fflags +genpts output.ts
>
> Thanks a lot, that fixes the play time, but the total length displayed by
> MPlayer (OSD or GUI) still is rubbish.
>
> ffprobe now says "Duration: 00:01:05.95", MPlayer says "00:00:17".
>
> Any idea how to fix this?
Mux into a container that has that information.
For ts the only options are guessing or scanning the whole file.
Though -demuxer lavf will make MPlayer use the better guessing
FFmpeg uses.
More information about the MPlayer-users
mailing list