mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
High-bitrate video can't be scale with scale_rkrga? #213
Labels
No labels
bug
enhancement
help wanted
invalid
pull-request
question
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: starred/ffmpeg-rockchip#213
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cnjswwxbtcc on GitHub (Sep 2, 2025).
There is no error, but there is no picture, and the audio is normal.
I don't know how to confirm what the problem is, but there is no problem with the low bitrate video, about(bitrate: 1495593)
My hw filter is like:
scale_rkrga=w=480:h=360:force_original_aspect_ratio=disable:format=rgb24,hwdownload,format=rgb24
The format of Video is like:
@nyanmisaka commented on GitHub (Sep 2, 2025):
Video filters have nothing to do with video bitrate. The input and output resolutions supported by RGA hardware can be found in the RGA documentation.
https://github.com/airockchip/librga/blob/main/docs/Rockchip_Developer_Guide_RGA_EN.md#design-index
@cnjswwxbtcc commented on GitHub (Sep 2, 2025):
当这个视频没有顺利转换成RGB数据的时候, 我该怎么去定位呢?
这中间有多少步骤, 我查了些资料, 但是没有看明白这个bitrate和生成图像有什么关系
@nyanmisaka commented on GitHub (Sep 2, 2025):
There is simply no relationship between them. Video filters process raw video frames, which are YUV or RGA data, and their size is determined by the video resolution rather than the bit rate.
@cnjswwxbtcc commented on GitHub (Sep 3, 2025):
好的, 我可能得把方向放在pix_fmt;
还有个疑问, 我现在构造滤镜链的时候, 组成的字符串:
video_size=1920x1080:pix_fmt=179:time_base=1/1:pixel_aspect=1/1pix_fmt是填枚举值, 还是说要写pix_fmt的name的字符串?
@cnjswwxbtcc commented on GitHub (Sep 3, 2025):
我发现个问题, 是HEVC都解不了..., 是我编译有问题?