[FFmpeg-user] dshow 2 mono audio input to 1 stereo right/left output

Tim Hiles thiles at confex.com
Mon Oct 19 16:17:53 CEST 2015


>
>
> ffmpeg -i input0 -i input1 -filter_complex
> "[0:a][1:a]amerge=inputs=2[a]" -map "[a]" output
> _______________________________________________
>

I tried this:

c:\ffmpeg\ffmpeg\bin\ffmpeg.exe -f dshow -i audio="Stereo Mix (IDT High
Definition" -f dshow -i aud
io="Microphone (IDT High Definition" -filter_complex
"[0:a][1:a]amerge=inputs=2[a]" -map "[a]" "C:\Test.mp3"
ffmpeg version N-76123-g002b049 Copyright (c) 2000-2015 the FFmpeg
developers
  built with gcc 5.2.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfi
g --enable-frei0r --enable-gnutls --enable-iconv --enable-libass
--enable-libbluray --enable-libbs2b --enable-libcaca --
enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm
--enable-libilbc --enable-libmodplug --enable-libm
p3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libopenjpeg --enable-libopus --enable-librtmp --en
able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora
--enable-libtwolame --enable-libvidstab --ena
ble-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
--enable-libwavpack --enable-libwebp --enabl
e-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma
--enable-decklink --enable-zlib
  libavutil      55.  4.100 / 55.  4.100
  libavcodec     57.  7.100 / 57.  7.100
  libavformat    57.  8.102 / 57.  8.102
  libavdevice    57.  0.100 / 57.  0.100
  libavfilter     6. 11.100 /  6. 11.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.100 /  2.  0.100
  libpostproc    54.  0.100 / 54.  0.100
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, dshow, from 'audio=Stereo Mix (IDT High Definition':
  Duration: N/A, start: 6048.885000, bitrate: 1411 kb/s
    Stream #0:0: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
[dshow @ 00ec9640] Could not run graph (sometimes caused by a device
already in use by other application)
audio=Microphone (IDT High Definition: Input/output error

I've made sure that none of the devices are in use.  Is this really a dshow
error or a syntax error on my part?


More information about the ffmpeg-user mailing list