2016-12-24 13 views
6

에서 내가 사용하는 명령을 WEBM을 인코딩하는 방법이었다오류가 많은 이미지

C:\cmd\ffmpeg\bin\ffmpeg.exe -i "C:\Users\user\Dropbox\Workspace - C#\SnowflakeGenerator\out\out%d.png" -c:v libvpx -b:v 1M "C:\Users\user\Dropbox\Workspace - C#\SnowflakeGenerator\video.webm" -y 

출력했다 :

ffmpeg version N-82889-g54931fd Copyright (c) 2000-2016 the FFmpeg developers 
built with gcc 5.4.0 (GCC) 
configuration: --enable-gpl --enable-version3 --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. 68.100/57. 68.100 
libavformat 57. 61.100/57. 61.100 
libavdevice 57. 2.100/57. 2.100 
libavfilter  6. 68.100/6. 68.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 'C:\Users\yb5243yv\Dropbox\Workspace - C#\SnowflakeGenerator\out\out%d.png': 
Duration: 00:00:21.04, start: 0.000000, bitrate: N/A 
Stream #0:0: Video: png, rgba(pc), 1000x1000 [SAR 3779:3779 DAR 1:1], 25 fps, 25 tbr, 25 tbn, 25 tbc 
[libvpx @ 0000000000be89c0] v1.6.0 
[libvpx @ 0000000000be89c0] Transparency encoding with auto_alt_ref does not work 
Stream mapping: 
Stream #0:0 -> #0:0 (png (native) -> vp8 (libvpx)) 
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height 

오류는 다음과 같습니다

[libvpx @ 0000000000be89c0] Transparency encoding with auto_alt_ref does not work 

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

정확히 무엇이 문제의 원인인지 확신 할 수 없지만 오류를 언급하지 않았지만 this tutorial을 따라갔습니다. 나는 오디오를 사용하지 않는다는 것을 언급해야한다. 그래서 나는 오디오 인코더를 나갔다. (오디오 인코더로 시도해 보았다. 문제가 아니었다.)

+0

이유가 될 수있는'c : \ '대신'C# \'두 번 썼습니다. – rekire

+0

C#은 폴더 이름의 일부입니다 – doominabox1

+0

이런 경우에는 절대로 신경 쓰지 마십시오! – rekire

답변

10

오류 메시지와 마찬가지로, Transparency encoding with auto_alt_ref does not work, 그래서

ffmpeg.exe -i "out%d.png" -c:v libvpx -b:v 1M -auto-alt-ref 0 "video.webm" -y 
+0

: | 예, 그렇습니다. 감사 – doominabox1