WhiteMinds / LiveAutoRecord

基于 Electron 的多平台直播自动录制软件
GNU Lesser General Public License v3.0
777 stars 86 forks source link

4.3.5 虎牙录制还是403 #148

Open FreeTymeKiyan opened 9 months ago

FreeTymeKiyan commented 9 months ago

频道 https://www.huya.com/881214

ffmpeg version 5.0.1-tessus  https://evermeet.cx/ffmpeg/  Copyright (c) 2000-2022 the FFmpeg developers
  built with Apple clang version 11.0.0 (clang-1100.0.33.17)
  configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay
  libavutil      57. 17.100 / 57. 17.100
  libavcodec     59. 18.100 / 59. 18.100
  libavformat    59. 16.100 / 59. 16.100
  libavdevice    59.  4.100 / 59.  4.100
  libavfilter     8. 24.100 /  8. 24.100
  libswscale      6.  4.100 /  6.  4.100
  libswresample   4.  3.100 /  4.  3.100
  libpostproc    56.  3.100 / 56.  3.100
[http @ 0x7fa455007200] HTTP error 403 Forbidden
http://hw.flv.huya.com/src/1199570112983-1199570112983-5472807956045103104-2399140349422-10057-A-0-1.flv?wsSecret=39b91acdb17f1ac16ade7ec8712c04b7&wsTime=659fedc5&seqid=3409960462516&ctype=huya_live&ver=1&fs=bgct&ratio=undefined&codec=264&sdkPcdn=1_1&u=1704980231258&t=100&sv=2401040319&sdk_sid=1704980231258&ratio=0: Server returned 403 Forbidden (access denied)
FreeTymeKiyan commented 9 months ago

@WhiteMinds 能再帮忙看一下吗?

BelieveDa commented 9 months ago

ratio=undefined

WhiteMinds commented 9 months ago

@FreeTymeKiyan 是所有直播间都录不了吗,还是一部分直播间 403?

FreeTymeKiyan commented 9 months ago

@WhiteMinds 可能是部分 我之前随便测试过一个好像可以 但是这个录不了的才是我想录的

为什么会出现两个ratio,其中一个还是undefined?

FreeTymeKiyan commented 9 months ago

又随便找了另一个房间测试 可以录制

不知道为什么我想录的这个房间ratio = 0,测试房间ratio = 4000

ffmpeg version 5.0.1-tessus  https://evermeet.cx/ffmpeg/  Copyright (c) 2000-2022 the FFmpeg developers
  built with Apple clang version 11.0.0 (clang-1100.0.33.17)
  configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay
  libavutil      57. 17.100 / 57. 17.100
  libavcodec     59. 18.100 / 59. 18.100
  libavformat    59. 16.100 / 59. 16.100
  libavdevice    59.  4.100 / 59.  4.100
  libavfilter     8. 24.100 /  8. 24.100
  libswscale      6.  4.100 /  6.  4.100
  libswresample   4.  3.100 /  4.  3.100
  libpostproc    56.  3.100 / 56.  3.100
Input #0, flv, from 'http://al.flv.huya.com/src/1186914-1186914-5097756813164544-2497284-10057-A-0-1.flv?wsSecret=ffd90e4f3815c498e5b6dac662ebdb9d&wsTime=65a18368&seqid=3410167506182&ctype=huya_live&ver=1&fs=bgct&ratio=undefined&codec=264&sdkPcdn=1_1&u=1705083753091&t=100&sv=2401040319&sdk_sid=1705083753091&ratio=4000':

一个用的华为 一个用的阿里 不会是华为的CDN问题吧?

FreeTymeKiyan commented 9 months ago

看来还是没人管呐

WhiteMinds commented 9 months ago

最近一个月都在感冒,过段时间还有事情,等之后有空再看吧

WhiteMinds commented 8 months ago

一个用的华为 一个用的阿里 不会是华为的CDN问题吧?

测试了下,看起来不是单纯的 CDN 线路问题,可能还是 url 参数哪里设置的不对。

image image image

WhiteMinds commented 8 months ago

@FreeTymeKiyan 你有没有更多可以复现的直播间号,多给一些,尤其是经常直播的那种,这样我有空的时候好测试,881214 这个不经常直播。

FreeTymeKiyan commented 8 months ago

这个除了周一周二以外 每晚都直播 其他的号我不录 我也不知道啊