Skip to content

Commit

Permalink
update v2.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nICEnnnnnnnLee committed Jan 12, 2020
1 parent ffdf9bc commit bd75536
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 7 deletions.
2 changes: 2 additions & 0 deletions DOC.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ For non-Maven use cases, you download jars from [Github Packages](https://github
It will contains 3 number since version `2.5.0`.
The first two number will **NEVER** change if nothing changes with the core codes.
Thus with app version 2.5.1 or 2.5.123 released, the relevant package will **NOT** be deployed.


-----
# Use it!

Expand Down
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,23 +40,25 @@ Go go go, Bilibili Pikachu!
| trustAllCert || 是否无条件信任所有SSL证书。默认false |
| splitScriptTags || 校准文件时是否分割ScriptTag。默认false |
| fileName || 文件命名规则,默认`{name}-{shortId} 的{liver}直播{startTime}-{seq}` |
| timeFormat || 文件命名中{startTime}和{endTime}的格式,默认`yyyy-MM-dd HH.mm` |
| saveFolder || 文件保存路径 |

+ 各直播源解析情况

| liver | 最后测试时间 | 备注 |
| ------------- | ------------- | ------------- |
| bili | 2019/09/19 | `flv`清晰度可多选,可不需要cookie |
| zhanqi | 2019/06/30 | `flv`清晰度可多选,可不需要cookie |
| douyu | 2019/12/28 | `flv`清晰度可多选,但部分高清需要cookie |
| kuaishou | 2019/09/19 | `flv`清晰度可多选,可能需要cookie(与登录无关,首次进入直播页面有反爬措施,会需要拖拽验证) |
| douyu | 2020/01/12 | `flv`清晰度可多选,但部分高清需要cookie |
| kuaishou | 2020/01/12 | `flv`清晰度可多选,可能需要cookie(与登录无关,首次进入直播页面有反爬措施,会需要拖拽验证) |
| huya | 2019/08/30 | `flv`清晰度可多选,可不需要cookie |
| yy | 2019/06/15 | `flv`只支持默认清晰度 |
| huajiao | 2019/06/02 | `flv`只支持默认清晰度(似乎只有一种清晰度) |

+ 校正某FLV文件的时间戳
+ `java -Dfile.encoding=utf-8 -cp BiliLiveRecorder.jar nicelee.bilibili.live.FlvChecker "文件路径"`
+ `java -Dfile.encoding=utf-8 -cp BiliLiveRecorder.jar nicelee.bilibili.live.FlvChecker "文件路径" true`
+ `java -Dfile.encoding=utf-8 -cp BiliLiveRecorder.jar nicelee.bilibili.live.FlvChecker "源文件路径"`
+ `java -Dfile.encoding=utf-8 -cp BiliLiveRecorder.jar nicelee.bilibili.live.FlvChecker "源文件路径" true`
+ `java -Dfile.encoding=utf-8 -cp BiliLiveRecorder.jar nicelee.bilibili.live.FlvChecker "源文件路径" true "保存的文件夹路径" `
+ 第二个布尔参数的意义是**当遇到某种特定情况时,是否分割文件**
+ 注意:这些操作**没法还原**,所以理论上原始文件最保真。 `不校验时间戳` ≈ `校验文件不分割` > `校验文件分割scripts tag`
+ 如果仍旧没办法满足需求的话,建议拿着各种版本都去ffmpeg处理一下
Expand Down Expand Up @@ -89,6 +91,7 @@ Go go go, Bilibili Pikachu!
| roomId | 实际房间id,可能与shortId不同 |
| liver | 直播源,同传入参数 |
| startTime | 录制开始时间,精确到分,例如2019-11-19 20.18 |
| endTime | 录制开始时间,精确到分,例如2019-11-19 20.18 |
| seq | 录制产生的文件序号。从0开始;分段录制或异常重试均会使序号增大 |


Expand Down
7 changes: 6 additions & 1 deletion UPDATE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
## 更新
+ V2.6.0
* 优化[issue #19](/~https://github.com/nICEnnnnnnnLee/BilibiliLiveRecorder/issues/19) 当快手cookie失效无法获取用户信息时,以默认值代替。此时,直播录制仍可进行
* 优化[issue #20](/~https://github.com/nICEnnnnnnnLee/BilibiliLiveRecorder/issues/20) 文件名支持结束时间{endTime},且支持自定义日期格式,参见参数`timeFormat`
* 优化[issue #22](/~https://github.com/nICEnnnnnnnLee/BilibiliLiveRecorder/issues/22) FlvChecker支持自定义输出目录
+ V2.5.0
* RoomDealer封装了创建方法,可以根据liver直接创建对象
* 优化[issue #17](/~https://github.com/nICEnnnnnnnLee/BilibiliLiveRecorder/issues/17) 获取的清晰度列表不存在指定清晰度值时,程序将退出
* 优化[issue #18](/~https://github.com/nICEnnnnnnnLee/BilibiliLiveRecorder/issues/17) 当设置qn=-1时,使用最高的清晰度进行录制
* 优化[issue #18](/~https://github.com/nICEnnnnnnnLee/BilibiliLiveRecorder/issues/18) 当设置qn=-1时,使用最高的清晰度进行录制
* 新增`qnPri`字段,e.g. `蓝光4M>蓝光>超清` 根据清晰度优先级描述获取清晰度设置
+ V2.4
* 新增特性 [issue #15](/~https://github.com/nICEnnnnnnnLee/BilibiliLiveRecorder/issues/15) 支持zip压缩录制的flv文件
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>top.nicelee</groupId>
<artifactId>live-record</artifactId>
<version>2.5.0</version>
<version>2.6.0</version>
<name>iLiveRecord</name>
<description>B站、斗鱼、虎牙、快手、战旗、花椒直播录制</description>
<build>
Expand Down

0 comments on commit bd75536

Please sign in to comment.