$cwd4 = ' '.$ffmpeg.' -i '.$original_video.' -i '.getcwd().'/uploads/video/708209935.mp4 -filter_complex "[0:v][1:v]overlay=x="if(gte(t,1), max(0, w - (t-1)*480), NAN)":y=0" -y '.$outputVideo.'';
exec("$cwd4 2>&1",$out4);
请教下哪里出错了~~~@大师兄
报错如下:
[0] => ffmpeg version N-87257-g8e17cd2 Copyright (c) 2000-2017 the FFmpeg developers
[1] => built with gcc 7.1.0 (GCC)
[2] => configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
[3] => libavutil 55. 74.100 / 55. 74.100
[4] => libavcodec 57.105.100 / 57.105.100
[5] => libavformat 57. 82.100 / 57. 82.100
[6] => libavdevice 57. 8.100 / 57. 8.100
[7] => libavfilter 6.105.100 / 6.105.100
[8] => libswscale 4. 7.103 / 4. 7.103
[9] => libswresample 2. 8.100 / 2. 8.100
[10] => libpostproc 54. 6.100 / 54. 6.100
[11] => Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'E:\PHPStudy\WWW\lxt.cncn.net\webapp/uploads/video/bg_move.mp4':
[12] => Metadata:
[13] => major_brand : mp42
[14] => minor_version : 1
[15] => compatible_brands: mp41mp42isom
[16] => creation_time : 2017-09-18T09:49:31.000000Z
[17] => location : +24.5055+118.1366+39.959991/
[18] => Duration: 00:00:11.70, start: 0.000000, bitrate: 23837 kb/s
[19] => Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080, 23739 kb/s, 59.91 fps, 60 tbr, 600 tbn, 1200 tbc (default)
[20] => Metadata:
[21] => rotate : 90
[22] => creation_time : 2017-09-18T09:49:32.000000Z
[23] => handler_name : Core Media Video
[24] => Side data:
[25] => displaymatrix: rotation of -90.00 degrees
[26] => Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 92 kb/s (default)
[27] => Metadata:
[28] => creation_time : 2017-09-18T09:49:32.000000Z
[29] => handler_name : Core Media Audio
[30] => Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'E:\PHPStudy\WWW\lxt.cncn.net\webapp/uploads/video/708209935.mp4':
[31] => Metadata:
[32] => major_brand : mp42
[33] => minor_version : 0
[34] => compatible_brands: mp42mp41isomavc1
[35] => creation_time : 2017-03-09T01:53:56.000000Z
[36] => Duration: 00:00:08.85, start: 0.000000, bitrate: 4749 kb/s
[37] => Stream #1:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 4494 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc (default)
[38] => Metadata:
[39] => creation_time : 2017-03-09T01:53:56.000000Z
[40] => handler_name : L-SMASH Video Handler
[41] => encoder : AVC Coding
[42] => Stream #1:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 256 kb/s (default)
[43] => Metadata:
[44] => creation_time : 2017-03-09T01:53:56.000000Z
[45] => handler_name : L-SMASH Audio Handler
[46] => [AVFilterGraph @ 000000000277aca0] No such filter: '1)'
[47] => Error initializing complex filters.
[48] => Invalid argument
|