michaelmob/WebMCam

Output mp4 file error

Closed this issue · 3 comments

I'm using v2.1.0. When I choose to output mp4 file, this error pops up. I don't know how to fix it.

ffmpeg version N-79546-g13406b6 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --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-libmfx --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --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. 22.100 / 55. 22.100
  libavcodec     57. 35.100 / 57. 35.100
  libavformat    57. 34.102 / 57. 34.102
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 44.100 /  6. 44.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Input #0, image2, from '%d.png':
  Duration: 00:00:00.40, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: png, rgba(pc), 296x222 [SAR 3779:3779 DAR 4:3], 22.50 fps, 22.50 tbr, 22.50 tbn
[libvpx @ 0000000001f76b40] v1.5.0
[mp4 @ 0000000001f756a0] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[mp4 @ 0000000001f756a0] Could not find tag for codec vp8 in stream #0, codec not currently supported in container
Output #0, mp4, to 'D:\Temp\1.mp4':
  Metadata:
    encoder         : Lavf57.34.102
    Stream #0:0: Video: vp8, yuva420p, 296x222 [SAR 1:1 DAR 4:3], q=2-31, 2000 kb/s, 22.50 fps, 22.50 tbn
    Metadata:
      encoder         : Lavc57.35.100 libvpx
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Stream mapping:
  Stream #0:0 -> #0:0 (png (native) -> vp8 (libvpx))
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument

Post your ffmpeg arguments here

It seems the configuration above is the arguments. And I have done nothing to change arguments.

If you want to try v2.2.0 [https://github.com/theTarkus/WebMCam/releases/tag/220]
In Options, press the Reset Args button and restart WebMCam and try to record something, and paste the process output again here

You're not running Windows N (-edition) by any chance, are you?