Skip to content

Instantly share code, notes, and snippets.

Created November 20, 2012 15:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/77b747bce11a014dc04c to your computer and use it in GitHub Desktop.
Save anonymous/77b747bce11a014dc04c to your computer and use it in GitHub Desktop.
$ /opt/local/bin/ffmpeg -r 10 -i ./test%07d.png -b 600k -vcodec libx264 -threads 4 -preset ultrafast -profile high422 -y movie2.mp4
ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers
built on Nov 4 2012 17:51:00 with gcc 4.2.1 (GCC) (Apple Inc. build 5666) (dot 3)
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/gcc-4.2 --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
[image2 @ 0x102047600] max_analyze_duration 5000000 reached at 5000000
Input #0, image2, from './test%07d.png':
Duration: 00:00:45.80, start: 0.000000, bitrate: N/A
Stream #0:0: Video: png, rgb24, 1200x1200, 25 fps, 25 tbr, 25 tbn, 25 tbc
Please use -b:a or -b:v, -b is ambiguous
Please use -profile:a or -profile:v, -profile is ambiguous
x264 [error]: high422 profile doesn't support 4:4:4
[libx264 @ 0x102009e00] Error setting profile high422.
[libx264 @ 0x102009e00] Possible profiles: baseline main high high10 high422 high444
Output #0, mp4, to 'movie2.mp4':
Stream #0:0: Video: h264, yuv444p, 1200x1200, q=-1--1, 600 kb/s, 90k tbn, 10 tbc
Stream mapping:
Stream #0:0 -> #0:0 (png -> libx264)
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment