[FFmpeg-trac] #11024(ffmpeg:new): IO error: Error number -10053 occured when streaming to youtube in HLS

FFmpeg trac at avcodec.org
Thu May 23 17:49:30 EEST 2024


#11024: IO error: Error number -10053 occured when streaming to youtube in HLS
-------------------------------------+-------------------------------------
             Reporter:  sanjxz       |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:  ffmpeg       |                  Version:  git-
             Keywords:  youtube      |  master
  streaming ffmpeg NVENC HLS         |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug: After some amount of time, from 1hr to 6hrs, stream to
 youtube crashes with "[tls] Error in push function" "[tls] IO error: Error
 number -10053 occured" "[hls] Failed to open file
 https://a.upload.youtube.com/http_upload_tls?cid={streamkey}&copy=0&file=masterXXXX.ts"
 "[vost#0:0/hevc_nvenc] Error submitting a packet to the muxer: Error
 number -10053 occured" "[out#0/hls] error muxing a packet"

 How to reproduce:
 {{{
 % ffmpeg -hwaccel cuda \
             -hide_banner -re -stream_loop -1 -y \
             -i {video_file} -c:a aac \
             -c:v hevc_nvenc -max_reload 2147483647 -m3u8_hold_counters
 2147483647 \
             -pix_fmt yuv420p -tag:v hvc1 \
             -b:v 6M -flvflags no_duration_filesize \
             -hls_list_size 5 -http_persistent 1 \
             -profile:v main -framerate 60 -b:a 128k \
             -bf:v 2 -g 120 -bufsize 16M -ac 2 -ar 44100 \
             -f hls -method PUT -master_pl_name master.m3u8
 -master_pl_publish_rate 2 \
             {url_of_livestream}{stream_key}&copy=0&file=master.m3u8
 ffmpeg version git master by gyan dev
 built on 2024-05-23
 }}}
 Patches should be submitted to the ffmpeg-devel mailing list and not this
 bug tracker.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11024>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list