Hello,
For few years i used VIM1’s to work as a digital video player at my project.
I used modified kplayer source code to display MP4 files from framebuffer console - not GUI at all. Main goal was to make it as simple as possible. It worked well.
Now i ordered VIM1S as a next stage (AV1). I thought that migration will be easy.
What i found there is no possibility to use kplayer under VIM1S like i did in VIM1.
What is the purpose? I see that all drivers are loaded, video_ucode.bin also loads well. I have framebuffer driver initialized but kplayer used from VIM3 stals at “PLAYING”.
Can i ask what is the current situation? What is missing?
Hello @Speed666, VIM1, VIM3 and VIM1s are all complete different amlogic platforms, so application based on certain drivers will not work as is if transferred, due to new drivers.
Do you have more details about your modified software, which OS are you running the software on ?
I know that they are different. I studied a lot about S905X series. It’s framebuffer drivers, linux drivers etc.
I try to make the same on Ubuntu instalation. I was able to setup regions in CMA for decoder to handle framebuffer decoding but still kplayer from numbqq repo sits on “PLAYING” state with zero movement.
I also preloaded TEE, video firmware and hardware decoding via FFMPEG V4L works well.
In kplayer screen goes just black and nothing shows over HDMI. Btw. they still have bug in HDMI HotPlug Detection like in older drivers
[ 8432.270730@0] vf_get_receiver_name_inmap:vfm_map:vdec.h264.00
[ 8432.270952@0] vf_reg_provider Error to notify receiver
[ 8432.271416@0] vf_get_receiver_name_inmap:vfm_map:vdec.h264.00
[ 8432.280129@0] Error: vf_notify_receiver, fail to get receiver of provider vdec.h264.00
[ 8432.280437@0] vf_get_receiver_name_inmap:vfm_map:vdec.h264.00
[ 8432.281329@0] Error: vf_notify_receiver, fail to get receiver of provider vdec.h264.00
video codec ok!
[ 8432.310225@0] vf_get_receiver_name_inmap:vfm_map:vdec.h264.00
[ 8432.310458@0] Error: vf_notify_receiver, fail to get receiver of provider vdec.h264.00
[ 8432.318407@0] vf_get_receiver_name_inmap:vfm_map:vdec.h264.00
[ 8432.318629@0] Error: vf_notify_receiver, fail to get receiver of provider vdec.h264.00
[ 8432.333250@0] vf_get_receiver_name_inmap:vfm_map:vdec.h264.00
[ 8432.333470@0] Error: vf_notify_receiver, fail to get receiver of provider vdec.h264.00
[ 8432.344597@0] vf_get_receiver_name_inmap:vfm_map:vdec.h264.00
[ 8432.344827@0] Error: vf_notify_receiver, fail to get receiver of provider vdec.h264.00
[ 8432.352399@0] vf_get_receiver_name_inmap:vfm_map:vdec.h264.00
[ 8432.352618@0] Error: vf_notify_receiver, fail to get receiver of provider vdec.h264.00
[ 8432.360238@0] vf_get_receiver_name_inmap:vfm_map:vdec.h264.00
[ 8432.360459@0] Error: vf_notify_receiver, fail to get receiver of provider vdec.h264.00
[ 8432.368023@0] vf_get_receiver_name_inmap:vfm_map:vdec.h264.00
[ 8432.368237@0] Error: vf_notify_receiver, fail to get receiver of provider vdec.h264.00
[ 8432.375801@0] vf_get_receiver_name_inmap:vfm_map:vdec.h264.00
[ 8432.376046@0] Error: vf_notify_receiver, fail to get receiver of provider vdec.h264.00
[ 8432.383646@0] vf_get_receiver_name_inmap:vfm_map:vdec.h264.00
[ 8432.383891@0] Error: vf_notify_receiver, fail to get receiver of provider vdec.h264.00
[ 8432.391448@0] vf_get_receiver_name_inmap:vfm_map:vdec.h264.00
[ 8432.391665@0] Error: vf_notify_receiver, fail to get receiver of provider vdec.h264.00
I fried today my VIMS but according to my findings i am able to run kplayer on S905W2 device OEM i have without using ION, just pure AMVIDEO. Do you have source code for libplayer deb package?
I think my approach would work on VIM1S also - i ordered next one.
Got it working with audio (audio in software, i get wierd null pointer exceptions in codec_init for audio ES stream, like decoder would not set up propertly).
This is screen from htop on VIM1S with 4K video in H264 with AAC being played.