Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FlvChecker能否自定义输出目录? #22

Closed
m011 opened this issue Jan 2, 2020 · 4 comments
Closed

FlvChecker能否自定义输出目录? #22

m011 opened this issue Jan 2, 2020 · 4 comments
Labels
enhancement New feature or request
Milestone

Comments

@m011
Copy link

m011 commented Jan 2, 2020

现在校准时间戳时输出的文件和源文件是同一目录,也就是在同一硬盘上,当文件比较大或同时操作多个文件时IO性能很低,等待时间太长,能否扩展一个参数可以自定义输出目录,这样就可以把读和写分离到不同硬盘上。
谢谢!

@nICEnnnnnnnLee nICEnnnnnnnLee added this to the V2.6.0 milestone Jan 12, 2020
@nICEnnnnnnnLee nICEnnnnnnnLee added the enhancement New feature or request label Jan 12, 2020
@m011
Copy link
Author

m011 commented Jan 25, 2020

好象只是重载了方法参数,但实际并没有接收参数

@nICEnnnnnnnLee
Copy link
Owner

或许我理解错了你的意思。我重新理解了下,不是自己调用,而是程序加入这个功能

@nICEnnnnnnnLee nICEnnnnnnnLee modified the milestones: V2.6.0, V2.6.1 Jan 25, 2020
nICEnnnnnnnLee added a commit that referenced this issue Jan 25, 2020
优化 #22 ,如果FLV自动校准,且传入了自定义参数saveFolderAfterCheck,校准后的文件将保存在参数对应目录中
@m011
Copy link
Author

m011 commented Jan 26, 2020

直接使用 java -Dfile.encoding=utf-8 -cp BiliLiveRecorder.jar nicelee.bilibili.live.FlvChecker "源文件路径" true "保存的文件夹路径" 调用时,还是不支持,没有解析 "保存的文件夹路径" 参数
if ((args != null) && (args.length >= 2)) {
splitScripts = "true".equals(args[1]);
}

@nICEnnnnnnnLee
Copy link
Owner

大写的尴尬😳

nICEnnnnnnnLee added a commit that referenced this issue Jan 26, 2020
* 修复一个bug #22 ,以FlvChecker的Main方法运行时,解析传入的文件保存路径;
@nICEnnnnnnnLee nICEnnnnnnnLee modified the milestones: V2.6.1, V2.6.2 Jan 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants