[FFmpeg-user] Distorted audio in screencast

Cecil Westerhof Cecil at decebal.nl
Fri Apr 18 17:54:56 CEST 2014


Op Friday 18 Apr 2014 13:22 CEST schreef Carl Eugen Hoyos:

> Cecil Westerhof <Cecil <at> decebal.nl> writes:
>
>>> Move "-ac 1" in front of "-i"
>>
>> Same error.
>
> Please provide the failing command line together with 
> the complete, uncut console output.

ffmpeg -async 1                         \
       -f alsa                          \
       -i hw:1                          \
       -f x11grab -s 1280x1024          \
       -r 25                            \
       -ac 1                            \
       -i :0.0                          \
       -acodec libmp3lame               \
       -ar 22050                        \
       -ab 64k                          \
       -qscale:video 4                  \
       testing.avi
ffmpeg version 2.1.1 Copyright (c) 2000-2013 the FFmpeg developers
  built on Dec 17 2013 19:47:47 with gcc 4.7 (SUSE Linux)
  configuration: --shlibdir=/usr/lib64 --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib64 --enable-shared --disable-static --enable-debug --disable-stripping --extra-cflags='-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fPIC -I/usr/include/gsm' --enable-gpl --enable-x11grab --enable-version3 --enable-pthreads --enable-avfilter --enable-libpulse --enable-libvpx --enable-libopus --enable-libass --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libxvid --enable-libx264 --enable-libschroedinger --enable-libgsm --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-postproc --enable-libdc1394 --enable-librtmp --enable-libfreetype --enable-avresample --enable-libtwolame --enable-libvo-aacenc --enable-gnutls
  libavutil      52. 48.101 / 52. 48.101
  libavcodec     55. 39.101 / 55. 39.101
  libavformat    55. 19.104 / 55. 19.104
  libavdevice    55.  5.100 / 55.  5.100
  libavfilter     3. 90.100 /  3. 90.100
  libavresample   1.  1.  0 /  1.  1.  0
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
[alsa @ 0x12e5aa0] cannot set channel count to 2 (Invalid argument)
hw:1: Input/output error

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof


More information about the ffmpeg-user mailing list