[FFmpeg-trac] #10358(undetermined:new): negative initial out_time in progress output

FFmpeg trac at avcodec.org
Fri May 12 17:41:52 EEST 2023


#10358: negative initial out_time in progress output
-------------------------------------+-------------------------------------
             Reporter:  zebul666     |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 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
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10358>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list