Created
May 1, 2017 12:12
-
-
Save kaihendry/fc9798157fa72987835c841db3eff5fc to your computer and use it in GitHub Desktop.
GoPro MP4s to one big MP4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mbp:Kai H5B 4 kaihendry$ ~/recordmydesktop2.0/concat.sh GOPR1119.MP4 GP0{1..8}1119.MP4 | |
file '/Users/kaihendry/Pictures/GoPro/2017-05-01/Kai H5B 4/GOPR1119.MP4' | |
file '/Users/kaihendry/Pictures/GoPro/2017-05-01/Kai H5B 4/GP011119.MP4' | |
file '/Users/kaihendry/Pictures/GoPro/2017-05-01/Kai H5B 4/GP021119.MP4' | |
file '/Users/kaihendry/Pictures/GoPro/2017-05-01/Kai H5B 4/GP031119.MP4' | |
file '/Users/kaihendry/Pictures/GoPro/2017-05-01/Kai H5B 4/GP041119.MP4' | |
file '/Users/kaihendry/Pictures/GoPro/2017-05-01/Kai H5B 4/GP051119.MP4' | |
file '/Users/kaihendry/Pictures/GoPro/2017-05-01/Kai H5B 4/GP061119.MP4' | |
file '/Users/kaihendry/Pictures/GoPro/2017-05-01/Kai H5B 4/GP071119.MP4' | |
file '/Users/kaihendry/Pictures/GoPro/2017-05-01/Kai H5B 4/GP081119.MP4' | |
ffmpeg version 3.3 Copyright (c) 2000-2017 the FFmpeg developers | |
built with Apple LLVM version 8.1.0 (clang-802.0.41) | |
configuration: --prefix=/usr/local/Cellar/ffmpeg/3.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --disable-lzma --enable-vda | |
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 | |
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8c5700f400] Using non-standard frame rate 29/1 | |
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8c5700f400] Auto-inserting h264_mp4toannexb bitstream filter | |
[concat @ 0x7f8c57006800] Could not find codec parameters for stream 2 (Unknown: none): unknown codec | |
Consider increasing the value for the 'analyzeduration' and 'probesize' options | |
[concat @ 0x7f8c57006800] Could not find codec parameters for stream 3 (Unknown: none): unknown codec | |
Consider increasing the value for the 'analyzeduration' and 'probesize' options | |
[concat @ 0x7f8c57006800] Could not find codec parameters for stream 4 (Unknown: none): unknown codec | |
Consider increasing the value for the 'analyzeduration' and 'probesize' options | |
Input #0, concat, from '/tmp/FRRHCo': | |
Duration: N/A, start: 0.000000, bitrate: 60069 kb/s | |
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, bt709), 3840x2160 [SAR 1:1 DAR 16:9], 59941 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc | |
Metadata: | |
creation_time : 2017-05-01T15:39:36.000000Z | |
handler_name : GoPro AVC | |
encoder : GoPro AVC encoder | |
timecode : 16:11:02:25 | |
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s | |
Metadata: | |
creation_time : 2017-05-01T15:39:36.000000Z | |
handler_name : GoPro AAC | |
timecode : 16:11:02:25 | |
Stream #0:2: Unknown: none | |
Stream #0:3: Unknown: none | |
Stream #0:4: Unknown: none | |
Output #0, mp4, to 'output.mp4': | |
Metadata: | |
encoder : Lavf57.71.100 | |
Stream #0:0(eng): Video: h264 (High) ([33][0][0][0] / 0x0021), yuvj420p(pc, bt709), 3840x2160 [SAR 1:1 DAR 16:9], q=2-31, 59941 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 90k tbc | |
Metadata: | |
creation_time : 2017-05-01T15:39:36.000000Z | |
handler_name : GoPro AVC | |
encoder : GoPro AVC encoder | |
timecode : 16:11:02:25 | |
Stream #0:1(eng): Audio: aac (LC) ([64][0][0][0] / 0x0040), 48000 Hz, stereo, fltp, 128 kb/s | |
Metadata: | |
creation_time : 2017-05-01T15:39:36.000000Z | |
handler_name : GoPro AAC | |
timecode : 16:11:02:25 | |
Stream mapping: | |
Stream #0:0 -> #0:0 (copy) | |
Stream #0:1 -> #0:1 (copy) | |
Press [q] to stop, [?] for help | |
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8c56801000] Using non-standard frame rate 29/1bits/s speed=58.1x | |
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8c56801000] Auto-inserting h264_mp4toannexb bitstream filter | |
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8c56801000] Using non-standard frame rate 29/1bits/s speed=56.9x | |
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8c56801000] Auto-inserting h264_mp4toannexb bitstream filter | |
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8c57004800] Using non-standard frame rate 29/1bits/s speed=57.4x | |
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8c57004800] Auto-inserting h264_mp4toannexb bitstream filter | |
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8c57004800] Using non-standard frame rate 29/1bits/s speed=57.3x | |
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8c57004800] Auto-inserting h264_mp4toannexb bitstream filter | |
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8c58001200] Using non-standard frame rate 29/1bits/s speed=57.6x | |
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8c58001200] Auto-inserting h264_mp4toannexb bitstream filter | |
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8c58000000] Using non-standard frame rate 29/1bits/s speed=56.6x | |
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8c58000000] Auto-inserting h264_mp4toannexb bitstream filter | |
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8c58000000] Using non-standard frame rate 29/1kbits/s speed=56.2x | |
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8c58000000] Auto-inserting h264_mp4toannexb bitstream filter | |
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8c5708a200] Using non-standard frame rate 29/1kbits/s speed=56.4x | |
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8c5708a200] Auto-inserting h264_mp4toannexb bitstream filter | |
frame=128497 fps=1695 q=-1.0 Lsize=31442626kB time=01:11:27.54 bitrate=60075.8kbits/s speed=56.5x | |
video:31371007kB audio:66993kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.014715% | |
mbp:Kai H5B 4 kaihendry$ ls -alh | |
total 125817856 | |
drwxr-xr-x 12 kaihendry staff 408B May 1 20:08 . | |
drwxr-xr-x 3 kaihendry staff 102B May 1 16:53 .. | |
-rw------- 1 kaihendry staff 3.7G May 1 15:39 GOPR1119.MP4 | |
-rw------- 1 kaihendry staff 3.7G May 1 15:48 GP011119.MP4 | |
-rw------- 1 kaihendry staff 3.7G May 1 15:57 GP021119.MP4 | |
-rw------- 1 kaihendry staff 3.7G May 1 16:06 GP031119.MP4 | |
-rw-------@ 1 kaihendry staff 3.7G May 1 16:15 GP041119.MP4 | |
-rw------- 1 kaihendry staff 3.7G May 1 16:23 GP051119.MP4 | |
-rw------- 1 kaihendry staff 3.7G May 1 16:32 GP061119.MP4 | |
-rw------- 1 kaihendry staff 3.7G May 1 16:41 GP071119.MP4 | |
-rw------- 1 kaihendry staff 196M May 1 16:50 GP081119.MP4 | |
-rw-rw-r-- 1 kaihendry staff 30G May 1 20:09 output.mp4 | |
mbp:Kai H5B 4 kaihendry$ file output.mp4 | |
output.mp4: ISO Media, MP4 Base Media v1 [IS0 14496-12:2003] | |
mbp:Kai H5B 4 kaihendry$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment