We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
直播 PK、手机横竖屏切换等原因导致的参数变动,之前提供的数据 ffmpeg 以及几乎所有音视频工具无法正常处理,参数变动后会解码出错。录播姬的修复系统检测到有新参数后会切分文件。 发现部分直播流会以 H.264 Annex B 也就是每个 I 帧都带一份参数的形式提供,常见的所有工具都能正确处理这种数据,不切分成多个文件也可以正确解码播放,也就没有必要对文件进行分段。
The text was updated successfully, but these errors were encountered:
需要添加一个设置项,默认关闭状态。测试发现这样的文件虽然播放器基本都能正常处理,视频编辑软件大多会有各种问题。
Sorry, something went wrong.
这个设置开关是否可以做成这样:
-bsf:v h264_mp4toannexb
这样修复的判断逻辑可能会简单一些?而且无论收到什么流都 可以 不切分,用户体验更好
No branches or pull requests
Problem
直播 PK、手机横竖屏切换等原因导致的参数变动,之前提供的数据 ffmpeg 以及几乎所有音视频工具无法正常处理,参数变动后会解码出错。录播姬的修复系统检测到有新参数后会切分文件。
发现部分直播流会以 H.264 Annex B 也就是每个 I 帧都带一份参数的形式提供,常见的所有工具都能正确处理这种数据,不切分成多个文件也可以正确解码播放,也就没有必要对文件进行分段。
Proposal
The text was updated successfully, but these errors were encountered: