[FFmpeg-user] ffmpeg issues on Inmotionhosting VPS
hopii at interia.pl
hopii at interia.pl
Mon Oct 28 18:24:00 CET 2013
Hi,
I'm new to this group as after exchanging emails with Inmotionhosting support for about a month, I don't already know where to get any advice
or support.
I'm working on a website where one of the features, I want to provide to users, is upload short video and audio files.
During upload I'd like to use ffmpeg from PHP to convert input video to 3 cross browser output formats: ogv, webm, mp4 and audio to oga, m4a.
Currenlty, after a month, ffmpeg support provides is still nof fully functional for me from PHP and Inmotion states that the problem is with
ffmpeg command/coding.
>From my site I've tested all commands on my laptop (Fedora) with static ffmpeg, and have no issues at all.
In my local environment same commands and static ffmpeg work fine from command line, as well as from PHP.
Now, on Inmotion VPS server, static ffmpeg works fine from command line, but from PHP I get the following:
(more details are at the end of this email)
1. using static ffmpeg, conversion to mp4 from php:
if audio codec is copied then conversion goes through, but if any audio codec is used for output then it results wit the following errors:
command:
exec("./ffmpeg -i ./vinput.mp4 -c:v libx264 -s:v 320x240 -threads 4 -b:v 345k -crf 23 -c:a libvo_aacenc -q:a 100 ./out.mp4 2>&1", $output) ;
result:
[149]=> string(37) "[aac @ 0x2a596a0] get_buffer() failed" [150]=> string(56) "Error while decoding stream #0:1: Cannot allocate memory" [151]=> string(45) "Audio encoding failed (avcodec_encode_audio2)" [152]=> string(44) "[h264 @ 0x367e4c0] decode_slice_header error" [153]=> string(67)
"[h264 @ 0x367e4c0] concealing 88 DC, 88 AC, 88 MV errors in B frame" }
Now, using the compiled ffmpeg provided by Inmotionhosting, the same commands give the following errors
1. converstion to webm from command line:
command:
/usr/bin/ffmpeg -i ./vinput.mp4 -vcodec libvpx -b:v 345k -s:v 320x240 -c:a libvorbis -ac 2 -ab 96k -ar 22050 ./out.webm
result:
error: [libvpx @ 0x6804a0] Failed to initialize encoder: ABI version mismatch
2. conversion to mp4 from command line works fine but from PHP gives the error:
command:
exec("./ffmpeg -i ./vinput.mp4 -c:v libx264 -s:v 320x240 -threads 4 -b:v 345k -crf 23 -c:a libvo_aacenc -q:a 100 ./out.mp4 2>&1", $output) ;
result:
[170]=> string(59) "[h264 @ 0x2cb65a0] illegal short term buffer state detected" [171]=> string(57) "Error while decoding
stream #0:0: Operation not permitted" [172]=> string(42) "x264 [error]: malloc of size 164864 failed" [173]=> string(34) "
Last message repeated 13 times" [174]=> string(21) "Video encoding failed" }
I'm not an expert and in result don't already know what to do, and where the problem may be, on my or hosting site?
If anybody can provide any help, i'd be highly appreciated.
Thank you in advance,
Dariusz W.
More details:
VPS server CentOS release 6.4 (Final)
ffmpeg static version N-55937-g93cf7b0
Full ffmpeg converstion outputs from PHP:
static ffmpeg, conversion to mp4 on VPS:
array(154) { [0]=> string(77) "ffmpeg version N-55756-g626739e Copyright (c) 2000-2013 the FFmpeg developers" [1]=> string(61) " built on Aug 25 2013 05:38:01 with gcc 4.6 (Debian 4.6.3-1)" [2]=> string(609) " configuration: --prefix=/root/ffmpeg-static/64bit --extra-cflags='-I/root/ffmpeg-static/64bit/include -static' --extra-ldflags='-L/root/ffmpeg-static/64bit/lib -static' --extra-libs='-lxml2 -lexpat -lfreetype' --enable-static --disable-shared --disable-ffserver --disable-doc --enable-bzlib --enable-zlib --enable-postproc --enable-runtime-cpudetect --enable-libx264 --enable-gpl --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-gray --enable-libass --enable-libfreetype --enable-libopenjpeg --enable-libspeex --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-version3 --enable-libvpx" [3]=> string(40) " libavutil 52. 42.100 / 52. 42.100" [4]=> string(40) " libavcodec 55. 29.100 / 55. 29.100" [5]=> string(40) " libavformat 55. 14.102 / 55. 14.102" [6]=> string(40) " libavdevice 55. 3.100 / 55. 3.100" [7]=> string(40) " libavfilter 3. 82.102 / 3. 82.102" [8]=> string(40) " libswscale 2. 5.100 / 2. 5.100" [9]=> string(40) " libswresample 0. 17.103 / 0. 17.103" [10]=> string(40) " libpostproc 52. 3.100 / 52. 3.100" [11]=> string(55) "Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './vinput.mp4':" [12]=> string(11) " Metadata:" [13]=> string(26) " major_brand : isom" [14]=> string(23) " minor_version : 1" [15]=> string(31) " compatible_brands: isomavc1" [16]=> string(41) " creation_time : 2009-05-27 18:38:20" [17]=> string(58) " Duration: 00:00:36.88, start: 0.000000, bitrate: 92 kb/s" [18]=> string(149) " Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 66 kb/s, 24 fps, 24 tbr, 24k tbn, 48 tbc (default)" [19]=> string(13) " Metadata:" [20]=> string(43) " creation_time : 2009-05-27 18:38:20" [21]=> string(46) " handler_name : GPAC ISO Video Handler" [22]=> string(93) " Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 22050 Hz, mono, fltp, 22 kb/s (default)" [23]=> string(13) " Metadata:" [24]=> string(43) " creation_time : 2009-05-27 18:38:20" [25]=> string(46) " handler_name : GPAC ISO Audio Handler" [26]=> string(31) "Output #0, ogg, to './out.ogv':" [27]=> string(11) " Metadata:" [28]=> string(26) " major_brand : isom" [29]=> string(23) " minor_version : 1" [30]=> string(31) " compatible_brands: isomavc1" [31]=> string(35) " encoder : Lavf55.14.102" [32]=> string(130) " Stream #0:0(und): Video: theora (libtheora), yuv420p, 320x240 [SAR 11:12 DAR 11:9], q=2-31, 345 kb/s, 24 tbn, 24 tbc (default)" [33]=> string(13) " Metadata:" [34]=> string(43) " creation_time : 2009-05-27 18:38:20" [35]=> string(46) " handler_name : GPAC ISO Video Handler" [36]=> string(28) " major_brand : isom" [37]=> string(25) " minor_version : 1" [38]=> string(33) " compatible_brands: isomavc1" [39]=> string(37) " encoder : Lavf55.14.102" [40]=> string(90) " Stream #0:1(und): Audio: vorbis (libvorbis), 22050 Hz, stereo, fltp, 96 kb/s (default)" [41]=> string(13) " Metadata:" [42]=> string(43) " creation_time : 2009-05-27 18:38:20" [43]=> string(46) " handler_name : GPAC ISO Audio Handler" [44]=> string(28) " major_brand : isom" [45]=> string(25) " minor_version : 1" [46]=> string(33) " compatible_brands: isomavc1" [47]=> string(37) " encoder : Lavf55.14.102" [48]=> string(15) "Stream mapping:" [49]=> string(41) " Stream #0:0 -> #0:0 (h264 -> libtheora)" [50]=> string(40) " Stream #0:1 -> #0:1 (aac -> libvorbis)" [51]=> string(31) "Press [q] to stop, [?] for help" [52]=> string(1172) "frame= 77 fps=0.0 q=0.0 size= 159kB time=00:00:03.24 bitrate= 400.7kbits/s dup=2 drop=0 frame= 152 fps=151 q=0.0 size= 255kB time=00:00:06.33 bitrate= 329.8kbits/s dup=2 drop=0 frame= 228 fps=151 q=0.0 size= 468kB time=00:00:09.50 bitrate= 403.8kbits/s dup=2 drop=0 frame= 303 fps=151 q=0.0 size= 616kB time=00:00:12.62 bitrate= 399.6kbits/s dup=2 drop=0 frame= 381 fps=152 q=0.0 size= 777kB time=00:00:15.87 bitrate= 401.0kbits/s dup=2 drop=0 frame= 456 fps=151 q=0.0 size= 892kB time=00:00:19.00 bitrate= 384.4kbits/s dup=2 drop=0 frame= 532 fps=151 q=0.0 size= 1046kB time=00:00:22.16 bitrate= 386.7kbits/s dup=2 drop=0 frame= 608 fps=151 q=0.0 size= 1209kB time=00:00:25.33 bitrate= 391.0kbits/s dup=2 drop=0 frame= 685 fps=152 q=0.0 size= 1362kB time=00:00:28.54 bitrate= 390.8kbits/s dup=2 drop=0 frame= 761 fps=151 q=0.0 size= 1495kB time=00:00:31.70 bitrate= 386.3kbits/s dup=2 drop=0 frame= 835 fps=151 q=0.0 size= 1634kB time=00:00:34.79 bitrate= 384.9kbits/s dup=2 drop=0 frame= 887 fps=152 q=0.0 Lsize= 1807kB time=00:00:36.95 bitrate= 400.5kbits/s dup=2 drop=0" [53]=> string(80) "video:1556kB audio:230kB subtitle:0 global headers:6kB muxing overhead 0.776464%" [54]=> string(77) "ffmpeg version N-55756-g626739e Copyright (c) 2000-2013 the FFmpeg developers" [55]=> string(61) " built on Aug 25 2013 05:38:01 with gcc 4.6 (Debian 4.6.3-1)" [56]=> string(609) " configuration: --prefix=/root/ffmpeg-static/64bit --extra-cflags='-I/root/ffmpeg-static/64bit/include -static' --extra-ldflags='-L/root/ffmpeg-static/64bit/lib -static' --extra-libs='-lxml2 -lexpat -lfreetype' --enable-static --disable-shared --disable-ffserver --disable-doc --enable-bzlib --enable-zlib --enable-postproc --enable-runtime-cpudetect --enable-libx264 --enable-gpl --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-gray --enable-libass --enable-libfreetype --enable-libopenjpeg --enable-libspeex --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-version3 --enable-libvpx" [57]=> string(40) " libavutil 52. 42.100 / 52. 42.100" [58]=> string(40) " libavcodec 55. 29.100 / 55. 29.100" [59]=> string(40) " libavformat 55. 14.102 / 55. 14.102" [60]=> string(40) " libavdevice 55. 3.100 / 55. 3.100" [61]=> string(40) " libavfilter 3. 82.102 / 3. 82.102" [62]=> string(40) " libswscale 2. 5.100 / 2. 5.100" [63]=> string(40) " libswresample 0. 17.103 / 0. 17.103" [64]=> string(40) " libpostproc 52. 3.100 / 52. 3.100" [65]=> string(55) "Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './vinput.mp4':" [66]=> string(11) " Metadata:" [67]=> string(26) " major_brand : isom" [68]=> string(23) " minor_version : 1" [69]=> string(31) " compatible_brands: isomavc1" [70]=> string(41) " creation_time : 2009-05-27 18:38:20" [71]=> string(58) " Duration: 00:00:36.88, start: 0.000000, bitrate: 92 kb/s" [72]=> string(149) " Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 66 kb/s, 24 fps, 24 tbr, 24k tbn, 48 tbc (default)" [73]=> string(13) " Metadata:" [74]=> string(43) " creation_time : 2009-05-27 18:38:20" [75]=> string(46) " handler_name : GPAC ISO Video Handler" [76]=> string(93) " Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 22050 Hz, mono, fltp, 22 kb/s (default)" [77]=> string(13) " Metadata:" [78]=> string(43) " creation_time : 2009-05-27 18:38:20" [79]=> string(46) " handler_name : GPAC ISO Audio Handler" [80]=> string(27) "[libvpx @ 0x3cc97e0] v1.0.0" [81]=> string(33) "Output #0, webm, to './out.webm':" [82]=> string(11) " Metadata:" [83]=> string(26) " major_brand : isom" [84]=> string(23) " minor_version : 1" [85]=> string(31) " compatible_brands: isomavc1" [86]=> string(35) " encoder : Lavf55.14.102" [87]=> string(125) " Stream #0:0(und): Video: vp8 (libvpx), yuv420p, 320x240 [SAR 11:12 DAR 11:9], q=-1--1, 345 kb/s, 1k tbn, 24 tbc (default)" [88]=> string(13) " Metadata:" [89]=> string(43) " creation_time : 2009-05-27 18:38:20" [90]=> string(46) " handler_name : GPAC ISO Video Handler" [91]=> string(90) " Stream #0:1(und): Audio: vorbis (libvorbis), 22050 Hz, stereo, fltp, 96 kb/s (default)" [92]=> string(13) " Metadata:" [93]=> string(43) " creation_time : 2009-05-27 18:38:20" [94]=> string(46) " handler_name : GPAC ISO Audio Handler" [95]=> string(15) "Stream mapping:" [96]=> string(38) " Stream #0:0 -> #0:0 (h264 -> libvpx)" [97]=> string(40) " Stream #0:1 -> #0:1 (aac -> libvorbis)" [98]=> string(31) "Press [q] to stop, [?] for help" [99]=> string(1269) "frame= 95 fps=0.0 q=0.0 size= 158kB time=00:00:04.17 bitrate= 310.5kbits/s frame= 140 fps=139 q=0.0 size= 255kB time=00:00:05.84 bitrate= 357.4kbits/s frame= 194 fps=128 q=0.0 size= 363kB time=00:00:07.89 bitrate= 376.6kbits/s frame= 262 fps=130 q=0.0 size= 506kB time=00:00:10.67 bitrate= 388.0kbits/s frame= 320 fps=127 q=0.0 size= 642kB time=00:00:12.92 bitrate= 407.0kbits/s frame= 385 fps=128 q=0.0 size= 772kB time=00:00:15.65 bitrate= 403.7kbits/s frame= 442 fps=126 q=0.0 size= 887kB time=00:00:18.11 bitrate= 401.1kbits/s frame= 506 fps=126 q=0.0 size= 1013kB time=00:00:20.72 bitrate= 400.5kbits/s frame= 577 fps=128 q=0.0 size= 1160kB time=00:00:23.68 bitrate= 401.3kbits/s frame= 635 fps=126 q=0.0 size= 1287kB time=00:00:26.14 bitrate= 403.3kbits/s frame= 695 fps=125 q=0.0 size= 1430kB time=00:00:28.64 bitrate= 409.0kbits/s frame= 748 fps=124 q=0.0 size= 1545kB time=00:00:30.76 bitrate= 411.5kbits/s frame= 806 fps=123 q=0.0 size= 1674kB time=00:00:33.21 bitrate= 412.9kbits/s frame= 885 fps=125 q=0.0 size= 1788kB time=-577014:-32:-22.-77 bitrate=N/A frame= 885 fps=123 q=0.0 Lsize= 1814kB time=00:00:36.95 bitrate= 402.1kbits/s" [100]=> string(80) "video:1559kB audio:230kB subtitle:0 global headers:3kB muxing overhead 1.245688%" [101]=> string(77) "ffmpeg version N-55756-g626739e Copyright (c) 2000-2013 the FFmpeg developers" [102]=> string(61) " built on Aug 25 2013 05:38:01 with gcc 4.6 (Debian 4.6.3-1)" [103]=> string(609) " configuration: --prefix=/root/ffmpeg-static/64bit --extra-cflags='-I/root/ffmpeg-static/64bit/include -static' --extra-ldflags='-L/root/ffmpeg-static/64bit/lib -static' --extra-libs='-lxml2 -lexpat -lfreetype' --enable-static --disable-shared --disable-ffserver --disable-doc --enable-bzlib --enable-zlib --enable-postproc --enable-runtime-cpudetect --enable-libx264 --enable-gpl --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-gray --enable-libass --enable-libfreetype --enable-libopenjpeg --enable-libspeex --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-version3 --enable-libvpx" [104]=> string(40) " libavutil 52. 42.100 / 52. 42.100" [105]=> string(40) " libavcodec 55. 29.100 / 55. 29.100" [106]=> string(40) " libavformat 55. 14.102 / 55. 14.102" [107]=> string(40) " libavdevice 55. 3.100 / 55. 3.100" [108]=> string(40) " libavfilter 3. 82.102 / 3. 82.102" [109]=> string(40) " libswscale 2. 5.100 / 2. 5.100" [110]=> string(40) " libswresample 0. 17.103 / 0. 17.103" [111]=> string(40) " libpostproc 52. 3.100 / 52. 3.100" [112]=> string(55) "Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './vinput.mp4':" [113]=> string(11) " Metadata:" [114]=> string(26) " major_brand : isom" [115]=> string(23) " minor_version : 1" [116]=> string(31) " compatible_brands: isomavc1" [117]=> string(41) " creation_time : 2009-05-27 18:38:20" [118]=> string(58) " Duration: 00:00:36.88, start: 0.000000, bitrate: 92 kb/s" [119]=> string(149) " Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 66 kb/s, 24 fps, 24 tbr, 24k tbn, 48 tbc (default)" [120]=> string(13) " Metadata:" [121]=> string(43) " creation_time : 2009-05-27 18:38:20" [122]=> string(46) " handler_name : GPAC ISO Video Handler" [123]=> string(93) " Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 22050 Hz, mono, fltp, 22 kb/s (default)" [124]=> string(13) " Metadata:" [125]=> string(43) " creation_time : 2009-05-27 18:38:20" [126]=> string(46) " handler_name : GPAC ISO Audio Handler" [127]=> string(37) "[libx264 @ 0x2a5baa0] using SAR=11/12" [128]=> string(88) "[libx264 @ 0x2a5baa0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX" [129]=> string(45) "[libx264 @ 0x2a5baa0] profile High, level 1.3" [130]=> string(684) "[libx264 @ 0x2a5baa0] 264 - core 129 r2230 1cffe9f - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=4 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=24 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00" [131]=> string(31) "Output #0, mp4, to './out.mp4':" [132]=> string(11) " Metadata:" [133]=> string(26) " major_brand : isom" [134]=> string(23) " minor_version : 1" [135]=> string(31) " compatible_brands: isomavc1" [136]=> string(35) " encoder : Lavf55.14.102" [137]=> string(155) " Stream #0:0(und): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 320x240 [SAR 11:12 DAR 11:9], q=-1--1, 345 kb/s, 12288 tbn, 24 tbc (default)" [138]=> string(13) " Metadata:" [139]=> string(43) " creation_time : 2009-05-27 18:38:20" [140]=> string(46) " handler_name : GPAC ISO Video Handler" [141]=> string(112) " Stream #0:1(und): Audio: aac (libvo_aacenc) ([64][0][0][0] / 0x0040), 22050 Hz, mono, s16, 40 kb/s (default)" [142]=> string(13) " Metadata:" [143]=> string(43) " creation_time : 2009-05-27 18:38:20" [144]=> string(46) " handler_name : GPAC ISO Audio Handler" [145]=> string(15) "Stream mapping:" [146]=> string(39) " Stream #0:0 -> #0:0 (h264 -> libx264)" [147]=> string(43) " Stream #0:1 -> #0:1 (aac -> libvo_aacenc)" [148]=> string(31) "Press [q] to stop, [?] for help" [149]=> string(37) "[aac @ 0x2a596a0] get_buffer() failed" [150]=> string(56) "Error while decoding stream #0:1: Cannot allocate memory" [151]=> string(45) "Audio encoding failed (avcodec_encode_audio2)" [152]=> string(44) "[h264 @ 0x367e4c0] decode_slice_header error" [153]=> string(67) "[h264 @ 0x367e4c0] concealing 88 DC, 88 AC, 88 MV errors in B frame" }
compiled ffmpeg, conversion to mp4 from php on VPS:
array(175) { [0]=> string(66) "ffmpeg version 1.2.4 Copyright (c) 2000-2013 the FFmpeg developers" [1]=> string(79) " built on Oct 24 2013 18:02:25 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-3)" [2]=> string(724) " configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-libdc1394 --enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab --enable-libvorbis --enable-libvpx --enable-libmp3lame" [3]=> string(40) " libavutil 52. 18.100 / 52. 18.100" [4]=> string(40) " libavcodec 54. 92.100 / 54. 92.100" [5]=> string(40) " libavformat 54. 63.104 / 54. 63.104" [6]=> string(40) " libavdevice 54. 3.103 / 54. 3.103" [7]=> string(40) " libavfilter 3. 42.103 / 3. 42.103" [8]=> string(40) " libswscale 2. 2.100 / 2. 2.100" [9]=> string(40) " libswresample 0. 17.102 / 0. 17.102" [10]=> string(40) " libpostproc 52. 2.100 / 52. 2.100" [11]=> string(55) "Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './vinput.mp4':" [12]=> string(11) " Metadata:" [13]=> string(26) " major_brand : isom" [14]=> string(23) " minor_version : 1" [15]=> string(31) " compatible_brands: isomavc1" [16]=> string(41) " creation_time : 2009-05-27 18:38:20" [17]=> string(58) " Duration: 00:00:36.88, start: 0.000000, bitrate: 92 kb/s" [18]=> string(139) " Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 66 kb/s, 24 fps, 24 tbr, 24k tbn, 48 tbc" [19]=> string(13) " Metadata:" [20]=> string(43) " creation_time : 2009-05-27 18:38:20" [21]=> string(46) " handler_name : GPAC ISO Video Handler" [22]=> string(83) " Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 22050 Hz, mono, fltp, 22 kb/s" [23]=> string(13) " Metadata:" [24]=> string(43) " creation_time : 2009-05-27 18:38:20" [25]=> string(46) " handler_name : GPAC ISO Audio Handler" [26]=> string(31) "Output #0, ogg, to './out.ogv':" [27]=> string(11) " Metadata:" [28]=> string(26) " major_brand : isom" [29]=> string(23) " minor_version : 1" [30]=> string(31) " compatible_brands: isomavc1" [31]=> string(35) " encoder : Lavf54.63.104" [32]=> string(108) " Stream #0:0(und): Video: theora, yuv420p, 320x240 [SAR 11:12 DAR 11:9], q=2-31, 345 kb/s, 24 tbn, 24 tbc" [33]=> string(13) " Metadata:" [34]=> string(43) " creation_time : 2009-05-27 18:38:20" [35]=> string(46) " handler_name : GPAC ISO Video Handler" [36]=> string(68) " Stream #0:1(und): Audio: vorbis, 22050 Hz, stereo, fltp, 96 kb/s" [37]=> string(13) " Metadata:" [38]=> string(43) " creation_time : 2009-05-27 18:38:20" [39]=> string(46) " handler_name : GPAC ISO Audio Handler" [40]=> string(15) "Stream mapping:" [41]=> string(41) " Stream #0:0 -> #0:0 (h264 -> libtheora)" [42]=> string(40) " Stream #0:1 -> #0:1 (aac -> libvorbis)" [43]=> string(31) "Press [q] to stop, [?] for help" [44]=> string(57) "Error while decoding stream #0:0: Operation not permitted" [45]=> string(34) " Last message repeated 77 times" [46]=> string(139) "frame= 98 fps=0.0 q=0.0 size= 44kB time=00:00:04.17 bitrate= 86.7kbits/s dup=81 drop=0 illegal short term buffer state detected" [47]=> string(57) "Error while decoding stream #0:0: Operation not permitted" [48]=> string(34) " Last message repeated 75 times" [49]=> string(157) "frame= 179 fps=171 q=0.0 size= 238kB time=00:00:07.89 bitrate= 246.5kbits/s dup=147 drop=0 Error while decoding stream #0:0: Operation not permitted" [50]=> string(33) " Last message repeated 1 times" [51]=> string(58) "[h264 @ 0xb2d3c0] illegal short term buffer state detected" [52]=> string(57) "Error while decoding stream #0:0: Operation not permitted" [53]=> string(34) " Last message repeated 64 times" [54]=> string(157) "frame= 273 fps=174 q=0.0 size= 374kB time=00:00:11.37 bitrate= 269.5kbits/s dup=227 drop=0 Error while decoding stream #0:0: Operation not permitted" [55]=> string(34) " Last message repeated 77 times" [56]=> string(157) "frame= 370 fps=173 q=0.0 size= 544kB time=00:00:15.41 bitrate= 289.1kbits/s dup=308 drop=0 Error while decoding stream #0:0: Operation not permitted" [57]=> string(34) " Last message repeated 38 times" [58]=> string(58) "[h264 @ 0xac9600] illegal short term buffer state detected" [59]=> string(57) "Error while decoding stream #0:0: Operation not permitted" [60]=> string(34) " Last message repeated 38 times" [61]=> string(157) "frame= 465 fps=172 q=0.0 size= 757kB time=00:00:19.37 bitrate= 320.0kbits/s dup=386 drop=0 Error while decoding stream #0:0: Operation not permitted" [62]=> string(34) " Last message repeated 77 times" [63]=> string(157) "frame= 561 fps=172 q=0.0 size= 912kB time=00:00:23.37 bitrate= 319.7kbits/s dup=464 drop=0 Error while decoding stream #0:0: Operation not permitted" [64]=> string(34) " Last message repeated 71 times" [65]=> string(157) "frame= 643 fps=171 q=0.0 size= 1112kB time=00:00:26.79 bitrate= 340.1kbits/s dup=529 drop=0 Error while decoding stream #0:0: Operation not permitted" [66]=> string(34) " Last message repeated 18 times" [67]=> string(58) "[h264 @ 0xac9600] illegal short term buffer state detected" [68]=> string(57) "Error while decoding stream #0:0: Operation not permitted" [69]=> string(34) " Last message repeated 51 times" [70]=> string(157) "frame= 737 fps=170 q=0.0 size= 1295kB time=00:00:30.70 bitrate= 345.6kbits/s dup=609 drop=0 Error while decoding stream #0:0: Operation not permitted" [71]=> string(34) " Last message repeated 64 times" [72]=> string(58) "[h264 @ 0xac9600] illegal short term buffer state detected" [73]=> string(157) "frame= 819 fps=169 q=0.0 size= 1483kB time=00:00:34.12 bitrate= 356.1kbits/s dup=675 drop=0 Error while decoding stream #0:0: Operation not permitted" [74]=> string(34) " Last message repeated 41 times" [75]=> string(96) "frame= 887 fps=170 q=0.0 Lsize= 1586kB time=00:00:36.95 bitrate= 351.5kbits/s dup=731 drop=0" [76]=> string(80) "video:1329kB audio:237kB subtitle:0 global headers:6kB muxing overhead 0.843686%" [77]=> string(66) "ffmpeg version 1.2.4 Copyright (c) 2000-2013 the FFmpeg developers" [78]=> string(79) " built on Oct 24 2013 18:02:25 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-3)" [79]=> string(724) " configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-libdc1394 --enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab --enable-libvorbis --enable-libvpx --enable-libmp3lame" [80]=> string(40) " libavutil 52. 18.100 / 52. 18.100" [81]=> string(40) " libavcodec 54. 92.100 / 54. 92.100" [82]=> string(40) " libavformat 54. 63.104 / 54. 63.104" [83]=> string(40) " libavdevice 54. 3.103 / 54. 3.103" [84]=> string(40) " libavfilter 3. 42.103 / 3. 42.103" [85]=> string(40) " libswscale 2. 2.100 / 2. 2.100" [86]=> string(40) " libswresample 0. 17.102 / 0. 17.102" [87]=> string(40) " libpostproc 52. 2.100 / 52. 2.100" [88]=> string(55) "Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './vinput.mp4':" [89]=> string(11) " Metadata:" [90]=> string(26) " major_brand : isom" [91]=> string(23) " minor_version : 1" [92]=> string(31) " compatible_brands: isomavc1" [93]=> string(41) " creation_time : 2009-05-27 18:38:20" [94]=> string(58) " Duration: 00:00:36.88, start: 0.000000, bitrate: 92 kb/s" [95]=> string(139) " Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 66 kb/s, 24 fps, 24 tbr, 24k tbn, 48 tbc" [96]=> string(13) " Metadata:" [97]=> string(43) " creation_time : 2009-05-27 18:38:20" [98]=> string(46) " handler_name : GPAC ISO Video Handler" [99]=> string(83) " Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 22050 Hz, mono, fltp, 22 kb/s" [100]=> string(13) " Metadata:" [101]=> string(43) " creation_time : 2009-05-27 18:38:20" [102]=> string(46) " handler_name : GPAC ISO Audio Handler" [103]=> string(27) "[libvpx @ 0x1bdf9a0] v0.9.0" [104]=> string(71) "[libvpx @ 0x1bdf9a0] Failed to initialize encoder: ABI version mismatch" [105]=> string(33) "Output #0, webm, to './out.webm':" [106]=> string(11) " Metadata:" [107]=> string(26) " major_brand : isom" [108]=> string(23) " minor_version : 1" [109]=> string(31) " compatible_brands: isomavc1" [110]=> string(107) " Stream #0:0(und): Video: vp8, yuv420p, 320x240 [SAR 11:12 DAR 11:9], q=-1--1, 345 kb/s, 90k tbn, 24 tbc" [111]=> string(13) " Metadata:" [112]=> string(43) " creation_time : 2009-05-27 18:38:20" [113]=> string(46) " handler_name : GPAC ISO Video Handler" [114]=> string(57) " Stream #0:1(und): Audio: none, 22050 Hz, stereo, fltp" [115]=> string(13) " Metadata:" [116]=> string(43) " creation_time : 2009-05-27 18:38:20" [117]=> string(46) " handler_name : GPAC ISO Audio Handler" [118]=> string(15) "Stream mapping:" [119]=> string(38) " Stream #0:0 -> #0:0 (h264 -> libvpx)" [120]=> string(40) " Stream #0:1 -> #0:1 (aac -> libvorbis)" [121]=> string(119) "Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height" [122]=> string(66) "ffmpeg version 1.2.4 Copyright (c) 2000-2013 the FFmpeg developers" [123]=> string(79) " built on Oct 24 2013 18:02:25 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-3)" [124]=> string(724) " configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-libdc1394 --enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab --enable-libvorbis --enable-libvpx --enable-libmp3lame" [125]=> string(40) " libavutil 52. 18.100 / 52. 18.100" [126]=> string(40) " libavcodec 54. 92.100 / 54. 92.100" [127]=> string(40) " libavformat 54. 63.104 / 54. 63.104" [128]=> string(40) " libavdevice 54. 3.103 / 54. 3.103" [129]=> string(40) " libavfilter 3. 42.103 / 3. 42.103" [130]=> string(40) " libswscale 2. 2.100 / 2. 2.100" [131]=> string(40) " libswresample 0. 17.102 / 0. 17.102" [132]=> string(40) " libpostproc 52. 2.100 / 52. 2.100" [133]=> string(55) "Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './vinput.mp4':" [134]=> string(11) " Metadata:" [135]=> string(26) " major_brand : isom" [136]=> string(23) " minor_version : 1" [137]=> string(31) " compatible_brands: isomavc1" [138]=> string(41) " creation_time : 2009-05-27 18:38:20" [139]=> string(58) " Duration: 00:00:36.88, start: 0.000000, bitrate: 92 kb/s" [140]=> string(139) " Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 352x288 [SAR 1:1 DAR 11:9], 66 kb/s, 24 fps, 24 tbr, 24k tbn, 48 tbc" [141]=> string(13) " Metadata:" [142]=> string(43) " creation_time : 2009-05-27 18:38:20" [143]=> string(46) " handler_name : GPAC ISO Video Handler" [144]=> string(83) " Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 22050 Hz, mono, fltp, 22 kb/s" [145]=> string(13) " Metadata:" [146]=> string(43) " creation_time : 2009-05-27 18:38:20" [147]=> string(46) " handler_name : GPAC ISO Audio Handler" [148]=> string(37) "[libx264 @ 0x24bba60] using SAR=11/12" [149]=> string(51) "[libx264 @ 0x24bba60] using cpu capabilities: none!" [150]=> string(45) "[libx264 @ 0x24bba60] profile High, level 1.3" [151]=> string(664) "[libx264 @ 0x24bba60] 264 - core 120 r2151 a3f4407 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=4 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=24 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00" [152]=> string(31) "Output #0, mp4, to './out.mp4':" [153]=> string(11) " Metadata:" [154]=> string(26) " major_brand : isom" [155]=> string(23) " minor_version : 1" [156]=> string(31) " compatible_brands: isomavc1" [157]=> string(35) " encoder : Lavf54.63.104" [158]=> string(135) " Stream #0:0(und): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 320x240 [SAR 11:12 DAR 11:9], q=-1--1, 345 kb/s, 12288 tbn, 24 tbc" [159]=> string(13) " Metadata:" [160]=> string(43) " creation_time : 2009-05-27 18:38:20" [161]=> string(46) " handler_name : GPAC ISO Video Handler" [162]=> string(88) " Stream #0:1(und): Audio: aac ([64][0][0][0] / 0x0040), 22050 Hz, mono, s16, 128 kb/s" [163]=> string(13) " Metadata:" [164]=> string(43) " creation_time : 2009-05-27 18:38:20" [165]=> string(46) " handler_name : GPAC ISO Audio Handler" [166]=> string(15) "Stream mapping:" [167]=> string(39) " Stream #0:0 -> #0:0 (h264 -> libx264)" [168]=> string(38) " Stream #0:1 -> #0:1 (aac -> libfaac)" [169]=> string(31) "Press [q] to stop, [?] for help" [170]=> string(59) "[h264 @ 0x2cb65a0] illegal short term buffer state detected" [171]=> string(57) "Error while decoding stream #0:0: Operation not permitted" [172]=> string(42) "x264 [error]: malloc of size 164864 failed" [173]=> string(34) " Last message repeated 13 times" [174]=> string(21) "Video encoding failed" }
More information about the ffmpeg-user
mailing list