Mikrofon Übertragung beim streamen mit ffmpeg

  • Hallo,

    über die Anleitung vom dem Thread hab ich es geschafft von der Raspberry Pi Cam Module v2 auf ein rtmp server zu streamen. Jetzt will ich von einem USB Mikrofon noch den Sound mit übertragen. Wie mach ich das?

    Das ist mein USB Mikrofon:

    Code
    pi@container:~ $ arecord -l
    **** List of CAPTURE Hardware Devices ****
    card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
     Subdevices: 1/1
     Subdevice #0: subdevice #0

    Ich habe versucht die Atribute

    Code
    -f alsa -i hw:1,1

    mit einzufügen, dann bekam ich aber den Fehler:

    Code
    hw:1,1: Protocol not found

    Edit:
    Wenn ich die Position der Atribute für den Mic weiter am Anfang setzte, kommt dieser fehler:

    Code
    Applying option loglevel (set logging level) with argument quiet.
    Applying option nostats (print progress report during encoding) with argument 0.
    Applying option y (overwrite output files) with argument 1.
    Successfully parsed a group of options.
    Parsing a group of options: input url hw:1,0.
    Applying option f (force format) with argument alsa.
    Applying option ac (set number of audio channels) with argument 2.
    Successfully parsed a group of options.
    Opening an input file: hw:1,0.
    Unknown input format: 'alsa

    Edit 2:
    Man muss wohl die Bibliothek libpulse bei ./configure von ffmpeg enablen

    Code
    apt-get install libpulse-dev
    ./configure --disable-librtmp --enable-libpulse

    Edit 3:
    Das hat das problem leider nicht behoben :/

    Einmal editiert, zuletzt von raze92 (28. Juli 2017 um 00:17)

Jetzt mitmachen!

Du hast noch kein Benutzerkonto auf unserer Seite? Registriere dich kostenlos und nimm an unserer Community teil!