michaelmob / WebMCam

Capture frames in real-time and save them as WebM.
GNU General Public License v3.0
284 stars 27 forks source link

Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height #59

Open pointcache opened 6 years ago

pointcache commented 6 years ago

Directory: C:\Users\alex\AppData\Local\Temp\tmp95BA.tmp_WebMCam Command: ffmpeg.exe -framerate 31.98226 -i %d.png -i audio.wav -c:v libvpx -b:v 2M -r 31.98226 -y "D:\Work\shooter\Screens\output.webm" Output: D:\Work\shooter\Screens\output.webm

ffmpeg version N-83152-gf7e9275 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 5.4.0 (GCC) configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib libavutil 55. 43.100 / 55. 43.100 libavcodec 57. 74.100 / 57. 74.100 libavformat 57. 62.100 / 57. 62.100 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 69.100 / 6. 69.100 libswscale 4. 3.101 / 4. 3.101 libswresample 2. 4.100 / 2. 4.100 libpostproc 54. 2.100 / 54. 2.100 Input #0, image2, from '%d.png': Duration: 00:00:46.12, start: 0.000000, bitrate: N/A Stream #0:0: Video: png, rgba(pc), 949x507 [SAR 3779:3779 DAR 73:39], 32 fps, 31.98 tbr, 31.98 tbn, 31.98 tbc Guessed Channel Layout for Input Stream #1.0 : stereo Input #1, wav, from 'audio.wav': Duration: 00:00:44.86, bitrate: 3072 kb/s Stream #1:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 48000 Hz, stereo, flt, 3072 kb/s [libvpx @ 000000000162dac0] v1.6.0 [libvpx @ 000000000162dac0] Transparency encoding with auto_alt_ref does not work Stream mapping: Stream #0:0 -> #0:0 (png (native) -> vp8 (libvpx)) Stream #1:0 -> #0:1 (pcm_f32le (native) -> opus (libopus)) Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height