Created
July 26, 2012 10:38
-
-
Save dougle/3181423 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/local/bin/ffmpeg -loop 1 -threads 4 -y -i input_image.png -i input_audio.mp3 -s 1280x720 -t 5 -r 25 -vcodec libx264 -profile:v baseline -b:v 512k -acodec aac -ac 2 -ar 44100 -b:a 128k -strict experimental -f mp4 output.mp4 < /dev/null 2>&1 | |
ffmpeg version N-42605-g5784a46 Copyright (c) 2000-2012 the FFmpeg developers | |
built on Jul 18 2012 18:25:15 with gcc 4.4.5 | |
configuration: --enable-gpl --enable-version3 --disable-debug --enable-libmp3lame --enable-pthreads --enable-libx264 --enable-postproc --enable-libvorbis --enable-avfilter --enable-libvpx --enable-libvo-aacenc --enable-libtheora --enable-libfaac --enable-nonfree | |
libavutil 51. 65.100 / 51. 65.100 | |
libavcodec 54. 41.100 / 54. 41.100 | |
libavformat 54. 17.100 / 54. 17.100 | |
libavdevice 54. 1.100 / 54. 1.100 | |
libavfilter 3. 2.100 / 3. 2.100 | |
libswscale 2. 1.100 / 2. 1.100 | |
libswresample 0. 15.100 / 0. 15.100 | |
libpostproc 52. 0.100 / 52. 0.100 | |
[image2 @ 0x3182480] max_analyze_duration 5000000 reached at 5000000 | |
Input #0, image2, from 'input_image.png': | |
Duration: 00:00:00.04, start: 0.000000, bitrate: N/A | |
Stream #0:0: Video: png, rgb24, 1280x720, 25 fps, 25 tbr, 25 tbn, 25 tbc | |
[mp3 @ 0x319a640] max_analyze_duration 5000000 reached at 5015510 | |
Input #1, mp3, from 'input_audio.mp3': | |
Duration: 00:01:03.45, start: 0.000000, bitrate: 128 kb/s | |
Stream #1:0: Audio: mp3, 44100 Hz, mono, s16, 128 kb/s | |
x264 [error]: baseline profile doesn't support 4:4:4 | |
[libx264 @ 0x2a3f940] Error setting profile baseline. | |
Output #0, mp4, to 'output.mp4': | |
Stream #0:0: Video: h264, yuv444p, 1280x720, q=-1--1, 512 kb/s, 90k tbn, 25 tbc | |
Stream #0:1: Audio: none, 44100 Hz, stereo, flt, 128 kb/s | |
Stream mapping: | |
Stream #0:0 -> #0:0 (png -> libx264) | |
Stream #1:0 -> #0:1 (mp3 -> aac) | |
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