Advertisement
Guest User

Untitled

a guest
Nov 15th, 2014
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.31 KB | None | 0 0
  1. root@test:/tmp# cat mylist.txt
  2. file '/tmp/1.mp4'
  3. file '/tmp/2.mp4'
  4.  
  5. --------------------------------------------------------------------------------------------------------------
  6. root@test:/tmp# ffprobe 1.mp4
  7. ffprobe version 2.4.2 Copyright (c) 2007-2014 the FFmpeg developers
  8. built on Oct 27 2014 14:15:25 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
  9. configuration: --prefix=/root/target --extra-cflags='-I/root/target/include -static' --extra-ldflags='-L/root/target/lib -lm -static'--disable-debug --disable-shared --enable-static --extra-cflags=--static --disable-ffplay --disable-ffserver --disable-doc --enable-openssl --enable-gpl --enable-pthreads --enable-postproc --enable-libass --enable-gray --enable-runtime-cpudetect --enable-libfaac --enable-gnutls --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-bzlib --enable-zlib --enable-nonfree --enable-version3 --enable-libvpx --enable-libxavs --disable-devices --enable-librtmp --extra-libs='-lrtmp -lnettle -lhogweed -lgmp -lssl -lcrypto -lz -lc -ldl'
  10. libavutil 54. 7.100 / 54. 7.100
  11. libavcodec 56. 1.100 / 56. 1.100
  12. libavformat 56. 4.101 / 56. 4.101
  13. libavdevice 56. 0.100 / 56. 0.100
  14. libavfilter 5. 1.100 / 5. 1.100
  15. libswscale 3. 0.100 / 3. 0.100
  16. libswresample 1. 1.100 / 1. 1.100
  17. libpostproc 53. 0.100 / 53. 0.100
  18. Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '1.mp4':
  19. Metadata:
  20. major_brand : isom
  21. minor_version : 512
  22. compatible_brands: isomiso2avc1mp41
  23. title : MIH-LP-1W1.1_DES.Title6.DVDRip
  24. album : MIH-LP-1W1.1_DES
  25. encoder : Lavf56.4.101
  26. Duration: 00:23:03.57, start: 0.021333, bitrate: 591 kb/s
  27. Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 720x400 [SAR 1:1 DAR 9:5], 458 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
  28. Metadata:
  29. handler_name : VideoHandler
  30. Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 127 kb/s (default)
  31. Metadata:
  32. handler_name : SoundHandler
  33.  
  34.  
  35.  
  36. --------------------------------------------------------------------------------------------------------------
  37.  
  38.  
  39. root@test:/tmp# ffprobe 2.mp4
  40. ffprobe version 2.4.2 Copyright (c) 2007-2014 the FFmpeg developers
  41. built on Oct 27 2014 14:15:25 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
  42. configuration: --prefix=/root/target --extra-cflags='-I/root/target/include -static' --extra-ldflags='-L/root/target/lib -lm -static' --disable-debug --disable-shared --enable-static --extra-cflags=--static --disable-ffplay --disable-ffserver --disable-doc --enable-openssl --enable-gpl --enable-pthreads --enable-postproc --enable-libass --enable-gray --enable-runtime-cpudetect --enable-libfaac --enable-gnutls --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-bzlib --enable-zlib --enable-nonfree --enable-version3 --enable-libvpx --enable-libxavs --disable-devices --enable-librtmp --extra-libs='-lrtmp -lnettle -lhogweed -lgmp -lssl -lcrypto -lz -lc -ldl'
  43. libavutil 54. 7.100 / 54. 7.100
  44. libavcodec 56. 1.100 / 56. 1.100
  45. libavformat 56. 4.101 / 56. 4.101
  46. libavdevice 56. 0.100 / 56. 0.100
  47. libavfilter 5. 1.100 / 5. 1.100
  48. libswscale 3. 0.100 / 3. 0.100
  49. libswresample 1. 1.100 / 1. 1.100
  50. libpostproc 53. 0.100 / 53. 0.100
  51. Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '2.mp4':
  52. Metadata:
  53. major_brand : isom
  54. minor_version : 512
  55. compatible_brands: isomiso2avc1mp41
  56. encoder : Lavf56.4.101
  57. Duration: 00:00:29.27, start: 0.021333, bitrate: 333 kb/s
  58. Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 720x400 [SAR 1:1 DAR 9:5], 137 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
  59. Metadata:
  60. handler_name : VideoHandler
  61. Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 192 kb/s (default)
  62. Metadata:
  63. handler_name : SoundHandler
  64. root@test:/tmp#
  65.  
  66. ------------------------------------------------------------------------------------------------------------------------
  67.  
  68. root@test:/tmp# ffmpeg -f concat -i mylist.txt -codec copy out.mp4
  69. ffmpeg version 2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
  70. built on Oct 18 2014 15:38:04 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
  71. configuration: --prefix=/root/ffmpeg/target --extra-cflags='-I/root/ffmpeg/target/include -static' --extra-ldflags='-L/root/ffmpeg/target/lib -lm -static' --disable-debug --disable-shared --enable-static --extra-cflags=--static --disable-ffplay --disable-ffserver --disable-doc --enable-openssl --enable-gpl --enable-pthreads --enable-postproc --enable-libass --enable-gray --enable-runtime-cpudetect --enable-libfaac --enable-gnutls --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-bzlib --enable-zlib --enable-nonfree --enable-version3 --enable-libvpx --enable-libxavs --disable-devices --enable-librtmp --extra-libs='-lrtmp -lnettle -lhogweed -lgmp -lssl -lcrypto -lz -lc -ldl'
  72. libavutil 54. 7.100 / 54. 7.100
  73. libavcodec 56. 1.100 / 56. 1.100
  74. libavformat 56. 4.101 / 56. 4.101
  75. libavdevice 56. 0.100 / 56. 0.100
  76. libavfilter 5. 1.100 / 5. 1.100
  77. libswscale 3. 0.100 / 3. 0.100
  78. libswresample 1. 1.100 / 1. 1.100
  79. libpostproc 53. 0.100 / 53. 0.100
  80. Input #0, concat, from 'mylist.txt':
  81. Duration: N/A, start: 0.000000, bitrate: 586 kb/s
  82. Stream #0:0: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 720x400 [SAR 1:1 DAR 9:5], 458 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc
  83. Stream #0:1: Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 127 kb/s
  84. Output #0, mp4, to 'out.mp4':
  85. Metadata:
  86. encoder : Lavf56.4.101
  87. Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 720x400 [SAR 1:1 DAR 9:5], q=2-31, 458 kb/s, 25 fps, 12800 tbn, 12800 tbc
  88. Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, 127 kb/s
  89. Stream mapping:
  90. Stream #0:0 -> #0:0 (copy)
  91. Stream #0:1 -> #0:1 (copy)
  92. Press [q] to stop, [?] for help
  93. frame=35241 fps=0.0 q=-1.0 Lsize= 101063kB time=00:44:07.96 bitrate= 312.7kbits/s
  94. video:77784kB audio:22278kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.999979%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement