[FFmpeg-trac] #2504(undetermined:new): Audio glitches and distortion when recording and direct play
FFmpeg
trac at avcodec.org
Fri May 24 12:51:46 CEST 2013
#2504: Audio glitches and distortion when recording and direct play
-------------------------------------+-------------------------------------
Reporter: MrNice | Owner:
Type: defect | Status: new
Priority: important | Component:
Version: git-master | undetermined
Keywords: regression | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by cehoyos):
Please run the following:
{{{
$ make distclean
$ git checkout 3cac2f1
$ ./configure --disable-protocols --disable-decoders --disable-encoders
--disable-demuxers --disable-muxers --disable-outdevs --disable-bsfs
--disable-parsers --enable-protocol=file --enable-decoder=pcm_s16le
--enable-encoder=pcm_s16le --enable-muxer=wav --disable-filters && make
-j3 ffmpeg
$ ./ffmpeg -f alsa -ac 2 -i hw:0,0 -y out.wav
}}}
Now test out.wav, I would expect it to play with distortions, if that is
wrong (if it plays fine), just continue the bisect with {{{make distclean
&& git bisect good}}}
If - as I expect - out.wav plays with distortions:
{{{
$ make distclean && git bisect bad
$ git checkout 743b389
$ ./configure --disable-protocols --disable-decoders --disable-encoders
--disable-demuxers --disable-muxers --disable-outdevs --disable-bsfs
--disable-parsers --enable-protocol=file --enable-decoder=pcm_s16le
--enable-encoder=pcm_s16le --enable-muxer=wav --disable-filters && make
-j3 ffmpeg
$ ./ffmpeg -f alsa -ac 2 -i hw:0,0 -y out.wav
}}}
out.wav should play fine, if that is correct please finish with:
{{{
$ make distclean && git bisect good
}}}
git will then tell about the result of the test, run {{{git bisect reset
&& git checkout master && git pull}}} to get back to git head.
I suspect the following information will be needed:
The hardware that you are using to record alsa (that may be your mainboard
or your sound card)
The driver used for the audio device
(This is likely a driver bug but i may be wrong, above information will
help to find out.)
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2504#comment:60>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list