[FFmpeg-trac] #7768(undetermined:new): ffmpeg does not handle HTTP read errors (e.g. from cloud storage)

FFmpeg trac at avcodec.org
Fri Aug 9 10:18:41 EEST 2024


#7768: ffmpeg does not handle HTTP read errors (e.g. from cloud storage)
-------------------------------------+-------------------------------------
             Reporter:  Derek        |                    Owner:  (none)
  Prestegard                         |
                 Type:  enhancement  |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  unspecified  |               Resolution:
             Keywords:  http         |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Colin Leroy-Mira):

 Hello,
 Since this ticket's creation, there are reconnect options:
 either via command line,


 {{{
 ffmpeg -reconnect 1 -reconnect_at_eof 1 -reconnect_on_network_error 1
 }}}

 Hope this helps
 Or via API,

 {{{

     av_dict_set(&video_options, "reconnect_on_network_error", "1", 0);
     av_dict_set(&video_options, "reconnect_at_eof", "1", 0);
     av_dict_set(&video_options, "reconnect", "1", 0);

     ret = avformat_open_input(&video_fmt_ctx, filename, NULL,
 &video_options));
     ...
 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/7768#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list