We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
decode rtsp hevc steam, use av_hwframe_map copy data, but:
@ avcodec_send_packet(codec_ctx_, packet_)
What's strange is that the problem occurs every time when decode frame 31 log:
[hevc_rkmpp @ 0x7f6000a480] Wrote 5405 bytes to decoder [2024-10-28 20:22:19.215] [error] [ffmpegdecoder.cc:345] 1: af avcodec_send_packet ms:0 [2024-10-28 20:22:19.215] [info] [ffmpegdecoder.cc:354] ========================startread avcodec_receive_frame num:30 [2024-10-28 20:22:19.215] [info] [readthread.cc:72] Get_Frame time-, duration: 1 delay: 40 remaining_delay:39 fps:25 [2024-10-28 20:22:19.255] [info] [readthread.cc:48] ========================startread! [NULL @ 0x7f60009d90] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0 [2024-10-28 20:22:19.256] [error] [ffmpegdecoder.cc:336] 0: GetPacket ret:0 packet_size :6596 [2024-10-28 20:22:19.256] [error] [ffmpegdecoder.cc:339] 1: bf avcodec_send_packet ret:0 [hevc_rkmpp @ 0x7f6000a480] Wrote 6596 bytes to decoder [2024-10-28 20:22:19.256] [error] [ffmpegdecoder.cc:345] 1: af avcodec_send_packet ms:0 [2024-10-28 20:22:19.256] [info] [ffmpegdecoder.cc:354] ========================startread avcodec_receive_frame num:30 [2024-10-28 20:22:19.256] [info] [readthread.cc:72] Get_Frame time-, duration: 1 delay: 40 remaining_delay:39 fps:25 [2024-10-28 20:22:19.296] [info] [readthread.cc:48] ========================startread! [NULL @ 0x7f60009d90] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0 [2024-10-28 20:22:19.297] [error] [ffmpegdecoder.cc:336] 0: GetPacket ret:0 packet_size :6910 [2024-10-28 20:22:19.297] [error] [ffmpegdecoder.cc:339] 1: bf avcodec_send_packet ret:0 [hevc_rkmpp @ 0x7f6000a480] Timeout getting decoded frame [hevc_rkmpp @ 0x7f6000a480] Timeout getting decoded frame [hevc_rkmpp @ 0x7f6000a480] Timeout getting decoded frame [hevc_rkmpp @ 0x7f6000a480] Timeout getting decoded frame [hevc_rkmpp @ 0x7f6000a480] Timeout getting decoded frame [hevc_rkmpp @ 0x7f6000a480] Timeout getting decoded frame [hevc_rkmpp @ 0x7f6000a480] Timeout getting decoded frame [hevc_rkmpp @ 0x7f6000a480] Timeout getting decoded frame [hevc_rkmpp @ 0x7f6000a480] Timeout getting decoded frame [hevc_rkmpp @ 0x7f6000a480] Timeout getting decoded frame [hevc_rkmpp @ 0x7f6000a480] Timeout getting decoded frame
The text was updated successfully, but these errors were encountered:
Test decoder with the ffmpeg command listed in the Wiki page. https://github.com/nyanmisaka/ffmpeg-rockchip/wiki/Decoder
If it works fine, check your own code instead of ffmpeg-rockchip.
Sorry, something went wrong.
No branches or pull requests
decode rtsp hevc steam, use av_hwframe_map copy data, but:
@ avcodec_send_packet(codec_ctx_, packet_)
What's strange is that the problem occurs every time when decode frame 31
log:
[hevc_rkmpp @ 0x7f6000a480] Wrote 5405 bytes to decoder
[2024-10-28 20:22:19.215] [error] [ffmpegdecoder.cc:345] 1: af avcodec_send_packet ms:0
[2024-10-28 20:22:19.215] [info] [ffmpegdecoder.cc:354] ========================startread avcodec_receive_frame num:30
[2024-10-28 20:22:19.215] [info] [readthread.cc:72] Get_Frame time-, duration: 1 delay: 40 remaining_delay:39 fps:25
[2024-10-28 20:22:19.255] [info] [readthread.cc:48] ========================startread!
[NULL @ 0x7f60009d90] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
[2024-10-28 20:22:19.256] [error] [ffmpegdecoder.cc:336] 0: GetPacket ret:0 packet_size :6596
[2024-10-28 20:22:19.256] [error] [ffmpegdecoder.cc:339] 1: bf avcodec_send_packet ret:0
[hevc_rkmpp @ 0x7f6000a480] Wrote 6596 bytes to decoder
[2024-10-28 20:22:19.256] [error] [ffmpegdecoder.cc:345] 1: af avcodec_send_packet ms:0
[2024-10-28 20:22:19.256] [info] [ffmpegdecoder.cc:354] ========================startread avcodec_receive_frame num:30
[2024-10-28 20:22:19.256] [info] [readthread.cc:72] Get_Frame time-, duration: 1 delay: 40 remaining_delay:39 fps:25
[2024-10-28 20:22:19.296] [info] [readthread.cc:48] ========================startread!
[NULL @ 0x7f60009d90] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
[2024-10-28 20:22:19.297] [error] [ffmpegdecoder.cc:336] 0: GetPacket ret:0 packet_size :6910
[2024-10-28 20:22:19.297] [error] [ffmpegdecoder.cc:339] 1: bf avcodec_send_packet ret:0
[hevc_rkmpp @ 0x7f6000a480] Timeout getting decoded frame
[hevc_rkmpp @ 0x7f6000a480] Timeout getting decoded frame
[hevc_rkmpp @ 0x7f6000a480] Timeout getting decoded frame
[hevc_rkmpp @ 0x7f6000a480] Timeout getting decoded frame
[hevc_rkmpp @ 0x7f6000a480] Timeout getting decoded frame
[hevc_rkmpp @ 0x7f6000a480] Timeout getting decoded frame
[hevc_rkmpp @ 0x7f6000a480] Timeout getting decoded frame
[hevc_rkmpp @ 0x7f6000a480] Timeout getting decoded frame
[hevc_rkmpp @ 0x7f6000a480] Timeout getting decoded frame
[hevc_rkmpp @ 0x7f6000a480] Timeout getting decoded frame
[hevc_rkmpp @ 0x7f6000a480] Timeout getting decoded frame
The text was updated successfully, but these errors were encountered: