Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ffmpeg \
- -i a1.mkv \
- -itsoffset +208 -i p1.mkv \
- -itsoffset +2025 -i p2.mkv \
- -filter_complex \
- "color=c=black:s=2092x720:d=10[black]; \
- [0:v][1:v][2:v]hstack=inputs=3[stacked]; \
- [0:a][1:a][2:a]amerge=inputs=3[outa]; \
- [black][stacked]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2[outv]" \
- -map "[outv]" -map "[outa]" -c:v libx264 -preset ultrafast -profile:v high -level 4.1 -crf 30 -c:a aac -b:a 128k -ac 2 testvideo.mp4
- ffmpeg version 3.3.6 Copyright (c) 2000-2017 the FFmpeg developers
- built with gcc 7 (GCC)
- configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' --extra-ldflags='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' --extra-cflags='-I/usr/include/nvenc ' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libcdio --enable-indev=jack --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-nvenc --enable-openal --enable-opencl --enable-opengl --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvidstab --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-libmfx --enable-runtime-cpudetect
- libavutil 55. 58.100 / 55. 58.100
- libavcodec 57. 89.100 / 57. 89.100
- libavformat 57. 71.100 / 57. 71.100
- libavdevice 57. 6.100 / 57. 6.100
- libavfilter 6. 82.100 / 6. 82.100
- libavresample 3. 5. 0 / 3. 5. 0
- libswscale 4. 6.100 / 4. 6.100
- libswresample 2. 7.100 / 2. 7.100
- libpostproc 54. 5.100 / 54. 5.100
- Input #0, matroska,webm, from 'a1.mkv':
- Metadata:
- COMPATIBLE_BRANDS: avc1isom
- MAJOR_BRAND : avc1
- MINOR_VERSION : 0
- ENCODER : Lavf57.71.100
- Duration: 01:26:28.78, start: 0.000000, bitrate: 5109 kb/s
- Stream #0:0(eng): Video: h264 (Main), yuvj420p(pc, progressive), 1280x720 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc (default)
- Metadata:
- HANDLER_NAME : Ambarella AVC
- ENCODER : Ambarella AVC encoder
- DURATION : 01:26:28.616000000
- Stream #0:1(eng): Audio: flac, 44100 Hz, mono, s32 (24 bit) (default)
- Metadata:
- HANDLER_NAME : Ambarella AAC
- ENCODER : Lavc57.89.100 flac
- DURATION : 01:26:28.676000000
- Stream #0:2(eng): Subtitle: ass (default)
- Metadata:
- HANDLER_NAME : Ambarella EXT
- ENCODER : Lavc57.89.100 ssa
- DURATION : 01:26:28.783000000
- Input #1, matroska,webm, from 'p1.mkv':
- Metadata:
- MINOR_VERSION : 512
- COMPATIBLE_BRANDS: isomiso2avc1mp41
- MAJOR_BRAND : isom
- ENCODER : Lavf57.71.100
- Duration: 00:22:09.14, start: 0.000000, bitrate: 9144 kb/s
- Stream #1:0: Video: h264 (High 4:4:4 Predictive), yuv420p(progressive), 406x720, 30 fps, 30 tbr, 1k tbn, 60 tbc (default)
- Metadata:
- HANDLER_NAME : VideoHandler
- ENCODER : Lavc57.89.100 libx264
- DURATION : 00:22:08.366000000
- Stream #1:1: Audio: flac, 44100 Hz, mono, s32 (24 bit) (default)
- Metadata:
- HANDLER_NAME : SoundHandler
- ENCODER : Lavc57.89.100 flac
- DURATION : 00:22:09.137000000
- Input #2, matroska,webm, from 'p2.mkv':
- Metadata:
- MINOR_VERSION : 512
- COMPATIBLE_BRANDS: isomiso2avc1mp41
- MAJOR_BRAND : isom
- ENCODER : Lavf57.71.100
- Duration: 00:36:39.01, start: 0.000000, bitrate: 11467 kb/s
- Stream #2:0: Video: h264 (High 4:4:4 Predictive), yuv420p(progressive), 406x720, 59.94 fps, 59.94 tbr, 1k tbn, 119.88 tbc (default)
- Metadata:
- HANDLER_NAME : VideoHandler
- ENCODER : Lavc57.89.100 libx264
- DURATION : 00:36:38.979000000
- Stream #2:1: Audio: flac, 44100 Hz, mono, s32 (24 bit) (default)
- Metadata:
- HANDLER_NAME : SoundHandler
- ENCODER : Lavc57.89.100 flac
- DURATION : 00:36:39.013000000
- File 'testvideo.mp4' already exists. Overwrite ? [y/N] y
- Stream mapping:
- Stream #0:0 (h264) -> hstack:input0
- Stream #0:1 (flac) -> amerge:in0
- Stream #1:0 (h264) -> hstack:input1
- Stream #1:1 (flac) -> amerge:in1
- Stream #2:0 (h264) -> hstack:input2
- Stream #2:1 (flac) -> amerge:in2
- overlay -> Stream #0:0 (libx264)
- amerge -> Stream #0:1 (aac)
- Press [q] to stop, [?] for help
- [Parsed_amerge_2 @ 0x555e14081200] No channel layout for input 1
- [Parsed_amerge_2 @ 0x555e14081200] Input channel layouts overlap: output layout will be determined by the number of distinct input channels
- [swscaler @ 0x555e13c39920] deprecated pixel format used, make sure you did set range correctly
- [swscaler @ 0x555e13c63280] deprecated pixel format used, make sure you did set range correctly
- [swscaler @ 0x555e13762d20] deprecated pixel format used, make sure you did set range correctly
- [libx264 @ 0x555e1351db40] using SAR=1/1
- [libx264 @ 0x555e1351db40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
- [libx264 @ 0x555e1351db40] profile Constrained Baseline, level 4.1
- [libx264 @ 0x555e1351db40] 264 - core 148 r2795 aaa9aa8 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc=crf mbtree=0 crf=30.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
- Output #0, mp4, to 'testvideo.mp4':
- Metadata:
- COMPATIBLE_BRANDS: avc1isom
- MAJOR_BRAND : avc1
- MINOR_VERSION : 0
- encoder : Lavf57.71.100
- Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 2092x720 [SAR 1:1 DAR 523:180], q=-1--1, 25 fps, 12800 tbn, 25 tbc (default)
- Metadata:
- encoder : Lavc57.89.100 libx264
- Side data:
- cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
- Stream #0:1: Audio: aac (LC) ([64][0][0][0] / 0x0040), 44100 Hz, stereo, fltp, 128 kb/s (default)
- Metadata:
- encoder : Lavc57.89.100 aac
- Error while filtering
- Failed to inject frame into filter network: Cannot allocate memory
- Error while processing the decoded data for stream #0:1
- [aac @ 0x555e134fcaa0] Qavg: 344.613
- [aac @ 0x555e134fcaa0] 2 frames left in the queue on closing
- Conversion failed!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement