![Windows의 ffmpeg에서 코덱 매개변수를 찾을 수 없습니다.](https://rvso.com/image/1330213/Windows%EC%9D%98%20ffmpeg%EC%97%90%EC%84%9C%20%EC%BD%94%EB%8D%B1%20%EB%A7%A4%EA%B0%9C%EB%B3%80%EC%88%98%EB%A5%BC%20%EC%B0%BE%EC%9D%84%20%EC%88%98%20%EC%97%86%EC%8A%B5%EB%8B%88%EB%8B%A4..png)
Windows 7에서 ffmpeg를 사용하여 wmv를 애니메이션 gif로 변환하는 동안 문제가 발생했습니다.
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\>ffmpeg -i test.wmv test.gif
ffmpeg version N-39877-g4fa706a Copyright (c) 2000-2012 the FFmpeg developers
built on Apr 16 2012 14:57:12 with gcc 4.6.3
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass
--enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable
-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libope
njpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libth
eora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --e
nable-zlib
libavutil 51. 46.100 / 51. 46.100
libavcodec 54. 14.101 / 54. 14.101
libavformat 54. 3.100 / 54. 3.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 70.100 / 2. 70.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 11.100 / 0. 11.100
libpostproc 52. 0.100 / 52. 0.100
[asf @ 0000000001f3ead0] Could not find codec parameters (Video: none (MTS2 / 0x
3253544D), 800x400, 30000 kb/s)
test.wmv: could not find codec parameters
이는 무엇을 의미하며 어떻게 해결할 수 있나요?
답변1
메시지가 구문 분석 오류인 것 같습니다. 그러나 FFmpeg 버전은 몇 달이 지났습니다. 프로젝트는 지속적으로 발전하고 있습니다. 이와 같은 버그가 발생할 수 있으므로 항상 최신 버전의 FFmpeg를 사용해 보세요.
Windows의 경우 다음과 같이 직접 컴파일해야 합니다.미디어 자동 빌드 제품군
OS X에서 FFmpeg는 다음을 통해 쉽게 설치됩니다.홈브류~을 통해
brew install ffmpeg
Linux의 경우 소스에서 컴파일하거나 다음에서 사용 가능한 정적 빌드를 사용할 수 있습니다.http://ffmpeg.org/download.html또는 Homebrew를 통해 설치
현재 Git 헤드나 최신 릴리스에서는 버그가 이미 수정되었을 가능성이 있습니다.