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

frame_size not settable for AVCodecContext? #198

Open
gwy15 opened this issue Feb 1, 2025 · 0 comments
Open

frame_size not settable for AVCodecContext? #198

gwy15 opened this issue Feb 1, 2025 · 0 comments

Comments

@gwy15
Copy link

gwy15 commented Feb 1, 2025

目前看来 AVCodecContext 是没有允许修改 frame_size 的。默认是 0,在音频编码的时候 ffmpeg 会警告一下

[mp4 @ 0x12e0052b0] track 1: codec frame size is not set

建议把 frame_size 加到 settable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant