[FFmpeg-trac] #8522(avformat:open): DASH start segment number calculation is wrong for fragment_duration mode

FFmpeg trac at avcodec.org
Mon Jun 26 18:35:14 EEST 2023


#8522: DASH start segment number calculation is wrong for fragment_duration mode
------------------------------------+--------------------------------------
             Reporter:  onitake     |                    Owner:  Steven Liu
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  dash        |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+--------------------------------------
Comment (by gorilla.maguila):

 Replying to [comment:16 Balling]:
 > Fix:
 https://patchwork.ffmpeg.org/project/ffmpeg/patch/dd59ee5e-7946-a9f3-d31f-
 891b4bced270 at gmail.com/

 This patch does not work with:

 https://ve-dash-
 uk.live.cf.md.bbci.co.uk/pool_901/live/uk/silver_stream_01/silver_stream_01.isml/pc_hd_abr_v3_dash.mpd


 This lines gives a negative value:


 {{{
 num = pls->first_seq_no + (((get_current_time_in_sec() -
 c->availability_start_time_value) *
 pls->fragment_timescale)-pls->presentation_timeoffset) /
 pls->fragment_duration - c->min_buffer_time_assigned;
 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/8522#comment:17>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list