Advertisement
Guest User

Untitled

a guest
Feb 21st, 2017
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.55 KB | None | 0 0
  1. ffmpeg -f lavfi -i color=color=black:size=1920x1080:rate=25 -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=48000 -c:v prores_ks -profile:v 2 -vtag apcn -q:v 7 -pix_fmt yuv422p10le -c:a pcm_s16le -ar 48000 -vframes 2 -map 0:0 -map 1:0 -y output.mov
  2.  
  3. // output:
  4.  
  5. ffmpeg version N-76583-g3df9ec5 Copyright (c) 2000-2015 the FFmpeg developers
  6. built with gcc 5.2.1 (Ubuntu 5.2.1-22ubuntu2) 20151010
  7. configuration: --prefix=/home/ingest/dev/FFmpeg/build/ --pkg-config-flags=--static --extra-cf
  8. lags=-I/home/ingest/dev/FFmpeg/build/include --extra-ldflags=-L/home/ingest/dev/FFmpeg/build/li
  9. b --bindir=/home/ingest/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreety
  10. pe --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx -
  11. -enable-libx264 --enable-libx265 --enable-nonfree
  12. libavutil 55. 5.100 / 55. 5.100
  13. libavcodec 57. 15.100 / 57. 15.100
  14. libavformat 57. 14.100 / 57. 14.100
  15. libavdevice 57. 0.100 / 57. 0.100
  16. libavfilter 6. 15.100 / 6. 15.100
  17. libswscale 4. 0.100 / 4. 0.100
  18. libswresample 2. 0.101 / 2. 0.101
  19. libpostproc 54. 0.100 / 54. 0.100
  20. Input #0, lavfi, from 'color=color=black:size=1920x1080:rate=25':
  21. Duration: N/A, start: 0.000000, bitrate: N/A
  22. Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 25
  23. tbr, 25 tbn, 25 tbc
  24. Input #1, lavfi, from 'anullsrc=channel_layout=stereo:sample_rate=48000':
  25. Duration: N/A, start: 0.000000, bitrate: 768 kb/s
  26. Stream #1:0: Audio: pcm_u8, 48000 Hz, stereo, u8, 768 kb/s
  27. Output #0, mov, to 'output.mov':
  28. Metadata:
  29. encoder : Lavf57.14.100
  30. Stream #0:0: Video: prores (prores_ks) (apcn / 0x6E637061), yuv422p10le, 1920x1080 [SAR 1:1
  31. DAR 16:9], q=2-31, 200 kb/s, 25 fps, 12800 tbn, 25 tbc
  32. Metadata:
  33. encoder : Lavc57.15.100 prores_ks
  34. Stream #0:1: Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s
  35. Metadata:
  36. encoder : Lavc57.15.100 pcm_s16le
  37. Stream mapping:
  38. Stream #0:0 -> #0:0 (rawvideo (native) -> prores (prores_ks))
  39. Stream #1:0 -> #0:1 (pcm_u8 (native) -> pcm_s16le (native))
  40. Press [q] to stop, [?] for help
  41. frame= 2 fps=0.0 q=-0.0 Lsize= 43kB time=00:00:00.08 bitrate=4389.4kbits/s
  42. video:42kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.68180
  43. 1%
  44.  
  45. // the output is the same for any value of -vframes
  46.  
  47. // probing two frames (-vframes 2)
  48.  
  49. ffmpeg -i output.mov
  50. ffmpeg version N-76583-g3df9ec5 Copyright (c) 2000-2015 the FFmpeg developers
  51. built with gcc 5.2.1 (Ubuntu 5.2.1-22ubuntu2) 20151010
  52. configuration: --prefix=/home/ingest/dev/FFmpeg/build/ --pkg-config-flags=--static --extra-cf
  53. lags=-I/home/ingest/dev/FFmpeg/build/include --extra-ldflags=-L/home/ingest/dev/FFmpeg/build/li
  54. b --bindir=/home/ingest/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreety
  55. pe --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx -
  56. -enable-libx264 --enable-libx265 --enable-nonfree
  57. libavutil 55. 5.100 / 55. 5.100
  58. libavcodec 57. 15.100 / 57. 15.100
  59. libavformat 57. 14.100 / 57. 14.100
  60. libavdevice 57. 0.100 / 57. 0.100
  61. libavfilter 6. 15.100 / 6. 15.100
  62. libswscale 4. 0.100 / 4. 0.100
  63. libswresample 2. 0.101 / 2. 0.101
  64. libpostproc 54. 0.100 / 54. 0.100
  65. Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'output.mov':
  66. Metadata:
  67. major_brand : qt
  68. minor_version : 512
  69. compatible_brands: qt
  70. encoder : Lavf57.14.100
  71. Duration: 00:00:00.08, start: 0.000000, bitrate: 4389 kb/s
  72. Stream #0:0(eng): Video: prores (apcn / 0x6E637061), yuv422p10le, 1920x1080, 4316 kb/s, 25
  73. fps, 25 tbr, 12800 tbn, 12800 tbc (default)
  74. Metadata:
  75. handler_name : DataHandler
  76. encoder : Lavc57.15.100 prores_ks
  77.  
  78. // note there are no audio tracks.
  79.  
  80. // probing a three frame file (-vframes 3)
  81.  
  82. ffmpeg -i output.mov
  83. ffmpeg version N-76583-g3df9ec5 Copyright (c) 2000-2015 the FFmpeg developers
  84. built with gcc 5.2.1 (Ubuntu 5.2.1-22ubuntu2) 20151010
  85. configuration: --prefix=/home/ingest/dev/FFmpeg/build/ --pkg-config-flags=--static --extra-cf
  86. lags=-I/home/ingest/dev/FFmpeg/build/include --extra-ldflags=-L/home/ingest/dev/FFmpeg/build/li
  87. b --bindir=/home/ingest/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreety
  88. pe --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx -
  89. -enable-libx264 --enable-libx265 --enable-nonfree
  90. libavutil 55. 5.100 / 55. 5.100
  91. libavcodec 57. 15.100 / 57. 15.100
  92. libavformat 57. 14.100 / 57. 14.100
  93. libavdevice 57. 0.100 / 57. 0.100
  94. libavfilter 6. 15.100 / 6. 15.100
  95. libswscale 4. 0.100 / 4. 0.100
  96. libswresample 2. 0.101 / 2. 0.101
  97. libpostproc 54. 0.100 / 54. 0.100
  98. Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'output.mov':
  99. Metadata:
  100. major_brand : qt
  101. minor_version : 512
  102. compatible_brands: qt
  103. encoder : Lavf57.14.100
  104. Duration: 00:00:00.12, start: 0.000000, bitrate: 5219 kb/s
  105. Stream #0:0(eng): Video: prores (apcn / 0x6E637061), yuv422p10le, 1920x1080, 4316 kb/s, 25
  106. fps, 25 tbr, 12800 tbn, 12800 tbc (default)
  107. Metadata:
  108. handler_name : DataHandler
  109. encoder : Lavc57.15.100 prores_ks
  110. Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s (d
  111. efault)
  112. Metadata:
  113. handler_name : DataHandler
  114.  
  115. // the audio tracks are here when -vframes > 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement