profile
viewpoint

Ask questionsVoice recording buggy

First of all thanks a lot for this awesome application!

Unfortunately I have some troubles with the voice recording. Not sure if I ever will use it :D but thought you might be interested.

This was my first bug: ALSA lib pcm_hw.c:1829:(_snd_pcm_hw_open) Invalid value for card [alsa @ 0x5626bffac2c0] cannot open audio device default (No such device) default: Input/output error

Fixed with adding that line to my conf.py VOICE_RECORD_CMD = "ffmpeg -f alsa -i hw:0 -c:a libopus -b:a 32k {file_path}"

But there is still another one:

Guessed Channel Layout for Input Stream #0.0 : stereo Input #0, alsa, from 'hw:0': Duration: N/A, start: 1592929738.453123, bitrate: 1536 kb/s Stream #0:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s [NULL @ 0x558585020e00] Unable to find a suitable output format for '/tmp/voice-2020-06-23' /tmp/voice-2020-06-23: Invalid argument

paul-nameless/tg

Answer questions lightme16

@IvoLeist Cool! I updated default ffmpeg command for Linux here https://github.com/paul-nameless/tg/pull/95. Thanks for your report!

useful!

Related questions

No questions were found.
Github User Rank List