[FFmpeg-trac] #2504(avdevice:new): Audio glitches and distortion when recording alsa
FFmpeg
trac at avcodec.org
Tue Jun 11 16:50:16 CEST 2013
#2504: Audio glitches and distortion when recording alsa
------------------------------------+------------------------------------
Reporter: MrNice | Owner:
Type: defect | Status: new
Priority: important | Component: avdevice
Version: git-master | Resolution:
Keywords: regression | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Comment (by MrNice):
Rebuitd done.
Test:
{{{
$ ffmpeg -f alsa -ac 2 -i hw:0,0 -y out.wav
bash: ffmpeg: command not found
[jp at loja ffmpeg]$ ./ffmpeg -f alsa -ac 2 -i hw:0,0 -y out.wav
ffmpeg version N-53955-gd3e89f2 Copyright (c) 2000-2013 the FFmpeg
developers
built on Jun 11 2013 15:29:15 with gcc 4.4.7 (GCC) 20120313 (Red Hat
4.4.7-3)
configuration:
libavutil 52. 35.100 / 52. 35.100
libavcodec 55. 15.100 / 55. 15.100
libavformat 55. 8.102 / 55. 8.102
libavdevice 55. 2.100 / 55. 2.100
libavfilter 3. 75.101 / 3. 75.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, alsa, from 'hw:0,0':
Duration: N/A, start: 1370961028.761392, bitrate: 1536 kb/s
Stream #0:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Output #0, wav, to 'out.wav':
Metadata:
ISFT : Lavf55.8.102
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz,
stereo, s16, 1536 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (pcm_s16le -> pcm_s16le)
Press [q] to stop, [?] for help
size= 6368kB time=00:00:33.96 bitrate=1536.0kbits/s
video:0kB audio:6368kB subtitle:0 global headers:0kB muxing overhead
0.001227%
}}}
Quality is better but sound have what I call "tics" after some "bips". See
comments 66/67
[https://ffmpeg.org/trac/ffmpeg/ticket/2504#comment:66]
I tried again with arecord -N -f cd -t wav out.wav: This is perfect, no
"tic" at all. Do it use different driver?
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2504#comment:86>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list