Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- What I am trying to achieve:
- I'm trying to record audio with option "-i hw:3,0" which fails. "-i default" works, which is surprising, since I would expect same behaviour. arecord -l shows there is an 3,0 audio input device (see 'arecord -l' output end of this file).
- This works:
- ffmpeg -f pulse -ac 2 -i default -acodec pcm_s16le output.wav
- This fails:
- ffmpeg -f pulse -ac 2 -i hw:3,0 -acodec pcm_s16le output.wav
- *********************************************** OTHER SECTION *****************************************************
- Output of the failed command:
- ffmpeg version 3.3.6 Copyright (c) 2000-2017 the FFmpeg developers
- built with gcc 7 (GCC)
- configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' --extra-ldflags='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' --extra-cflags='-I/usr/include/nvenc ' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libcdio --enable-indev=jack --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-nvenc --enable-openal --enable-opencl --enable-opengl --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-libmfx --enable-runtime-cpudetect
- libavutil 55. 58.100 / 55. 58.100
- libavcodec 57. 89.100 / 57. 89.100
- libavformat 57. 71.100 / 57. 71.100
- libavdevice 57. 6.100 / 57. 6.100
- libavfilter 6. 82.100 / 6. 82.100
- libavresample 3. 5. 0 / 3. 5. 0
- libswscale 4. 6.100 / 4. 6.100
- libswresample 2. 7.100 / 2. 7.100
- libpostproc 54. 5.100 / 54. 5.100
- hw:3,0: No such process
- *********************************************** OTHER SECTION *****************************************************
- Using hw:3,0 as a switch *should* work in my setup, since it is an input audio device listed in `arecord -l`:
- **** List of CAPTURE Hardware Devices ****
- card 0: SB [HDA ATI SB], device 0: ALC887-VD Analog [ALC887-VD Analog]
- Subdevices: 1/1
- Subdevice #0: subdevice #0
- card 0: SB [HDA ATI SB], device 2: ALC887-VD Alt Analog [ALC887-VD Alt Analog]
- Subdevices: 1/1
- Subdevice #0: subdevice #0
- card 3: usbtv [usbtv], device 0: USBTV Audio [USBTV Audio Input]
- Subdevices: 1/1
- Subdevice #0: subdevice #0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement