[FFmpeg-user] Samsung HanWha QNV-7010RN Security Camera Stream - No Sound with ffplay

Moritz Barsnick barsnick at gmx.net
Mon Jun 3 18:23:10 EEST 2019


On Mon, Jun 03, 2019 at 01:44:58 +0000, Patrick Kirchner via ffmpeg-user wrote:
> SDL_OpenAudio (1 channels, 8000 Hz): ALSA: Couldn't set audio channels
> No more combinations to try, audio open failed

This means that ffplay's SDL audio implementation can't play to the
available audio device. Perhaps ffplay doesn't automatically try to
convert to a suitable format - assuming ALSA might accept 44.1 or 48
kHz. You could try to insert an audio filter into ffplay to change the
sample rate (probably "-af aresample=48000").

mplayer most likely uses some other mechanism for playing audio,
perhaps OSS, and therefore succeeds by default.

Cheers,
Moritz


More information about the ffmpeg-user mailing list