Softhddevice + ffmpeg > 3.2 (vdpau)

  • Hi all.

    This is a my fork of softhddevice plugin, which is working with vdpau (4K 8 bit output). You can use ffmpeg from 3.2x to git version.

    I tested ffmpeg 3.2.10, 3.4.5, and version from git, ubuntu 18.04, Nvidia GT1030 and Radeon HD5450.

    HEVC vdpau you can use with latest ffmpeg and newest video cards. Nvidia cards can works with 4xx driver, Radeon must work too.

    For Nvidia with 3xx driver you can use cuvid decoder (thanks Jojo), start plugin with -w cuvid-hevc-hw-decoder or -w cuvid-hw-decoder (need make ffmpeg with cuvid decoder, not need CUDA sdk).

    For oldest video cards you can disable hevc decoder with -w no-hevc-decoder.

    Try who wants.

  • Works with 4.1, but menu looks like this:




    vdr-User-# 755 to_h264 chk_r

  • With -w cuvid-hevc-hw-decoder I get the message:


    Code
    1. YV12 video/vdpau: can't put video surface bits: An invalid pointer was provided.


    vdr-User-# 755 to_h264 chk_r

  • The OSD problem did come with GeForce GTX 950. On my vdr3 with Quadro P400 it works fine.


    vdr-User-# 755 to_h264 chk_r

  • Which driver versions you have used?

    Regards,

    Stefan

    Test-VDR1: HP rp5700 Fertigsystem, Core2Duo E6400, 2GB RAM, FF-SD C-2300, nvidia Slim-GT218 x1 | easyVDR 2.0 64Bit
    VDR3: in Rente

    VDR4: MSI G31M2 v2, Digitainer2-Geh., t6963c 6" gLCD, E5200, 2GB, 3TB WD Red, GT730, 2x TT S2-3200; easyVDR 3.5 64bit
    VDR5: Gigabyte
    GA-G31M-S2L, Intel E2140, Zotac GT730 passiv, Digitainer2-Geh., t6963c 6 " gLCD, 2 TB WD Red, 2x TT S2-3200 (an 1 Kabel) easyVDR 3.5 64bit
    VDR6:
    Intel E5200, GT630 passiv, F1 750 GB, t6963c gLCD, 2x TT S2-3200 | easyVDR 3.5 64bit
    VDR-User #1068
    www.easy-vdr.de

  • 410.93 on both systems


    vdr-User-# 755 to_h264 chk_r

  • Hi,

    Btw a very nice idea.

    Is this a fork of softhdcuvid and Softhddevice?

    How did you manage to get Vdpau working with ffmpeg 3.4?

    Kind regards,

    Stefan

    Test-VDR1: HP rp5700 Fertigsystem, Core2Duo E6400, 2GB RAM, FF-SD C-2300, nvidia Slim-GT218 x1 | easyVDR 2.0 64Bit
    VDR3: in Rente

    VDR4: MSI G31M2 v2, Digitainer2-Geh., t6963c 6" gLCD, E5200, 2GB, 3TB WD Red, GT730, 2x TT S2-3200; easyVDR 3.5 64bit
    VDR5: Gigabyte
    GA-G31M-S2L, Intel E2140, Zotac GT730 passiv, Digitainer2-Geh., t6963c 6 " gLCD, 2 TB WD Red, 2x TT S2-3200 (an 1 Kabel) easyVDR 3.5 64bit
    VDR6:
    Intel E5200, GT630 passiv, F1 750 GB, t6963c gLCD, 2x TT S2-3200 | easyVDR 3.5 64bit
    VDR-User #1068
    www.easy-vdr.de

  • For cuvid codec need make ffmpeg with it.

    Try


  • softhdcuvid works fine


    vdr-User-# 755 to_h264 chk_r

  • Code
    1. gentoo ~ # lspci|grep VGA
    2. 02:00.0 VGA compatible controller: NVIDIA Corporation GM206 [GeForce GTX 950] (rev a1)

    Files

    • log.gz

      (2.19 kB, downloaded 33 times, last: )


    vdr-User-# 755 to_h264 chk_r

  • I think, I found the problem



    vdr-User-# 755 to_h264 chk_r

  • remains the problem with osd on my GTX 950, with openglosd it works in softhdcuvid


    vdr-User-# 755 to_h264 chk_r

  • Hallo,

    habe das auch mal getestet, allerdings unter 2.2.0 da 2.4.0 nicht vernünftig läuft bei mir. Laufen tut es, aber man hat immer das Gefühl, das das Bild ruckelt "nicht flüssig läuft" Fashion UHD auf Hotbird geht, Fashion 4k und die anderen UHD Sender auf Astra laufen nicht richtig. Läuft wie in Zeitlupe und immer wieder einseitig Verwürfelte Bilder. Getestet unter Arch VDR 2.2.0 ffmpeg 4.1.1

    Ansonsten finde ich die Idee gut, damit läuft die Karte nicht ständig auf Anschlag.

  • Hallo,


    damit läuft die Karte nicht ständig auf Anschlag.

    was für nee Nvidia hast du im System??


    Gruss

    Wolfgang

  • Auch bei mir laufen die UHD Sender auf meiner Quadro P400 nicht rund, bei softhdcuvid geht das problemlos.


    vdr-User-# 755 to_h264 chk_r