#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
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to