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

希望加入多段视频拼接输出的功能 #402

Open
WjdupsMj-1 opened this issue Feb 22, 2025 · 1 comment
Open

希望加入多段视频拼接输出的功能 #402

WjdupsMj-1 opened this issue Feb 22, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@WjdupsMj-1
Copy link

💡 预期的功能 | Expected Feature

希望加入多段视频拼接输出的功能,按名称或者时序合成输出为同一个视频输出文件。通过如compressai等开语言编码方式能显著优化输出速度与码率,大大考虑一下~

@WjdupsMj-1 WjdupsMj-1 added the enhancement New feature or request label Feb 22, 2025
@philpw99
Copy link

philpw99 commented Feb 23, 2025

拼接视频不是那么简单的,因为有两种拼接办法:

  1. 如果所有视频都是一样的显示大小,帧率,音频和视频编码,就可以直接拼接。速度快,画质不变,但需要用户严格遵守视频统一的守则,否则一定会失败。
  2. 把所有视频都拿到具体的格式,用最大公共尺寸,重新生成视频和音频,速度比较慢,但可以容纳不同的视频,成功率高,但画质会略微下降。

在不清楚具体应用情景下,一般的程序员都只能用方法2来实现,但这可能不是你想要的功能。

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