FFmpeg 2.0 und softhddevice

  • Hi,


    ich wollte gestern mal das neue FFmpeg release 2.0 testen, hatte aber Probleme bei der Übersetzung von softhddevice. Offensichtlich wurden einige Typdeklarationen geändert.
    Hat sonst schon jemand FFmpeg 2.0 und softhddevice getestet?


    grappi

    Wohnzimmer-VDR: Hardware: ASRock Mainboard M3N78D; AMD 240e CPU; Zotac GeForce GT220 passiv; Mystique Dual SaTiX-S2; TT-DVB-S2 3200 Software: VDR-2.0.0; softhddevice (aktuelle git) ; NVIDIA-Treiber 313.26

  • Hallo Grappi,
    Der Patch ist ziemlich simpel. Ich kann ihn heute Abend 'mal hier veröffentlichen.


    Viele Grüße


    Dominik



    Gesendet von meinem iPad mit Tapatalk HD

    VDR: Thermaltake DH102, Asus M3N78-PRO AMD 4850e, GT 220 passiv, 1x Mystique SaTiX-S2 Dual

  • Der Patch ist ziemlich simpel. Ich kann ihn heute Abend 'mal hier veröffentlichen.


    Viele Grüße


    Dominik

    Hi Dominik,


    das wäre sehr nett.


    Grappi

    Wohnzimmer-VDR: Hardware: ASRock Mainboard M3N78D; AMD 240e CPU; Zotac GeForce GT220 passiv; Mystique Dual SaTiX-S2; TT-DVB-S2 3200 Software: VDR-2.0.0; softhddevice (aktuelle git) ; NVIDIA-Treiber 313.26

  • Ist in Kürze im GIT.


    Gibt es noch eine Distribution die kein ffmpeg oder libav mit Version größer gleich 1.0 hat?


    Johns

    Sag mir, wo die Developer sind. Wo sind sie geblieben? . . . . . . . . . . . . . . . . . . . . SoftHdDevice - A software and GPU emulated HD output device plugin.
    Sag mir, wo die Developer sind. Was ist geschehn?


    Client0: Crown CW02 MSI_C847MS-E33 Zotac_GT640_passiv Cine-S2 iMon-MCE / streamdev softhddevice
    Client1: Lian_Li_PC-Q09FB ASRock_H67M-ITX/HT I3-2100 ASUS_ENGT520_passiv / streamdev softhddevice
    Test: Lian_Li_PC-Q09R Asus C60M1-I / streamdev
    Server0: Dockstar TT-S2-3600-USB / streamdev
    Server2: Lian_Li_PC-Q07R Intel_DH61DL G620 WD20EARX 90W PicoPSU Cine-S2+DuoFlex-S2+DuoFlex-CT / streamdev / 22 Watt Verbrauch

  • Moin!


    Mit Sicherheit Ubuntu (Precise), also yaVDR 0.5.
    EDIT: Ach so, 1.0, nicht 2.0, nein, weiß ich nicht aus dem Kopf.
    EDIT2: Es scheint, dass bei Precise libavcodec53 in Version 0.8.6 benutzt wird.


    Lars.

  • Danke,


    libav 0.8.7 hat die neuen Enumeration auch noch nicht.
    Dann muß ich meinen Kompatibilitätspatch doch drin lassen bzw. noch testen.


    Johns

    Sag mir, wo die Developer sind. Wo sind sie geblieben? . . . . . . . . . . . . . . . . . . . . SoftHdDevice - A software and GPU emulated HD output device plugin.
    Sag mir, wo die Developer sind. Was ist geschehn?


    Client0: Crown CW02 MSI_C847MS-E33 Zotac_GT640_passiv Cine-S2 iMon-MCE / streamdev softhddevice
    Client1: Lian_Li_PC-Q09FB ASRock_H67M-ITX/HT I3-2100 ASUS_ENGT520_passiv / streamdev softhddevice
    Test: Lian_Li_PC-Q09R Asus C60M1-I / streamdev
    Server0: Dockstar TT-S2-3600-USB / streamdev
    Server2: Lian_Li_PC-Q07R Intel_DH61DL G620 WD20EARX 90W PicoPSU Cine-S2+DuoFlex-S2+DuoFlex-CT / streamdev / 22 Watt Verbrauch

  • Da steht in Kürze und dann ich muß es noch testen.


    Sollte aber nun funktionieren mit ffmpeg 2.0 und libav 0.8.7 getestet.


    Die neue AVFrame API dauert noch etwas.


    Johns

    Sag mir, wo die Developer sind. Wo sind sie geblieben? . . . . . . . . . . . . . . . . . . . . SoftHdDevice - A software and GPU emulated HD output device plugin.
    Sag mir, wo die Developer sind. Was ist geschehn?


    Client0: Crown CW02 MSI_C847MS-E33 Zotac_GT640_passiv Cine-S2 iMon-MCE / streamdev softhddevice
    Client1: Lian_Li_PC-Q09FB ASRock_H67M-ITX/HT I3-2100 ASUS_ENGT520_passiv / streamdev softhddevice
    Test: Lian_Li_PC-Q09R Asus C60M1-I / streamdev
    Server0: Dockstar TT-S2-3600-USB / streamdev
    Server2: Lian_Li_PC-Q07R Intel_DH61DL G620 WD20EARX 90W PicoPSU Cine-S2+DuoFlex-S2+DuoFlex-CT / streamdev / 22 Watt Verbrauch

  • Sofern sich da keine Vorteile ergeben kann man es ja sein lassen ;) Hab hier aktuell 1.2 laufen und bin damit zufrieden.

  • Also in der Vergangenheit war es doch eher so, dass ffmpeg Updates mehr Probleme mit sich brachten, als sie Vorteile hatten. Weshalb muss es denn unbedingt jetzt schon die 2.0 sein??


    Weil es, es gibt!


    Die Änderungen sind aber schon ewig drin (in ffmpeg), die haben nun den kompatibilitäts #define weggelassen.
    Deshalb dachte ich kann den in meinen Sourcen auch weglassen.


    Ansonsten haben sie das Handling von VDPAU an VA-API angepasst. Somit kann ich meinen Code auch vereinfachen.


    Johns

    Sag mir, wo die Developer sind. Wo sind sie geblieben? . . . . . . . . . . . . . . . . . . . . SoftHdDevice - A software and GPU emulated HD output device plugin.
    Sag mir, wo die Developer sind. Was ist geschehn?


    Client0: Crown CW02 MSI_C847MS-E33 Zotac_GT640_passiv Cine-S2 iMon-MCE / streamdev softhddevice
    Client1: Lian_Li_PC-Q09FB ASRock_H67M-ITX/HT I3-2100 ASUS_ENGT520_passiv / streamdev softhddevice
    Test: Lian_Li_PC-Q09R Asus C60M1-I / streamdev
    Server0: Dockstar TT-S2-3600-USB / streamdev
    Server2: Lian_Li_PC-Q07R Intel_DH61DL G620 WD20EARX 90W PicoPSU Cine-S2+DuoFlex-S2+DuoFlex-CT / streamdev / 22 Watt Verbrauch

  • Hallo,
    hat ein bisschen länger gedauert, aber hier für alle, die nicht auf Johns waren wollen oder können.


    Der Patch enthält keine Kompatibilitätsschalter, ist also nur für ffmpeg 2.0 geeignet.


    Viele Grüße
    Dominik

  • Wenn ich das richtig sehe hat johns das schon im git


    vdr-User-# 755 to_h264 chk_r vdr-transcode github

  • Hallo,
    stimmt, das ist inzwischen im git gelandet.


    softhddev.c funktioniert für mich allerdings nicht.
    Ich habe die Abfrage jetzt so geändert:
    #if !FF_API_CODEC_ID
    //#define AVCodecID CodecID


    Das wird auch intern verwendet. Die alten IDs gibt's auch noch, so lange die MAJOR version 55 ist.


    Diese Umbenennung ist schon älter, müßte also in eine andere Abfrage.
    #define AVCodecID CodecID


    Dann wuppt's.



    Viele Grüße


    Dominik

    VDR: Thermaltake DH102, Asus M3N78-PRO AMD 4850e, GT 220 passiv, 1x Mystique SaTiX-S2 Dual

  • For me it works only with my additional patch.



    Gesendet von meinem iPad mit Tapatalk HD

    VDR: Thermaltake DH102, Asus M3N78-PRO AMD 4850e, GT 220 passiv, 1x Mystique SaTiX-S2 Dual

  • Does the new patch to softhddevice git "Use ffmpeg new names AVCodecID, AV_CODEC_... ." finally allow the use of ffmpeg git again?


    I never test ffmpeg GIT. I test only major releases of ffmpeg, when they hit my distribution.


    ffmpeg-1.0.7, ffmpeg-1.2.1 and ffmpeg-2.0 I have checked.
    libav-0.8.7 only checked.


    Johns

    Sag mir, wo die Developer sind. Wo sind sie geblieben? . . . . . . . . . . . . . . . . . . . . SoftHdDevice - A software and GPU emulated HD output device plugin.
    Sag mir, wo die Developer sind. Was ist geschehn?


    Client0: Crown CW02 MSI_C847MS-E33 Zotac_GT640_passiv Cine-S2 iMon-MCE / streamdev softhddevice
    Client1: Lian_Li_PC-Q09FB ASRock_H67M-ITX/HT I3-2100 ASUS_ENGT520_passiv / streamdev softhddevice
    Test: Lian_Li_PC-Q09R Asus C60M1-I / streamdev
    Server0: Dockstar TT-S2-3600-USB / streamdev
    Server2: Lian_Li_PC-Q07R Intel_DH61DL G620 WD20EARX 90W PicoPSU Cine-S2+DuoFlex-S2+DuoFlex-CT / streamdev / 22 Watt Verbrauch


  • Dann klappen uralt Version nicht. FF_API_CODEC_ID gibts nur wenn eine neue API schon definiert ist und dann nur solange die alte API unterstützt wird.
    Wie im Post vorher geschrieben, haben 4 Versionen bei mir funktioniert.


    Du müsstest mal genau gucken was er bei dir meckert und welche LIBAVCODEC_VERSION_INT du hast.


    Johns

    Sag mir, wo die Developer sind. Wo sind sie geblieben? . . . . . . . . . . . . . . . . . . . . SoftHdDevice - A software and GPU emulated HD output device plugin.
    Sag mir, wo die Developer sind. Was ist geschehn?


    Client0: Crown CW02 MSI_C847MS-E33 Zotac_GT640_passiv Cine-S2 iMon-MCE / streamdev softhddevice
    Client1: Lian_Li_PC-Q09FB ASRock_H67M-ITX/HT I3-2100 ASUS_ENGT520_passiv / streamdev softhddevice
    Test: Lian_Li_PC-Q09R Asus C60M1-I / streamdev
    Server0: Dockstar TT-S2-3600-USB / streamdev
    Server2: Lian_Li_PC-Q07R Intel_DH61DL G620 WD20EARX 90W PicoPSU Cine-S2+DuoFlex-S2+DuoFlex-CT / streamdev / 22 Watt Verbrauch

  • Well, no real need for a patch, just commenting out one line.


    I would propose you to try and check if it works OOTB. If not, post the error message and 8 would think hat the community will help.



    Gesendet von meinem iPad mit Tapatalk HD

    VDR: Thermaltake DH102, Asus M3N78-PRO AMD 4850e, GT 220 passiv, 1x Mystique SaTiX-S2 Dual

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!