关于运行时编码器码率设置的问题 #219

Closed
opened 2025-12-23 10:36:15 +01:00 by backuprepo · 1 comment
Owner

Originally created by @ZeroKernel798 on GitHub (Sep 16, 2025).

您好,请问此项目的硬件编码器h264_rkmpp以及hevc_rkmpp是否封装了运行时不中断修改码率的功能呢?我通过ffmpeg来调用这两个硬件编码器,似乎无法在运行时动态修改码率,我不太清楚是我编写的代码有问题,还是目前不支持这样的功能。

Originally created by @ZeroKernel798 on GitHub (Sep 16, 2025). 您好,请问此项目的硬件编码器h264_rkmpp以及hevc_rkmpp是否封装了运行时不中断修改码率的功能呢?我通过ffmpeg来调用这两个硬件编码器,似乎无法在运行时动态修改码率,我不太清楚是我编写的代码有问题,还是目前不支持这样的功能。
backuprepo 2025-12-23 10:36:15 +01:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@nyanmisaka commented on GitHub (Sep 16, 2025):

No, it doesn't. Most of FFmpeg's hardware encoders only support setting encoding parameters during the init phase. To change it you need to reinit the encoder.

@nyanmisaka commented on GitHub (Sep 16, 2025): No, it doesn't. Most of FFmpeg's hardware encoders only support setting encoding parameters during the init phase. To change it you need to reinit the encoder.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/ffmpeg-rockchip#219
No description provided.