I have an issue, I have basic asoundrc that looks like the one below.

When I play a 5.1 audio file in ffplay I see an error;
SDL_OpenAudio (6 Channels, 48000 Hz): ALSA: Couldn't open audio device: No
such file or directory
SDL_OpenAudio (4 Channels, 48000 Hz): ALSA: Couldn't open audio device: No
such file or directory

Then the audio is of course very low. I did a series of tests and the
hardware device 0,7 is the only one that will play audio.

Is there any way that I can force ffmpeg/ ffplay to use this device? Or any
other recommendations?

pcm.!default {
        type plug
        slave.pcm "mixer"
}

ctl.!default {
        type hw
        card 0
}

pcm.mixer {
        type dmix
        ipc_key 1024
        slave {
                pcm "hw:0,7"
                period_size 1024
                buffer_size 4096
                rate 44800
                format S32_LE
        }
}
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to