#10358 closed defect (fixed)

negative initial out_time in progress output

Reported by: zebul666 Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

When running ffmpeg with -progress -, the first outputed progress shows negative values as if the internal variables are not properly initialized:

ffmpeg -loglevel quiet -progress - -nostats -i https://arte-cmafhls.akamaized.net/am/cmaf/113000/113200/113270-000-A/230120215156/medias/113270-000-A_v216.mp4 test.mp4
File 'test.mp4' already exists. Overwrite? [y/N] Y
frame=0
fps=0.00
stream_0_0_q=0.0
bitrate=  -0.0kbits/s
total_size=0
out_time_us=-9223372036854775807
out_time_ms=-9223372036854775807
out_time=-577014:32:22.775807
dup_frames=0
drop_frames=0
speed=N/A
progress=continue
frame=635
fps=0.00
stream_0_0_q=28.0
bitrate=  82.8kbits/s
total_size=262192
out_time_us=25320000
out_time_ms=25320000
out_time=00:00:25.320000
dup_frames=0
drop_frames=0
speed=50.4x
progress=continue
frame=1216
fps=1212.81
stream_0_0_q=28.0
bitrate=  86.4kbits/s
total_size=524336
out_time_us=48560000
out_time_ms=48560000
out_time=00:00:48.560000
dup_frames=0

Just look at out_time_us, out_time_ms and out_time.
There are respectively:
-9223372036854775807
-9223372036854775807
-577014:32:22.775807

which is clearly wrong.

The first two needs to be 0, and out_time 00:00:00.00

Change History (2)

comment:2 by Balling, 16 months ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.