mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 07:31:22 +01:00
使用h264_rkmpp作为解码器,从avcodec_receive_frame返回的frme->pkt_size一直为-1的解决方法,大家避坑 #107
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#107
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 @wzw88486969 on GitHub (Oct 15, 2024).
@nyanmisaka commented on GitHub (Oct 15, 2024):
The
h26x_rkmppdecoder declaration already registers the required bitsteam filters, but the decoder itself is not responsible for filtering bitstream, the user/fftools must do this themselves.5ddd3d4f5b/libavcodec/rkmppdec.c (L954-L980)Search
av_bsf_infftools/ffmpeg_demux.cand see how to use it.@wzw88486969 commented on GitHub (Oct 16, 2024):
I always have a problem with him pulling stream decoding, and I found this problem by debugging the MPP library separately, and I am now preprocessing it in advance outside, and then decoding ffmpeg
@nyanmisaka commented on GitHub (Oct 16, 2024):
Closing as it's not a ffmpeg issue.