Posts by gn77b
-
-
I'm not sure if this is because of Kodi or LE itself. While looking it up online there was a setting in Kodi for preferred samplerate that is gone now, not that it should matter in my case. I wans't able to find anything that works. Setting audio output configuration to "best match" doesn't do anything. My RPi works correctly with Moode audio and TwisterOS, the sample rates ar reported by the DAC match the source file. So there is some resampling to 48k going on inside either Kodi or LE. Is this controllabe and how? Thanks.
-
-
Sorry, that was a bit hurried. Platform is RPi4 with LE 10. This is with an official Kodi sample. I've narrowed it down to 4k encoded in H.264, it reproduces 100%. With DRM prime on, there's no sound. With the option off, video plays but frames are dropped. Tried with Kodi 18, it plays with MMAL on, but still with dropped frames.
Full log with a clean LE 10 install: https://zerobin.net/?d48e3bfab286a…GkOWsOun2EzrLA8
-
Noticed this recently with some videos. Sound plays ok, no video.
Log says right after playing file:
2022-02-20 00:04:30.547 T:1851 ERROR <general>: CDVDVideoCodecDRMPRIME::AddData - send packet failed: End of file (-541478725)
2022-02-20 00:04:40.800 T:1852 INFO <general>: Skipped 3 duplicate messages..
2022-02-20 00:04:40.800 T:1852 INFO <general>: CVideoPlayerAudio::Process - stream stalled
2022-02-20 00:04:41.815 T:1078 INFO <general>: Loading skin file: DialogSeekBar.xml, load type: LOAD_ON_GUI_INIT
2022-02-20 00:04:45.559 T:1851 ERROR <general>: CDVDVideoCodecDRMPRIME::Reset - receive frame failed: Resource temporarily unavailable (-11)
2022-02-20 00:05:00.982 T:1851 ERROR <general>: CDVDVideoCodecDRMPRIME::Reset - receive frame failed: Resource temporarily unavailable (-11)
2022-02-20 00:05:04.649 T:1078 INFO <general>: Loading skin file: VideoOSD.xml, load type: KEEP_IN_MEMORY
2022-02-20 00:05:07.496 T:1851 ERROR <general>: CDVDVideoCodecDRMPRIME::AddData - send packet failed: End of file (-541478725)
2022-02-20 00:05:17.969 T:1852 INFO <general>: Skipped 3 duplicate messages..
2022-02-20 00:05:17.969 T:1852 INFO <general>: CVideoPlayerAudio::Process - stream stalled
2022-02-20 00:05:20.981 T:1078 INFO <general>: CVideoPlayer::CloseFile()
2022-02-20 00:05:20.981 T:1078 INFO <general>: VideoPlayer: waiting for threads to exit
2022-02-20 00:05:20.989 T:1850 INFO <general>: CVideoPlayer::OnExit()
2022-02-20 00:05:20.989 T:1850 INFO <general>: Closing stream player 1
2022-02-20 00:05:20.989 T:1850 INFO <general>: Waiting for audio thread to exit
2022-02-20 00:05:20.998 T:1852 INFO <general>: thread end: CVideoPlayerAudio::OnExit()
2022-02-20 00:05:20.998 T:1850 INFO <general>: Closing audio device
2022-02-20 00:05:20.999 T:1850 INFO <general>: Deleting audio codec
2022-02-20 00:05:20.999 T:1850 INFO <general>: Closing stream player 2
2022-02-20 00:05:20.999 T:1850 INFO <general>: waiting for video thread to exit
2022-02-20 00:05:21.212 T:1084 INFO <general>: CActiveAESink::OpenSink - initialize sink
2022-02-20 00:05:21.415 T:1084 INFO <general>: CAESinkALSA::Initialize - Attempting to open device "@:CARD=Audio,DEV=0"
2022-02-20 00:05:21.439 T:1084 INFO <general>: CAESinkALSA::Initialize - Opened device "sysdefault:CARD=Audio"
2022-02-20 00:05:21.441 T:1084 INFO <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
2022-02-20 00:05:21.442 T:1084 INFO <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S16NE
2022-02-20 00:05:22.511 T:1851 ERROR <general>: CDVDVideoCodecDRMPRIME::Reset - receive frame failed: Resource temporarily unavailable (-11)
2022-02-20 00:05:22.517 T:1851 INFO <general>: thread end: video_thread
2022-02-20 00:05:22.518 T:1850 INFO <general>: deleting video codec
2022-02-20 00:05:22.564 T:1850 INFO <general>: Closing stream player 3
2022-02-20 00:05:22.567 T:1078 INFO <general>: VideoPlayer: finished waiting
2022-02-20 00:05:22.567 T:1078 INFO <general>: CVideoPlayer::CloseFile()
2022-02-20 00:05:22.567 T:1078 INFO <general>: VideoPlayer: waiting for threads to exit
2022-02-20 00:05:22.567 T:1078 INFO <general>: VideoPlayer: finished waiting
2022-02-20 00:05:27.289 T:1078 INFO <general>: VideoPlayer::OpenFile: /var/media/sda1-usb-General_USB_Flas/somemovie.mkv
2022-02-20 00:05:27.290 T:1855 INFO <general>: Creating InputStream
2022-02-20 00:05:27.300 T:1855 INFO <general>: Creating Demuxer
2022-02-20 00:05:27.381 T:1855 INFO <general>: Opening stream: 0 source: 256
2022-02-20 00:05:27.381 T:1855 INFO <general>: Creating video codec with codec id: 27
2022-02-20 00:05:27.381 T:1855 INFO <general>: CDVDVideoCodecDRMPRIME::Open - using decoder V4L2 mem2mem H.264 decoder wrapper
2022-02-20 00:05:27.421 T:1855 INFO <general>: Creating video thread
2022-02-20 00:05:27.421 T:1856 INFO <general>: running thread: video_thread
2022-02-20 00:05:27.421 T:1855 INFO <general>: Opening stream: 1 source: 256
2022-02-20 00:05:27.421 T:1855 INFO <general>: Finding audio codec for: 86056
2022-02-20 00:05:27.422 T:1855 INFO <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder eac3
2022-02-20 00:05:27.422 T:1855 INFO <general>: Creating audio thread
2022-02-20 00:05:27.422 T:1857 INFO <general>: running thread: CVideoPlayerAudio::Process()
2022-02-20 00:05:27.422 T:1855 INFO <general>: Opening stream: 2 source: 256
2022-02-20 00:05:27.435 T:1857 INFO <general>: Creating audio stream (codec id: 86056, channels: 6, sample rate: 48000, no pass-through)
2022-02-20 00:05:27.437 T:1084 INFO <general>: CActiveAESink::OpenSink - initialize sink
2022-02-20 00:05:27.634 T:1084 INFO <general>: CAESinkALSA::Initialize - Attempting to open device "@:CARD=Audio,DEV=0"
2022-02-20 00:05:27.654 T:1084 INFO <general>: CAESinkALSA::Initialize - Opened device "sysdefault:CARD=Audio"
2022-02-20 00:05:27.658 T:1084 INFO <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
2022-02-20 00:05:27.658 T:1084 INFO <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S16NE
2022-02-20 00:05:34.132 T:1856 ERROR <general>: CDVDVideoCodecDRMPRIME::AddData - send packet failed: End of file (-541478725)
-
Why ... I have never
Because people are different. It's interesting that people need to be reminded of that from time to time. And what do you know, here's an actual reason in my original post:
I'm using it when needing to perform tricky configurations (which involve SSH, WinSCP etc) on my living room LE media center and going back and forth from the PC room to the living room gets annoying quickly.
-
I'm using a nightly build of LE 10 but this also happened with the official Beta 2. When I try to do a reboot or power off, maybe 4 out of 5 times the Kodi service restarts itself instead of rebooting/powering off. This is the output of tail -f .kodi/temp/kodi.log:
Code
Display More2021-05-08 19:34:22.861 T:1366 DEBUG <CAddonSettings[script.skinshortcuts]>: trying to load setting definitions from old format... 2021-05-08 19:34:22.862 T:1366 INFO <general>: CPythonInvoker(19, /storage/.kodi/addons/script.skinshortcuts/default.py): script successfully run 2021-05-08 19:34:22.862 T:1366 DEBUG <general>: onExecutionDone(19, /storage/.kodi/addons/script.skinshortcuts/default.py) 2021-05-08 19:34:22.868 T:1369 DEBUG <general>: Thread Timer start, auto delete: false 2021-05-08 19:34:22.879 T:1369 DEBUG <general>: Thread Timer 2723115680 terminating 2021-05-08 19:34:22.879 T:1370 DEBUG <general>: Thread Timer start, auto delete: false 2021-05-08 19:34:23.067 T:1297 DEBUG <general>: PushCecKeypress - received key d8 duration 262 2021-05-08 19:34:23.294 T:1366 INFO <general>: Python interpreter stopped 2021-05-08 19:34:23.294 T:1366 DEBUG <general>: Thread LanguageInvoker 2765079200 terminating 2021-05-08 19:34:23.383 T:1370 DEBUG <general>: Thread Timer 2723115680 terminating 2021-05-08 19:35:11.457 T:1377 DEBUG <CWebserver[8080]>: request received for /jsonrpc 2021-05-08 19:35:21.477 T:1380 INFO <CWebserver[8080]>: Skipped 17 duplicate messages.. 2021-05-08 19:35:21.477 T:1380 DEBUG <CWebserver[8080]>: request received for /jsonrpc 2021-05-08 19:35:21.501 T:1258 INFO <general>: Skipped 1 duplicate messages.. 2021-05-08 19:35:21.501 T:1258 INFO <general>: Saving exitCode 66
There's always a Saving exitCode 66 when this happens.
Also, here's a paste of the complete log with all components logging enabled.
-
Yes, I run RPi4 but interestingly dispmanx works with LE 9, albeit barely usable. I tried the web interface but unfortunately it doesn't suit my use case.
-
I tried copying dispmanx from LE 9 but when I run the server it says
Code2021-05-07 18:11:43.936 [dmxvnc] Open display[0]... 2021-05-07 18:11:43.937 [dmxvnc] Exception: vc_dispmanx_display_open failed
Before anyone asks, I don't watch movies in VNC, I'm using it when needing to perform tricky configurations (which involve SSH, WinSCP etc) on my living room LE media center and going back and forth from the PC room to the living room gets annoying quickly. So are there any ways to run a VNC server on LE 10?