Posts by lomion

    No success. New logs (with debug logs on): 3NLX


    While teletext is shown the framerate drops to 20 fps. Maybe some underrun?


    -----------


    An even better one: 3NMg


    Its from my RPi3 (latest libreelec-10.0 build)


    Last lines of trace:

    Code
    2022-01-28 15:48:56.313 T:861     DEBUG <general>: CVideoPlayerVideo - Stillframe left, switching to normal playback
    2022-01-28 15:48:56.334 T:854     DEBUG <general>: CVideoPlayer::HandleMessages - player started 1
    2022-01-28 15:48:56.334 T:940     DEBUG <general>: OnAVChange: CApplication::OnAVChange
    2022-01-28 15:48:56.591 T:861     DEBUG <general>: ffmpeg[0x3a88cf8X]: [src] sws_param option is deprecated and ignored
    2022-01-28 15:48:56.596 T:861     ERROR <general>: ffmpeg[0x3a88cf8X]: [deinterlace_v4l2m2m] VIDIOC_REQBUFS failed: Cannot allocate memory

    I am using a build of the libreelec-10.0 branch which got deinterlacer merged lately (thanks to @HiassofT)!


    Working great until I enter the channel list (PVR addon) or enter teletext (tested on RPi3 and RPi4). In this case the RPi crashes (reproducable) shortly after. If no deinterlacer is in use (720p stream) then no crash happens. I am not able to analyse the crash myself but can provide crash.log if needed.

    Great work! Thank you very much!

    I merged the patches to my local libreelec-10.0 branch and tested it on RPI3. Working really well for 576i and 1080i.

    Only thing were a few interlacings in fast vertical movements which seems strange. I will investigate this further ...

    I was able to build an image with the ffmpeg source provided by popcornmix on GIHUB in order to test the deinterlacer on RPi3 and PRi4. From what I found the latest linux-firmware should support it already.

    What I couldn't figure out is, how to reactivate the deinterlacer in Kodi again. Can somebody here give me a hint on that?

    I recently upgrade my RPI4 to LE10. After the upgrade AC3 passthrough is not working and instead the audio is resampled.


    My audio device supports passthrough:


    Code
    2021-10-14 14:08:52.872 T:957      INFO <general>:     Device 4
    2021-10-14 14:08:52.872 T:957      INFO <general>:         m_deviceName      : hdmi:CARD=vc4hdmi0,DEV=0
    2021-10-14 14:08:52.872 T:957      INFO <general>:         m_displayName     : vc4-hdmi-0 (vc4hdmi0)
    2021-10-14 14:08:52.872 T:957      INFO <general>:         m_displayNameExtra: SAM SAMSUNG on HDMI
    2021-10-14 14:08:52.872 T:957      INFO <general>:         m_deviceType      : AE_DEVTYPE_HDMI
    2021-10-14 14:08:52.872 T:957      INFO <general>:         m_channels        : FL, FR, LFE, FC, BL, BR, BLOC, BROC
    2021-10-14 14:08:52.872 T:957      INFO <general>:         m_sampleRates     : 32000,44100,48000,88200,96000,176400,192000
    2021-10-14 14:08:52.872 T:957      INFO <general>:         m_dataFormats     : AE_FMT_RAW,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_U8,AE_FMT_RAW
    2021-10-14 14:08:52.872 T:957      INFO <general>:         m_streamTypes     : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD,STREAM_TYPE_DTSHD_MA,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512,STREAM_TYPE_EAC3,STREAM_TYPE_TRUEHD


    But it resampling since "synctype is set to 1":

    Code
    DEBUG <general>: CVideoPlayerAudio:: synctype set to 1: resample


    From what I read I should disable "Sync playback to display" setting which was removed in LE 10 since the switch to GBM ...


    So how to solve this problem?


    Update: Yestersdays nightly for RPI2 has the settings item "Sync playback to display" (disabled by default). There passthrough works ...