BilibiliLiveTools
BilibiliLiveTools copied to clipboard
媒次推流几个小时候都会报这个错,推流命令如下,感觉是ffmpeg命令有问题么
ffmpeg -re -f concat -safe 0 -i "D:\BilibiliAutoLiver_Windows_x64\data\pushfiles.txt" -vcodec libx264 -pix_fmt yuv420p -r 30 -s 1280x720 -g 60 -b:v 5000k -maxrate 5000k -bufsize 10000k -acodec aac -b:a 128k -ar 44100 -preset ultrafast -tune zerolatency -f flv {URL}
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000026cece7c300] Auto-inserting h264_mp4toannexb bitstream filter0 speed= 1x DTS 76958940, next:2565333333 st:0 invalid dropping PTS 76959941, next:2565333333 invalid dropping st:0 DTS 76959941, next:2598700000 st:0 invalid dropping PTS 76963945, next:2598700000 invalid dropping st:0 DTS 76960942, next:2632066667 st:0 invalid dropping42:44.86 bitrate=5122.3kbits/s dup=2 drop=0 speed=0.987x PTS 76960942, next:2632066667 invalid dropping st:0 [vost#0:0/libx264 @ 0000026ce006e300] Error submitting a packet to the muxer: End of file 2024/09/28 16:01:27.032|INFO|BilibiliAutoLiver.Jobs.Job.SendHeartBeatJob|发送心跳请求 [vost#0:0/libx264 @ 0000026ce006e300] More than 1000 frames duplicated [flv @ 0000026cdfe40900] Failed to update header with correct duration. [flv @ 0000026cdfe40900] Failed to update header with correct filesize. [out#0/flv @ 0000026cdfdf6c40] Error writing trailer: End of file [out#0/flv @ 0000026cdfdf6c40] Error closing file: Error number -10053 occurred [out#0/flv @ 0000026cdfdf6c40] video:1560558KiB audio:39133KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: 0.254557% frame=76947 fps= 29 q=0.0 Lsize= 1603764KiB time=00:42:44.90 bitrate=5122.2kbits/s dup=2002 drop=0 speed=0.974x [libx264 @ 0000026ce006e6c0] frame I:1317 Avg QP:12.45 size:189934