JeffyCN / FFmpeg

FFmpeg with rkmpp hwdec - (deprecated due to license issue, check gstreamer instead or https://github.com/nyanmisaka/ffmpeg-rockchip)
https://ffmpeg.org
Other
63 stars 19 forks source link

Decoder can't recover after (Received a errinfo frame) #5

Closed AreaScout closed 2 years ago

AreaScout commented 2 years ago

When streaming TV Channels with PVR.HTS backend, after unspecified time (sometimes one hour, sometimes 10min) frame stucks, when I stop streaming and start over again I have only a green screen.

It just happens when rkmppdec backend get's here https://github.com/JeffyCN/FFmpeg/blob/master/libavcodec/rkmppdec.c#L468

Here is the kernel/syslog https://pastebin.com/raw/7caH5qPv

Here is the respective KODI log https://pastebin.com/raw/zrFZDvwb

How can I recover from that error without losing link to decoder, or can I do something against it ? (rkvdec2_link_wait_result)

Regards, Daniel

JeffyCN commented 2 years ago

this looks like a mpp issue, not ffmpeg.

maybe the input stream is corrupted due to network.

you can try to dump the input packets while testing, and check the error inputs with mpp's mpi_dec_test to confirm.

for mpp issues, please contact herman.chen@rock-chips.com

AreaScout commented 2 years ago

Thank you very much !