Opened 6 months ago

Last modified 6 months ago

#11024 reopened enhancement

IO error: Error number -10053 occured when streaming to youtube in HLS

Reported by: sanjxz Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: gnutls
Cc: sanjxz, MasterQuestionable Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description (last modified by sanjxz)

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

Attachments (1)

_Okka_Puta_Annam_Kosam_Bichagadu_Telugu_Ringtone_(by Fringster.com).mp3 (247.9 KB ) - added by Duvvi Venkata Prasad 2 months ago.
hi

Download all attachments as: .zip

Change History (4)

comment:1 by sanjxz, 6 months ago

Cc: sanjxz added
Description: modified (diff)
Status: newopen

comment:3 by MasterQuestionable, 6 months ago

Resolution: invalid
Status: closedreopened
Type: defectenhancement

͏    Or maybe FFmpeg may improve by adding/improving some retry mechanism..?
͏    (for certain recoverable transient network failures)

Note: See TracTickets for help on using tickets.