fork download
  1. intro.mp4:
  2. $ ffmpeg -i intro.mp4
  3. ffmpeg version 3.1.4 Copyright (c) 2000-2016 the FFmpeg developers
  4. built with Apple LLVM version 8.0.0 (clang-800.0.38)
  5. configuration: --prefix=/usr/local/Cellar/ffmpeg/3.1.4 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libxvid --disable-lzma --enable-vda
  6. libavutil 55. 28.100 / 55. 28.100
  7. libavcodec 57. 48.101 / 57. 48.101
  8. libavformat 57. 41.100 / 57. 41.100
  9. libavdevice 57. 0.101 / 57. 0.101
  10. libavfilter 6. 47.100 / 6. 47.100
  11. libavresample 3. 0. 0 / 3. 0. 0
  12. libswscale 4. 1.100 / 4. 1.100
  13. libswresample 2. 1.100 / 2. 1.100
  14. libpostproc 54. 0.100 / 54. 0.100
  15. Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'intro.mp4':
  16. Metadata:
  17. major_brand : mp42
  18. minor_version : 0
  19. compatible_brands: isommp42
  20. creation_time : 2016-08-18 23:57:05
  21. Duration: 00:00:37.64, start: 0.000000, bitrate: 1457 kb/s
  22. Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x674 [SAR 1:1 DAR 640:337], 1327 kb/s, 30 fps, 30 tbr, 90k tbn, 60 tbc (default)
  23. Metadata:
  24. creation_time : 2016-08-18 23:57:05
  25. handler_name : ISO Media file produced by Google Inc.
  26. Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)
  27. Metadata:
  28. creation_time : 2016-08-18 23:57:05
  29. handler_name : ISO Media file produced by Google Inc.
  30. At least one output file must be specified
  31.  
  32. 8 videos concatinated to final.mp4:
  33. $ ffmpeg -i final.mp4
  34. ffmpeg version 3.1.4 Copyright (c) 2000-2016 the FFmpeg developers
  35. built with Apple LLVM version 8.0.0 (clang-800.0.38)
  36. configuration: --prefix=/usr/local/Cellar/ffmpeg/3.1.4 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libxvid --disable-lzma --enable-vda
  37. libavutil 55. 28.100 / 55. 28.100
  38. libavcodec 57. 48.101 / 57. 48.101
  39. libavformat 57. 41.100 / 57. 41.100
  40. libavdevice 57. 0.101 / 57. 0.101
  41. libavfilter 6. 47.100 / 6. 47.100
  42. libavresample 3. 0. 0 / 3. 0. 0
  43. libswscale 4. 1.100 / 4. 1.100
  44. libswresample 2. 1.100 / 2. 1.100
  45. libpostproc 54. 0.100 / 54. 0.100
  46. Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'final.mp4':
  47. Metadata:
  48. major_brand : isom
  49. minor_version : 512
  50. compatible_brands: isomiso2avc1mp41
  51. encoder : Lavf57.41.100
  52. Duration: 00:03:52.78, start: 0.000000, bitrate: 2319 kb/s
  53. Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720, 2227 kb/s, 29.95 fps, 30 tbr, 19200 tbn, 38400 tbc (default)
  54. Metadata:
  55. rotate : 90
  56. handler_name : VideoHandler
  57. Side data:
  58. displaymatrix: rotation of -90.00 degrees
  59. Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 84 kb/s (default)
  60. Metadata:
  61. handler_name : SoundHandler
  62. At least one output file must be specified
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:3:16: error: too many decimal points in number
 ffmpeg version 3.1.4 Copyright (c) 2000-2016 the FFmpeg developers
                ^~~~~
prog.cpp:4:33: error: too many decimal points in number
   built with Apple LLVM version 8.0.0 (clang-800.0.38)
                                 ^~~~~
prog.cpp:4:46: error: too many decimal points in number
   built with Apple LLVM version 8.0.0 (clang-800.0.38)
                                              ^~~~~~~~
prog.cpp:5:52: error: too many decimal points in number
   configuration: --prefix=/usr/local/Cellar/ffmpeg/3.1.4 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libxvid --disable-lzma --enable-vda
                                                    ^~~~~
prog.cpp:15:7: error: stray ‘#’ in program
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'intro.mp4':
       ^
prog.cpp:15:41: warning: character constant too long for its type
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'intro.mp4':
                                         ^~~~~~~~~~~
prog.cpp:20:28: error: invalid digit "8" in octal constant
     creation_time   : 2016-08-18 23:57:05
                            ^~
prog.cpp:22:12: error: stray ‘#’ in program
     Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x674 [SAR 1:1 DAR 640:337], 1327 kb/s, 30 fps, 30 tbr, 90k tbn, 60 tbc (default)
            ^
prog.cpp:24:30: error: invalid digit "8" in octal constant
       creation_time   : 2016-08-18 23:57:05
                              ^~
prog.cpp:26:12: error: stray ‘#’ in program
     Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)
            ^
prog.cpp:28:30: error: invalid digit "8" in octal constant
       creation_time   : 2016-08-18 23:57:05
                              ^~
prog.cpp:34:16: error: too many decimal points in number
 ffmpeg version 3.1.4 Copyright (c) 2000-2016 the FFmpeg developers
                ^~~~~
prog.cpp:35:33: error: too many decimal points in number
   built with Apple LLVM version 8.0.0 (clang-800.0.38)
                                 ^~~~~
prog.cpp:35:46: error: too many decimal points in number
   built with Apple LLVM version 8.0.0 (clang-800.0.38)
                                              ^~~~~~~~
prog.cpp:36:52: error: too many decimal points in number
   configuration: --prefix=/usr/local/Cellar/ffmpeg/3.1.4 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libxvid --disable-lzma --enable-vda
                                                    ^~~~~
prog.cpp:46:7: error: stray ‘#’ in program
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'final.mp4':
       ^
prog.cpp:46:41: warning: character constant too long for its type
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'final.mp4':
                                         ^~~~~~~~~~~
prog.cpp:51:29: error: too many decimal points in number
     encoder         : Lavf57.41.100
                             ^~~~~~~
prog.cpp:53:12: error: stray ‘#’ in program
     Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720, 2227 kb/s, 29.95 fps, 30 tbr, 19200 tbn, 38400 tbc (default)
            ^
prog.cpp:59:12: error: stray ‘#’ in program
     Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 84 kb/s (default)
            ^
prog.cpp:1:1: error: ‘intro’ does not name a type
 intro.mp4:
 ^~~~~
stdout
Standard output is empty