softhddevice + 5.1 Ton auf analoger 6-ch Soundkarte

  • Hallo, hab es bis jetzt geschafft xine und xineliboutput durch Zurechtbasteln des jeweiligen Templates dazu zu überreden, 5.1 Ton über meine analoge 5.1 Soundkarte auszugeben. Nur bei softhddevice komme ich da irgendwie nicht weiter. Die Kommandozeile mit z.B. -a surround51 zu erweitern hilft jedenfalls nicht, und zwar vermutlich weil es mit -D standardmässig "detached" gestartet wird und erst später mit dem svdrp-Kommando ATTA "richtig" gestartet wird, und diesem Befehl dann erst die Audio-Einstellungen beiliegen. Aber wo ist das Template, das dafür zuständig ist?!


    Oder bin ich völlig auf dem falschen Pfad?


    Grüsse
    ako673de

  • Gute Frage mit den templates, die muß jemand vom yaVDR Team beantworten.


    Im Plugin dann noch den "Downmix" aktivieren.


    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

  • Beim Attachen ändert sich bislang nichts an den Audio-Einstellungen, da sollte weiterhin das gelten, was man beim Start des Plugins festgelegt hat.

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • Wenn das so ist, dann wäre ich sehr dankbar über die Info, was ich tun muss um 5.1 Ton aus meinem System zu bekommen. Ich habe - ja wie geschrieben - mit dem naheliegendsten Kommandozeilenparamater "-a surround51" keinen Erfolg gehabt. Und ohne diesen Parameter ist doch wohl "default" das Audio-Ausgabegerät, oder?


    Meine asound.conf ist übrigens leer (was normal ist für meine onboard-Soundkarte und was auch funktioniert mit xine und xineliboutput). Muss ich dort für's softhddevice vielleicht noch was schrauben?

  • Also "downmix" war natürlich falsch. Passthrough ausschalten, wollte ich schreiben.


    Also mit aplay -l, aplay -L gucken was du hast. Interner Analoger Tonanschluss ist hw:0,0.
    Die Karte müsste dann hw:1,0 sein.


    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

  • OK, aber hätte ich Passthrough an, dann wäre es vermutlich sehr still bei meinem analogen Ausgabegerät, oder?


    Welche Karte meinst Du? Ich will (muss) ja über genau den internen analogen Tonanschluss raus. Hintergrund: Ich habe das berühmte Teufel-Surround-System mit (nur) den 6 analogen Eingängen. Kein SPDIF. Ich hab es übrigens auch schon mit einem SPDIF->analog Wandler versucht, damit ich z.B. über HDMI oder eben direkt SPDIF aus dem VDR raus komme, was dort wohl deutlich besser OOTB unterstützt wird als der analoge Ausgang. Aber dieser Wandler hat eine (System)-Macke und ging zurück. Und Alternativen habe ich keine gefunden.


    Ich habe folgende Ergebnisse für aplay -l:
    **** Liste der Hardware-Geräte (PLAYBACK) ****
    Karte 0: PCH [HDA Intel PCH], Gerät 0: ALC889 Analog [ALC889 Analog]
    Sub-Geräte: 0/1
    Sub-Gerät #0: subdevice #0
    Karte 0: PCH [HDA Intel PCH], Gerät 1: ALC889 Digital [ALC889 Digital]
    Sub-Geräte: 1/1
    Sub-Gerät #0: subdevice #0
    Karte 1: NVidia [HDA NVidia], Gerät 3: HDMI 0 [HDMI 0]
    Sub-Geräte: 1/1
    Sub-Gerät #0: subdevice #0
    Karte 1: NVidia [HDA NVidia], Gerät 7: HDMI 1 [HDMI 1]
    Sub-Geräte: 1/1
    Sub-Gerät #0: subdevice #0


    und aplay -L:
    null
    Discard all samples (playback) or generate zero samples (capture)
    default:CARD=PCH
    HDA Intel PCH, ALC889 Analog
    Default Audio Device
    sysdefault:CARD=PCH
    HDA Intel PCH, ALC889 Analog
    Default Audio Device
    front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC889 Analog
    Front speakers
    surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC889 Analog
    4.0 Surround output to Front and Rear speakers
    surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC889 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
    surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC889 Analog
    5.0 Surround output to Front, Center and Rear speakers
    surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC889 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
    surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC889 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
    iec958:CARD=PCH,DEV=0
    HDA Intel PCH, ALC889 Digital
    IEC958 (S/PDIF) Digital Audio Output
    dmix:CARD=PCH,DEV=0
    HDA Intel PCH, ALC889 Analog
    Direct sample mixing device
    dmix:CARD=PCH,DEV=1
    HDA Intel PCH, ALC889 Digital
    Direct sample mixing device
    dsnoop:CARD=PCH,DEV=0
    HDA Intel PCH, ALC889 Analog
    Direct sample snooping device
    dsnoop:CARD=PCH,DEV=1
    HDA Intel PCH, ALC889 Digital
    Direct sample snooping device
    hw:CARD=PCH,DEV=0
    HDA Intel PCH, ALC889 Analog
    Direct hardware device without any conversions
    hw:CARD=PCH,DEV=1
    HDA Intel PCH, ALC889 Digital
    Direct hardware device without any conversions
    plughw:CARD=PCH,DEV=0
    HDA Intel PCH, ALC889 Analog
    Hardware device with all software conversions
    plughw:CARD=PCH,DEV=1
    HDA Intel PCH, ALC889 Digital
    Hardware device with all software conversions
    hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
    hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 1
    HDMI Audio Output
    dmix:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct sample mixing device
    dmix:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 1
    Direct sample mixing device
    dsnoop:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct sample snooping device
    dsnoop:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 1
    Direct sample snooping device
    hw:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct hardware device without any conversions
    hw:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 1
    Direct hardware device without any conversions
    plughw:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Hardware device with all software conversions
    plughw:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 1
    Hardware device with all software conversions

  • Von der Überschrift bin ich von zusätzlicher Soundkarte ausgegangen.


    Mit interner ist es einfach "-a hw:0,0".


    Wobei aber "-a surround51" auch gehen sollte.


    Einfach bei yavdr an der richtigen Stelle eintragen.


    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

  • Alsa, ffmpeg, spdif haben alle verschiedene Vorstellung wie und wo die Kanäle liegen.
    Müsste im Xbmc Setup sein.


    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 johns,


    Was für ein Setup meinst Du? Nicht das grafische, hoffe ich, denn dort kann ich gerade mal die verfügbaren Devices auswählen, konfigurieren geht da nicht.


    Das Problem dürfte sein, was XBMC da beim Initialisieren an Audio-Devices erkennt. In meinem Fall (Auszug aus dem xbmc.log):


    m_channels=FL,FR (bei den analogen Devices 1 und 2) ist einfach nur falsch. Beim SPDIF (Device 3) ist es richtig, weil da die 6 Kanäle im Stereo-DTS-Datenstrom kodiert werden, und bei HDMI (Device 4, Device 5 ist nur der Fernseher, der in der Tat nur 2 Lautsprecher hat) ist es auch richtig, wenn mir auch die Kanalreihenfolge da nicht richtig erscheint. Richtig wäre doch FL,FR,FC,LFE,BL,BR,SL,SR, oder? Genau so eine Vertauschung ist es, die ich jetzt am analogen Ausgang höre (wo ja nur 2 Kanäle gemeldet werden, und daher vermutlich irgendwas im XBMC-Code in die Irre geführt wird).


    Wichtig: Das Problem ist neu und ich wüsste nicht was ich (aktiv) getan hätte, um es heraufzubeschwören. Höchstens hier und da mal ein "apt-get update"...


    Kann ich den m_channels-Wert irgendwo festnageln, wenn XBMC ihn nicht richtig automatisch ermitteln kann?


    Grüsse
    ako673de

Jetzt mitmachen!

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