[FFmpeg-devel] [PATCH]Show "00:00" on status line if pts is unknown

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Mar 5 11:02:27 CET 2014

Michael Niedermayer <michaelni <at> gmx.at> writes:

> > If current pts is unknown in ffmpeg.c (because it 
> > is AV_NOPTS_VALUE), ffmpeg currently shows 
> > "time=-577014:-32:-22.-77" (INT64_MIN) on the status 
> > line.
> > Attached patch forces the output to "00:00" in this 
> > case, intends to fix ticket #3427.
> > 
> > Please comment, Carl Eugen
> how can this be reproduced ?
> the command line from the ticket doesnt seem to work

The command line from ticket #3427 works fine here, I 
suspect you need network issues to be able to reproduce 
the problem.

Would you expect that pts can never be AV_NOPTS_VALUE?

Carl Eugen

More information about the ffmpeg-devel mailing list