Skip to content

example api2-decode fail #127

@ywangwxd

Description

@ywangwxd

I compiled ffmpeg with rockchip mpp. I have tested ffmpeg command to transcode a rtsp stream to a video file, it is working well.
But if I use api2-decode or api2-decode-encode-video, neither of them success.

This is the final part of the screen message. It seems that the decoder get many empty frame. The final error is hard to understand.


Read packet: 58410*1/90000 / 0.649 / 1/90000 / st: 0
[hevc_rkmpp_decoder @ 0x55c18e25e0] Received a frame.
  Frame: 3840x2160, size=27372544, ts=9000*1/90000, tm: 0.1, tb: 1/90000, ref=1:1
Read packet: 62910*1/90000 / 0.699 / 1/90000 / st: 0
[hevc_rkmpp_decoder @ 0x55c18e25e0] Wrote 18189 bytes to decoder
[hevc_rkmpp_decoder @ 0x55c18e25e0] Received a frame.
  Frame: 3840x2160, size=27372544, ts=13500*1/90000, tm: 0.15, tb: 1/90000, ref=1:1
Read packet: 67410*1/90000 / 0.749 / 1/90000 / st: 0
[hevc_rkmpp_decoder @ 0x55c18e25e0] Received a frame.
  Frame: 3840x2160, size=27372544, ts=18000*1/90000, tm: 0.2, tb: 1/90000, ref=1:1
Read packet: 71910*1/90000 / 0.799 / 1/90000 / st: 0
**Error: FFmpegError:-11, Resource temporarily unavailable**

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions