Created
January 9, 2020 09:15
-
-
Save Emanuele-Spatola/27f83c18c31300a5cb23925a9fafd5c1 to your computer and use it in GitHub Desktop.
ffmpeg -i samples/hero5.mp4 -i ./test.mov -c copy -c:d bin -map 0:0 -map 0:1 -map 1:2 -map 0:2 test.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
ffmpeg version 4.2.1 Copyright (c) 2000-2019 the FFmpeg developers | |
built with Apple clang version 11.0.0 (clang-1100.0.33.8) | |
configuration: --prefix=/usr/local/Cellar/ffmpeg/4.2.1_2 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags='-I/Library/Java/JavaVirtualMachines/adoptopenjdk-13.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/adoptopenjdk-13.jdk/Contents/Home/include/darwin -fno-stack-check' --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --disable-libjack --disable-indev=jack | |
libavutil 56. 31.100 / 56. 31.100 | |
libavcodec 58. 54.100 / 58. 54.100 | |
libavformat 58. 29.100 / 58. 29.100 | |
libavdevice 58. 8.100 / 58. 8.100 | |
libavfilter 7. 57.100 / 7. 57.100 | |
libavresample 4. 0. 0 / 4. 0. 0 | |
libswscale 5. 5.100 / 5. 5.100 | |
libswresample 3. 5.100 / 3. 5.100 | |
libpostproc 55. 5.100 / 55. 5.100 | |
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fe2bc001400] Using non-standard frame rate 23/1 | |
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '../gpmf-parser/samples/hero5.mp4': | |
Metadata: | |
major_brand : mp41 | |
minor_version : 538120216 | |
compatible_brands: mp41 | |
creation_time : 2017-04-17T10:31:43.000000Z | |
location : +33.1265-117.3274/ | |
location-eng : +33.1265-117.3274/ | |
firmware : HD5.02.02.00.00 | |
Duration: 00:00:34.58, start: 0.000000, bitrate: 2679 kb/s | |
Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuvj420p(pc, bt709), 854x480 [SAR 1:1 DAR 427:240], 2494 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default) | |
Metadata: | |
creation_time : 2017-04-17T10:31:43.000000Z | |
handler_name : GoPro AVC | |
encoder : GoPro AVC encoder | |
timecode : 10:58:32:09 | |
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default) | |
Metadata: | |
creation_time : 2017-04-17T10:31:43.000000Z | |
handler_name : GoPro AAC | |
timecode : 10:58:32:09 | |
Stream #0:2(eng): Data: none (tmcd / 0x64636D74) (default) | |
Metadata: | |
creation_time : 2017-04-17T10:31:43.000000Z | |
handler_name : GoPro TCD | |
timecode : 10:58:32:09 | |
Stream #0:3(eng): Data: bin_data (gpmd / 0x646D7067), 38 kb/s (default) | |
Metadata: | |
creation_time : 2017-04-17T10:31:43.000000Z | |
handler_name : GoPro MET | |
Stream #0:4(eng): Data: none (fdsc / 0x63736466), 9 kb/s (default) | |
Metadata: | |
creation_time : 2017-04-17T10:31:43.000000Z | |
handler_name : GoPro SOS | |
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from './test.mov': | |
Metadata: | |
major_brand : qt | |
minor_version : 512 | |
compatible_brands: qt | |
creation_time : 2017-04-17T10:31:43.000000Z | |
encoder : Lavf58.29.100 | |
location : +33.1265-117.3274/ | |
location-eng : +33.1265-117.3274/ | |
Duration: 00:00:34.58, start: 0.000000, bitrate: 5130 kb/s | |
Stream #1:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuvj420p(pc, bt709), 854x480 [SAR 1:1 DAR 427:240], 2494 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default) | |
Metadata: | |
creation_time : 2017-04-17T10:31:43.000000Z | |
handler_name : GoPro AVC | |
encoder : GoPro AVC encoder | |
timecode : 10:58:32:09 | |
Stream #1:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default) | |
Metadata: | |
creation_time : 2017-04-17T10:31:43.000000Z | |
handler_name : GoPro AAC | |
Stream #1:2(eng): Data: bin_data (gpmd / 0x646D7067) | |
Metadata: | |
creation_time : 2017-04-17T10:31:43.000000Z | |
handler_name : GoPro MET | |
Stream #1:3(eng): Data: none (tmcd / 0x64636D74) | |
Metadata: | |
creation_time : 2017-04-17T10:31:43.000000Z | |
handler_name : GoPro AVC | |
timecode : 10:58:32:09 | |
File 'test.mp4' already exists. Overwrite ? [y/N] [mp4 @ 0x7fe2bc80e000] You requested a copy of the original timecode track so timecode metadata are now ignored | |
[mp4 @ 0x7fe2bc80e000] Could not find tag for codec none in stream #3, codec not currently supported in container | |
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument | |
Stream mapping: | |
Stream #0:0 -> #0:0 (copy) | |
Stream #0:1 -> #0:1 (copy) | |
Stream #1:2 -> #0:2 (copy) | |
Stream #0:2 -> #0:3 (copy) | |
Last message repeated 1 times |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment