# Pastebin U90H3mzV @sythe-chakra Videos]$ ./mmcat.sh episode4_final.mp4 endslate-new.mp4 episode-4-likely.mp4 MultiMedia Concat Script v1.3 (mmcat) - A script to concatenate multiple multimedia files. Based on FFmpeg - www.ffmpeg.org Don't forget to edit this script and change EXTRA_OPTIONS ffmpeg version 2.1.4 Copyright (c) 2000-2014 the FFmpeg developers built on Jul 15 2014 21:05:03 with gcc 4.9.0 (GCC) 20140521 (prerelease) configuration: --prefix=/usr --disable-debug --disable-static --enable-avresample --enable-bzlib --enable-dxva2 --enable-fontconfig --enable-gpl --enable-libass --enable-libbluray --enable-libcaca --enable-libcelt --enable-libdc1394 --enable-libgsm --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-openal --enable-postproc --enable-runtime-cpudetect --enable-shared --enable-vaapi --enable-vda --enable-vdpau --enable-version3 --enable-x11grab libavutil 52. 48.101 / 52. 48.101 libavcodec 55. 39.101 / 55. 39.101 libavformat 55. 19.104 / 55. 19.104 libavdevice 55. 5.100 / 55. 5.100 libavfilter 3. 90.100 / 3. 90.100 libavresample 1. 1. 0 / 1. 1. 0 libswscale 2. 5.101 / 2. 5.101 libswresample 0. 17.104 / 0. 17.104 libpostproc 52. 3.100 / 52. 3.100 Guessed Channel Layout for Input Stream #0.0 : stereo Input #0, u16le, from '/tmp/mcs_a_all': Duration: N/A, bitrate: 1411 kb/s Stream #0:0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s Input #1, yuv4mpegpipe, from '/tmp/mcs_v_all': Duration: N/A, bitrate: N/A Stream #1:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1280x720, SAR 1:1 DAR 16:9, 30 fps, 30 tbr, 30 tbn, 30 tbc [libx264 @ 0x1d3bd80] using SAR=1/1 [libx264 @ 0x1d3bd80] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 [libx264 @ 0x1d3bd80] profile High, level 3.1 [libx264 @ 0x1d3bd80] 264 - core 138 r2507+690M d9021ad - H.264/MPEG-4 AVC codec - Copyleft 2003-2013 - 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=3 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=25 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 'episode-4-likely.mp4': Metadata: encoder : Lavf55.19.104 Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 15360 tbn, 30 tbc Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, stereo, fltp, 128 kb/s Stream mapping: Stream #1:0 -> #0:0 (rawvideo -> libx264) Stream #0:0 -> #0:1 (pcm_s16le -> aac) Press [q] to stop, [?] for help frame=15823 fps= 14 q=-1.0 Lsize= 135556kB time=00:08:47.36 bitrate=2105.7kbits/s video:126822kB audio:8242kB subtitle:0 global headers:0kB muxing overhead 0.364714% [libx264 @ 0x1d3bd80] frame I:95 Avg QP:18.14 size: 64056 [libx264 @ 0x1d3bd80] frame P:11347 Avg QP:20.99 size: 10721 [libx264 @ 0x1d3bd80] frame B:4381 Avg QP:22.09 size: 487 [libx264 @ 0x1d3bd80] consecutive B-frames: 60.5% 6.4% 4.2% 28.9% [libx264 @ 0x1d3bd80] mb I I16..4: 38.2% 27.5% 34.3% [libx264 @ 0x1d3bd80] mb P I16..4: 7.2% 6.3% 1.9% P16..4: 23.0% 4.5% 2.3% 0.0% 0.0% skip:54.9% [libx264 @ 0x1d3bd80] mb B I16..4: 0.1% 0.2% 0.0% B16..8: 9.1% 0.2% 0.0% direct: 0.1% skip:90.2% L0:44.7% L1:54.8% BI: 0.4% [libx264 @ 0x1d3bd80] 8x8 transform intra:40.3% inter:50.9% [libx264 @ 0x1d3bd80] coded y,uvDC,uvAC intra: 37.5% 31.0% 9.5% inter: 7.1% 4.5% 0.2% [libx264 @ 0x1d3bd80] i16 v,h,dc,p: 24% 31% 33% 13% [libx264 @ 0x1d3bd80] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 21% 46% 2% 1% 1% 2% 1% 2% [libx264 @ 0x1d3bd80] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 29% 28% 3% 3% 3% 4% 2% 4% [libx264 @ 0x1d3bd80] i8c dc,h,v,p: 68% 18% 12% 2% [libx264 @ 0x1d3bd80] Weighted P-Frames: Y:0.0% UV:0.0% [libx264 @ 0x1d3bd80] ref P L0: 81.4% 7.5% 7.9% 3.3% [libx264 @ 0x1d3bd80] ref B L0: 86.6% 11.9% 1.5% [libx264 @ 0x1d3bd80] ref B L1: 93.2% 6.8% [libx264 @ 0x1d3bd80] kb/s:1969.76 [sythe@sythe-chakra Videos]$ ./mmcat.sh episode4_final.mp4 endslate-new.mp4 episode-4-likely.mp4 MultiMedia Concat Script v1.3 (mmcat) - A script to concatenate multiple multimedia files. Based on FFmpeg - www.ffmpeg.org Don't forget to edit this script and change EXTRA_OPTIONS ffmpeg version 2.1.4 Copyright (c) 2000-2014 the FFmpeg developers built on Jul 15 2014 21:05:03 with gcc 4.9.0 (GCC) 20140521 (prerelease) configuration: --prefix=/usr --disable-debug --disable-static --enable-avresample --enable-bzlib --enable-dxva2 --enable-fontconfig --enable-gpl --enable-libass --enable-libbluray --enable-libcaca --enable-libcelt --enable-libdc1394 --enable-libgsm --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-openal --enable-postproc --enable-runtime-cpudetect --enable-shared --enable-vaapi --enable-vda --enable-vdpau --enable-version3 --enable-x11grab libavutil 52. 48.101 / 52. 48.101 libavcodec 55. 39.101 / 55. 39.101 libavformat 55. 19.104 / 55. 19.104 libavdevice 55. 5.100 / 55. 5.100 libavfilter 3. 90.100 / 3. 90.100 libavresample 1. 1. 0 / 1. 1. 0 libswscale 2. 5.101 / 2. 5.101 libswresample 0. 17.104 / 0. 17.104 libpostproc 52. 3.100 / 52. 3.100 Guessed Channel Layout for Input Stream #0.0 : stereo Input #0, u16le, from '/tmp/mcs_a_all': Duration: N/A, bitrate: 1411 kb/s Stream #0:0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s Input #1, yuv4mpegpipe, from '/tmp/mcs_v_all': Duration: N/A, bitrate: N/A Stream #1:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1280x720, SAR 1:1 DAR 16:9, 30 fps, 30 tbr, 30 tbn, 30 tbc [libx264 @ 0xfb0d80] using SAR=1/1 [libx264 @ 0xfb0d80] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 [libx264 @ 0xfb0d80] profile High, level 3.1 [libx264 @ 0xfb0d80] 264 - core 138 r2507+690M d9021ad - H.264/MPEG-4 AVC codec - Copyleft 2003-2013 - 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=3 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=25 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 'episode-4-likely.mp4': Metadata: encoder : Lavf55.19.104 Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 15360 tbn, 30 tbc Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, stereo, fltp, 128 kb/s Stream mapping: Stream #1:0 -> #0:0 (rawvideo -> libx264) Stream #0:0 -> #0:1 (pcm_s16le -> aac) Press [q] to stop, [?] for help frame=34988 fps= 12 q=-1.0 Lsize= 363632kB time=00:19:26.43 bitrate=2553.8kbits/s video:344370kB audio:18185kB subtitle:0 global headers:0kB muxing overhead 0.296931% [libx264 @ 0xfb0d80] frame I:213 Avg QP:18.67 size: 65948 [libx264 @ 0xfb0d80] frame P:26135 Avg QP:21.55 size: 12710 [libx264 @ 0xfb0d80] frame B:8640 Avg QP:21.37 size: 744 [libx264 @ 0xfb0d80] consecutive B-frames: 64.8% 5.7% 3.5% 26.0% [libx264 @ 0xfb0d80] mb I I16..4: 38.9% 26.0% 35.1% [libx264 @ 0xfb0d80] mb P I16..4: 7.5% 5.8% 2.4% P16..4: 23.4% 5.1% 2.6% 0.0% 0.0% skip:53.2% [libx264 @ 0xfb0d80] mb B I16..4: 0.2% 0.2% 0.0% B16..8: 10.0% 0.5% 0.1% direct: 0.2% skip:88.8% L0:49.3% L1:49.8% BI: 0.9% [libx264 @ 0xfb0d80] 8x8 transform intra:36.8% inter:47.8% [libx264 @ 0xfb0d80] coded y,uvDC,uvAC intra: 44.7% 35.5% 10.9% inter: 8.8% 5.3% 0.3% [libx264 @ 0xfb0d80] i16 v,h,dc,p: 22% 29% 36% 13% [libx264 @ 0xfb0d80] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 20% 44% 2% 2% 2% 2% 1% 3% [libx264 @ 0xfb0d80] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 27% 30% 3% 3% 3% 4% 3% 3% [libx264 @ 0xfb0d80] i8c dc,h,v,p: 63% 21% 15% 2% [libx264 @ 0xfb0d80] Weighted P-Frames: Y:0.0% UV:0.0% [libx264 @ 0xfb0d80] ref P L0: 80.5% 8.2% 8.0% 3.4% 0.0% [libx264 @ 0xfb0d80] ref B L0: 87.4% 11.1% 1.5% [libx264 @ 0xfb0d80] ref B L1: 94.6% 5.4% [libx264 @ 0xfb0d80] kb/s:2418.89