다음 오류가 발생합니다. ffmpeg.ffmpeg : Image2 => 인코더를 여는 중 오류가 발생했습니다.
동안 오류가 출력 스트림 번호에 대한 인코더를 열고 0 : 0 - 같은 bit_rate, 속도, 폭 또는 높이와 같은 어쩌면 잘못된 매개 변수
ffmpeg -f image2 -i %05d.jpg -vcodec libx264 foo.mp4
나는 전에이 정확한 명령을 사용했습니다 확신과입니다 잘 지냈어. 이것은 내 터미널 출력입니다. 어떤 도움을 주시면 감사하겠습니다. 결과적인 폭과 높이가 2
자르기 필터로 나누어되도록
$ ffmpeg -f image2 -i %05d.jpg -vcodec libx264 foo.mp4
ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers
built on Nov 22 2012 17:59:05 with Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libspeex --enable-libfreetype --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --arch=x86_64 --enable-yasm --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid
libavutil 51. 73.101/51. 73.101
libavcodec 54. 59.100/54. 59.100
libavformat 54. 29.104/54. 29.104
libavdevice 54. 2.101/54. 2.101
libavfilter 3. 17.100/3. 17.100
libswscale 2. 1.101/2. 1.101
libswresample 0. 15.100/0. 15.100
libpostproc 52. 0.100/52. 0.100
Input #0, image2, from '%05d.jpg':
Duration: 00:00:04.44, start: 0.000000, bitrate: N/A
Stream #0:0: Video: mjpeg, yuvj420p, 1201x900 [SAR 1:1 DAR 1201:900], 25 fps, 25 tbr, 25 tbn, 25 tbc
[libx264 @ 0x7fab0881aa00] width not divisible by 2 (1201x900)
Output #0, mp4, to 'foo.mp4':
Stream #0:0: Video: h264, yuvj420p, 1201x900 [SAR 1:1 DAR 1201:900], q=-1--1, 90k tbn, 25 tbc
Stream mapping:
Stream #0:0 -> #0:0 (mjpeg -> libx264)
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height