rendered paste body./ffmpeg -i bbb.mov -map 0:v:0 -filter_complex "amovie=loop1.aac:loop=0[loop],[0:a][loop]amerge=inputs=2,pan=stereo|c0<c0+c2|c1<c1+c3[aout]" -map [aout] -shortest -t 15 -y -s 360x200 atest5.mp4
ffmpeg version 2.7.2 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.8.3 (GCC) 20140911 (Red Hat 4.8.3-9)
configuration: --prefix=/tools --extra-cflags=-I/tools/include --extra-ldflags=-L/tools/lib --pkg-config-flags=--static --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libvpx --enable-libx264 --enable-libx265
libavutil 54. 27.100 / 54. 27.100
libavcodec 56. 41.100 / 56. 41.100
libavformat 56. 36.100 / 56. 36.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 16.101 / 5. 16.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.100 / 1. 2.100
libpostproc 53. 3.100 / 53. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'bbb.mov':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf56.36.100
Duration: 00:09:56.52, start: 0.042667, bitrate: 5291 kb/s
Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720, 5146 kb/s, 24 fps, 24 tbr, 19200 tbn, 38400 tbc (default)
Metadata:
handler_name : DataHandler
encoder : H.264
timecode : 00:00:00:00
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 139 kb/s (default)
Metadata:
handler_name : DataHandler
Stream #0:2(eng): Data: none (tmcd / 0x64636D74)
Metadata:
handler_name : DataHandler
timecode : 00:00:00:00
[aac @ 0x29e3d60] Estimating duration from bitrate, this may be inaccurate
[Parsed_amerge_1 @ 0x2a36600] No channel layout for input 1
[Parsed_amerge_1 @ 0x2a36600] Input channel layouts overlap: output layout will be determined by the number of distinct input channels
[libx264 @ 0x2a1ef00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x2a1ef00] profile High, level 1.3
[libx264 @ 0x2a1ef00] 264 - core 148 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - 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=1 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
Output #0, mp4, to 'atest5.mp4':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf56.36.100
Stream #0:0(eng): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 360x200, q=-1--1, 24 fps, 12288 tbn, 24 tbc (default)
Metadata:
handler_name : DataHandler
timecode : 00:00:00:00
encoder : Lavc56.41.100 libx264
Stream #0:1: Audio: aac (libfdk_aac) ([64][0][0][0] / 0x0040), 48000 Hz, stereo, s16, 139 kb/s (default)
Metadata:
encoder : Lavc56.41.100 libfdk_aac
Stream mapping:
Stream #0:1 (aac) -> amerge:in0 (graph 0)
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
pan (graph 0) -> Stream #0:1 (libfdk_aac)
Press [q] to stop, [?] for help
Error while decoding stream #0:1: Cannot allocate memory
Last message repeated 21 times
Error while decoding stream #0:1: Cannot allocate memory.25 bitrate= 221.0kbits/s dup=1 drop=0
Last message repeated 18 times
Error while decoding stream #0:1: Cannot allocate memory.12 bitrate= 236.0kbits/s dup=1 drop=0
Last message repeated 18 times
Error while decoding stream #0:1: Cannot allocate memory.12 bitrate= 256.9kbits/s dup=1 drop=0
Last message repeated 19 times
Error while decoding stream #0:1: Cannot allocate memory.36 bitrate= 257.6kbits/s dup=1 drop=0
Last message repeated 17 times
Error while decoding stream #0:1: Cannot allocate memory.70 bitrate= 277.2kbits/s dup=1 drop=0
Last message repeated 18 times
Error while decoding stream #0:1: Cannot allocate memory.37 bitrate= 286.0kbits/s dup=1 drop=0
Last message repeated 18 times
Error while decoding stream #0:1: Cannot allocate memory.08 bitrate= 313.9kbits/s dup=1 drop=0
Last message repeated 18 times
frame= 360 fps= 85 q=28.0 Lsize= 636kB time=00:00:15.01 bitrate= 346.9kbits/s dup=1 drop=0
video:426kB audio:201kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.560136%
[libx264 @ 0x2a1ef00] frame I:5 Avg QP:15.46 size: 10732
[libx264 @ 0x2a1ef00] frame P:165 Avg QP:21.88 size: 2055
[libx264 @ 0x2a1ef00] frame B:190 Avg QP:23.22 size: 223
[libx264 @ 0x2a1ef00] consecutive B-frames: 26.4% 9.4% 0.8% 63.3%
[libx264 @ 0x2a1ef00] mb I I16..4: 54.0% 20.6% 25.4%
[libx264 @ 0x2a1ef00] mb P I16..4: 2.3% 5.5% 0.8% P16..4: 38.7% 12.5% 9.9% 0.0% 0.0% skip:30.2%
[libx264 @ 0x2a1ef00] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 29.3% 1.7% 0.8% direct: 1.4% skip:66.7% L0:34.1% L1:59.3% BI: 6.6%
[libx264 @ 0x2a1ef00] 8x8 transform intra:52.5% inter:61.7%
[libx264 @ 0x2a1ef00] coded y,uvDC,uvAC intra: 25.4% 39.9% 21.9% inter: 13.8% 14.7% 4.5%
[libx264 @ 0x2a1ef00] i16 v,h,dc,p: 56% 19% 15% 9%
[libx264 @ 0x2a1ef00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 14% 59% 1% 3% 2% 3% 1% 2%
[libx264 @ 0x2a1ef00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32% 16% 11% 6% 7% 6% 9% 6% 9%
[libx264 @ 0x2a1ef00] i8c dc,h,v,p: 68% 19% 9% 3%
[libx264 @ 0x2a1ef00] Weighted P-Frames: Y:26.7% UV:10.9%
[libx264 @ 0x2a1ef00] ref P L0: 78.4% 8.6% 7.4% 5.5% 0.1%
[libx264 @ 0x2a1ef00] ref B L0: 86.9% 9.4% 3.7%
[libx264 @ 0x2a1ef00] ref B L1: 92.6% 7.4%
[libx264 @ 0x2a1ef00] kb/s:232.05