[SOLVED] CVideoPlayerAudio::Process - stream stalled


#1

hi,

i have some videos like this sample.mkv
it doesnt play nice with CE. video is freezing.
those videos worked fine with Kodi over android, though…

16:07:28.906 T:4093477472  NOTICE: VideoPlayer::OpenFile: smb://192.168.31.1/XiaoMi/video/series/[AnimeRG] Mobile Suit Gundam 00 (Complete Seasons 01 & 02) [1080p] [DUAL-AUDIO] [BD] [Batch] [x265] [pseudo]/Sample/Sample.mkv
16:07:28.909 T:3217744688  NOTICE: Creating InputStream
16:07:28.943 T:3217744688  NOTICE: Creating Demuxer
16:07:29.131 T:3217744688  NOTICE: Opening stream: 0 source: 256
16:07:29.131 T:3217744688  NOTICE: CVideoPlayerVideo::OpenStream - Creating codec: 173
16:07:29.136 T:3217744688  NOTICE: Creating video thread
16:07:29.136 T:3119354672  NOTICE: running thread: video_thread
16:07:29.138 T:3217744688  NOTICE: Opening stream: 1 source: 256
16:07:29.138 T:3217744688  NOTICE: Finding audio codec for: 86018
16:07:29.140 T:3217744688  NOTICE: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac
16:07:29.140 T:3217744688  NOTICE: Creating audio thread
16:07:29.140 T:3110961968  NOTICE: running thread: CVideoPlayerAudio::Process()
16:07:29.141 T:3217744688  NOTICE: Opening stream: 3 source: 256
16:07:29.284 T:3110961968  NOTICE: Creating audio stream (codec id: 86018, channels: 2, sample rate: 44100, no pass-through)
16:07:29.441 T:3119354672  NOTICE: CAMLCodec::OpenDecoder - using V4L2 pts format: 64Bit
16:07:29.527 T:4093477472  NOTICE: Display resolution ADJUST : 1920x1080 @ 23.98 - Full Screen (31) (weight: 0.000)
16:07:29.528 T:4093477472  NOTICE: VideoPlayer: OnLostDisplay received
16:07:29.905 T:4093477472  NOTICE: VideoPlayer: OnResetDisplay received
16:07:42.400 T:3110961968  NOTICE: CVideoPlayerAudio::Process - stream stalled pts:11.190 clock:11.236
16:07:54.382 T:3110961968  NOTICE: CVideoPlayerAudio::Process - stream stalled pts:31.206 clock:31.215
16:08:06.223 T:3110961968  NOTICE: CVideoPlayerAudio::Process - stream stalled pts:51.918 clock:51.953
16:08:18.087 T:3110961968  NOTICE: CVideoPlayerAudio::Process - stream stalled pts:62.344 clock:62.400
16:08:18.625 T:3217744688  NOTICE: CVideoPlayer::OnExit()
16:08:18.625 T:3217744688  NOTICE: VideoPlayer: eof, waiting for queues to empty
16:08:18.625 T:3217744688  NOTICE: Closing stream player 1
16:08:18.626 T:3217744688  NOTICE: Waiting for audio thread to exit
16:08:18.635 T:3110961968  NOTICE: thread end: CVideoPlayerAudio::OnExit()
16:08:18.635 T:3217744688  NOTICE: Closing audio device
16:08:18.636 T:3217744688  NOTICE: Deleting audio codec
16:08:18.636 T:3217744688  NOTICE: Closing stream player 2

Complete Log http://ix.io/1if7

any idea why?

thanks,

farhanito


#3

This is known issue in Amlogic HEVC driver. There is not enough dynamic buffers. We already increased them from 8 to 12, but this video need 16. You can fix this by shell command:

echo 16 > /sys/module/amvdec_h265/parameters/dynamic_buf_num_margin

The issue will be fixed in next release.


#4

that’s it. thanks


#5

:white_check_mark: