[FFmpeg-user] problem capture desktop
Juan carlos Rebate
nerus492 at gmail.com
Sun Oct 18 03:01:57 EEST 2020
ffmpeg -f dshow -i video="screen-capture-recorder" -i
audio="virtual-audio-capturer" -vcodec libx264 -r 25 -crf 10 -acodec
mp3 output.mp4
ffmpeg version 4.2.3 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 9.3.1 (GCC) 20200523
configuration: --enable-gpl --enable-version3 --enable-sdl2
--enable-fontconfig --enable-gnutls --enable-iconv --enable-libass
--enable-libdav1d --enable-libbluray --enable-libfreetype
--enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus
--enable-libshine --enable-libsnappy --enable-libsoxr
--enable-libtheora --enable-libtwolame --enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265
--enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib
--enable-gmp --enable-libvidstab --enable-libvorbis
--enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex
--enable-libxvid --enable-libaom --enable-libmfx --enable-amf
--enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc
--enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
leaving aero onInput #0, dshow, from 'video=screen-capture-recorder':
Duration: N/A, start: 30647.479000, bitrate: N/A
Stream #0:0: Video: rawvideo, bgr0, 800x600, 30 fps, 30 tbr,
10000k tbn, 10000k tbc
audio=virtual-audio-capturer: No such file or directory
El sáb., 17 oct. 2020 a las 23:18, Moritz Barsnick
(<barsnick at gmx.net>) escribió:
>
> Hi Juan Carlos,
>
> On Sat, Oct 17, 2020 at 20:00:44 +0200, Juan carlos Rebate wrote:
> > fmpeg -f dshow -i video="screen-capture-recorder" -vcodec libx264 -r
> > 25 -crf 10 -i audio="virtual-audio-capturer" -acodec mp3 output.mp4
> [...]
> > Unknown decoder 'libx264'
> > the strange thing is that if I delete the part that refers to the
> > audio if the video codec recognizes me, what am I doing wrong?
>
> You need to specify your input options before the inputs, and your
> output options before your outputs. By using "-vcodec libx264" before
> your audio input, you are trying to tell ffmpeg to use libx264 to
> decode the audio - which it cannot do.
>
> You need to place "-vcodec libx264" after the inputs:
> $ ffmpeg -f dshow -i video="screen-capture-recorder" -i audio="virtual-audio-capturer" -vcodec libx264 -r 25 -crf 10 -acodec mp3 output.mp4
>
> Cheers,
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-user
mailing list