Advertisement
Guest User

Untitled

a guest
Aug 25th, 2015
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.36 KB | None | 0 0
  1.  
  2. NOTE: I also tried -threads 2 and -threads 8, same encoding times.
  3.  
  4.  
  5. root@enca:~# ffmpeg --version
  6. ffmpeg version 2.7.1 Copyright (c) 2000-2015 the FFmpeg developers
  7. built with gcc 4.9.3 (GCC)
  8. configuration: --prefix=/usr/local/ffmpeg-2.7.1-native64 --enable-libvpx --enable-libtheora --enable-libvorbis --enable-gpl --enable-libx264 --enable-libxvid --enable-nonfree --enable-libfdk-aac --disable-debug --enable-shared --enable-stripping
  9. libavutil 54. 27.100 / 54. 27.100
  10. libavcodec 56. 41.100 / 56. 41.100
  11. libavformat 56. 36.100 / 56. 36.100
  12. libavdevice 56. 4.100 / 56. 4.100
  13. libavfilter 5. 16.101 / 5. 16.101
  14. libswscale 3. 1.101 / 3. 1.101
  15. libswresample 1. 2.100 / 1. 2.100
  16. libpostproc 53. 3.100 / 53. 3.100
  17. Unrecognized option '-version'.
  18. Error splitting the argument list: Option not found
  19.  
  20.  
  21. ########## ENCODING TO MP4 ALONE : ##########
  22.  
  23. root@enca:~# time nice -n -15 /usr/local/ffmpeg-2.7.1-native64/bin/ffmpeg -hide_banner -loglevel info -threads 0 -i /home/root/vd/videoram/x658nitlpduc8sqali8x -i /home/root/vd/ramfs/over.png -filter_complex 'scale=1024x576,overlay=main_w-overlay_w:main_h-overlay_h' -c:v libx264 -pix_fmt yuv420p -profile:v baseline -preset slower -b:v 820K -bt:v 160K -af "aresample=44100" -c:a libfdk_aac -b:a 160K -metadata title="VIDLICKS" -metadata artist="VIDLICKS" -metadata album="VIDLICKS" -metadata comment="VIDLICKS" -metadata encoder="VIDLICKS" -t 30 -y -f mp4 test.mp4
  24. Input #0, avi, from '/home/root/vd/videoram/x658nitlpduc8sqali8x':
  25. Duration: 04:38:57.80, start: 0.000000, bitrate: 5 kb/s
  26. Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p, 1280x544, 2585 kb/s, 23.98 fps, 23.98 tbr, 23.98 tbn, 47.95 tbc
  27. Stream #0:1: Audio: aac (LC) ([255][0][0][0] / 0x00FF), 44100 Hz, stereo, fltp, 128 kb/s
  28. Input #1, png_pipe, from '/home/root/vd/ramfs/over.png':
  29. Duration: N/A, bitrate: N/A
  30. Stream #1:0: Video: png, rgba(pc), 101x34, 25 tbr, 25 tbn, 25 tbc
  31. [libx264 @ 0x1ea1d20] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
  32. [libx264 @ 0x1ea1d20] profile Constrained Baseline, level 3.2
  33. [libx264 @ 0x1ea1d20] 264 - core 146 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=0 ref=8 deblock=1:0:0 analyse=0x1:0x131 me=umh subme=9 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=2 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=60 rc=abr mbtree=1 bitrate=820 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
  34. Output #0, mp4, to 'test.mp4':
  35. Metadata:
  36. title : VIDLICKS
  37. artist : VIDLICKS
  38. album : VIDLICKS
  39. comment : VIDLICKS
  40. encoder : Lavf56.36.100
  41. Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 1024x576, q=-1--1, 820 kb/s, 23.98 fps, 24k tbn, 23.98 tbc (default)
  42. Metadata:
  43. encoder : Lavc56.41.100 libx264
  44. Stream #0:1: Audio: aac (libfdk_aac) ([64][0][0][0] / 0x0040), 44100 Hz, stereo, s16, 160 kb/s
  45. Metadata:
  46. encoder : Lavc56.41.100 libfdk_aac
  47. Stream mapping:
  48. Stream #0:0 (h264) -> scale (graph 0)
  49. Stream #1:0 (png) -> overlay:overlay (graph 0)
  50. overlay (graph 0) -> Stream #0:0 (libx264)
  51. Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
  52. Press [q] to stop, [?] for help
  53. frame= 719 fps= 21 q=-1.0 Lsize= 3965kB time=00:00:30.00 bitrate=1082.7kbits/s
  54. video:3360kB audio:587kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.464498%
  55. [libx264 @ 0x1ea1d20] frame I:9 Avg QP:28.99 size: 30862
  56. [libx264 @ 0x1ea1d20] frame P:710 Avg QP:32.90 size: 4454
  57. [libx264 @ 0x1ea1d20] mb I I16..4: 34.0% 0.0% 66.0%
  58. [libx264 @ 0x1ea1d20] mb P I16..4: 3.6% 0.0% 0.5% P16..4: 42.5% 8.1% 2.3% 0.0% 0.0% skip:42.9%
  59. [libx264 @ 0x1ea1d20] final ratefactor: 32.51
  60. [libx264 @ 0x1ea1d20] coded y,uvDC,uvAC intra: 22.2% 27.4% 1.4% inter: 7.2% 7.0% 0.0%
  61. [libx264 @ 0x1ea1d20] i16 v,h,dc,p: 36% 27% 17% 19%
  62. [libx264 @ 0x1ea1d20] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 9% 13% 11% 13% 13% 12% 8% 7%
  63. [libx264 @ 0x1ea1d20] i8c dc,h,v,p: 75% 11% 12% 2%
  64. [libx264 @ 0x1ea1d20] ref P L0: 84.6% 6.9% 3.7% 1.2% 1.1% 1.0% 1.0% 0.5%
  65. [libx264 @ 0x1ea1d20] kb/s:917.63
  66.  
  67. real 0m34.201s
  68. user 1m50.300s
  69. sys 0m0.240s
  70.  
  71. ########## ENCODING TO WEBM ALONE : ##########
  72.  
  73. root@enca:~# time nice -n -15 /usr/local/ffmpeg-2.7.1-native64/bin/ffmpeg -hide_banner -loglevel info -threads 0 -i /home/root/vd/videoram/x658nitlpduc8sqali8x -i /home/root/vd/ramfs/over.png -filter_complex 'scale=1024x576,overlay=main_w-overlay_w:main_h-overlay_h' -c:v libvpx -pix_fmt yuv420p -b:v 820K -bt:v 160K -af "aresample=44100" -c:a libvorbis -b:a 160K -metadata title="VIDLICKS" -metadata artist="VIDLICKS" -metadata album="VIDLICKS" -metadata comment="VIDLICKS" -metadata encoder="VIDLICKS" -t 30 -y -deadline realtime -f webm test.webm
  74. Input #0, avi, from '/home/root/vd/videoram/x658nitlpduc8sqali8x':
  75. Duration: 04:38:57.80, start: 0.000000, bitrate: 5 kb/s
  76. Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p, 1280x544, 2585 kb/s, 23.98 fps, 23.98 tbr, 23.98 tbn, 47.95 tbc
  77. Stream #0:1: Audio: aac (LC) ([255][0][0][0] / 0x00FF), 44100 Hz, stereo, fltp, 128 kb/s
  78. Input #1, png_pipe, from '/home/root/vd/ramfs/over.png':
  79. Duration: N/A, bitrate: N/A
  80. Stream #1:0: Video: png, rgba(pc), 101x34, 25 tbr, 25 tbn, 25 tbc
  81. [libvpx @ 0x24854a0] v1.3.0
  82. Output #0, webm, to 'test.webm':
  83. Metadata:
  84. title : VIDLICKS
  85. artist : VIDLICKS
  86. album : VIDLICKS
  87. comment : VIDLICKS
  88. encoder : Lavf56.36.100
  89. Stream #0:0: Video: vp8 (libvpx), yuv420p, 1024x576, q=-1--1, 820 kb/s, 23.98 fps, 1k tbn, 23.98 tbc (default)
  90. Metadata:
  91. encoder : Lavc56.41.100 libvpx
  92. Stream #0:1: Audio: vorbis (libvorbis), 44100 Hz, stereo, fltp, 160 kb/s
  93. Metadata:
  94. encoder : Lavc56.41.100 libvorbis
  95. Stream mapping:
  96. Stream #0:0 (h264) -> scale (graph 0)
  97. Stream #1:0 (png) -> overlay:overlay (graph 0)
  98. overlay (graph 0) -> Stream #0:0 (libvpx)
  99. Stream #0:1 -> #0:1 (aac (native) -> vorbis (libvorbis))
  100. Press [q] to stop, [?] for help
  101. frame= 719 fps= 56 q=0.0 Lsize= 3725kB time=00:00:29.98 bitrate=1017.7kbits/s
  102. video:3379kB audio:327kB subtitle:0kB other streams:0kB global headers:4kB muxing overhead: 0.536340%
  103.  
  104. real 0m12.872s
  105. user 0m17.010s
  106. sys 0m0.060s
  107.  
  108. ########## ENCODING TO MP4 WHILE ALSO ENCODING TO WEBM : ##########
  109.  
  110. root@enca:~# time nice -n -15 /usr/local/ffmpeg-2.7.1-native64/bin/ffmpeg -hide_banner -loglevel info -threads 0 -i /home/root/vd/videoram/x658nitlpduc8sqali8x -i /home/root/vd/ramfs/over.png -filter_complex 'scale=1024x576,overlay=main_w-overlay_w:main_h-overlay_h' -c:v libx264 -pix_fmt yuv420p -profile:v baseline -preset slower -b:v 820K -bt:v 160K -af "aresample=44100" -c:a libfdk_aac -b:a 160K -metadata title="VIDLICKS" -metadata artist="VIDLICKS" -metadata album="VIDLICKS" -metadata comment="VIDLICKS" -metadata encoder="VIDLICKS" -t 30 -y -f mp4 test.mp4
  111. Input #0, avi, from '/home/root/vd/videoram/x658nitlpduc8sqali8x':
  112. Duration: 04:38:57.80, start: 0.000000, bitrate: 5 kb/s
  113. Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p, 1280x544, 2585 kb/s, 23.98 fps, 23.98 tbr, 23.98 tbn, 47.95 tbc
  114. Stream #0:1: Audio: aac (LC) ([255][0][0][0] / 0x00FF), 44100 Hz, stereo, fltp, 128 kb/s
  115. Input #1, png_pipe, from '/home/root/vd/ramfs/over.png':
  116. Duration: N/A, bitrate: N/A
  117. Stream #1:0: Video: png, rgba(pc), 101x34, 25 tbr, 25 tbn, 25 tbc
  118. [libx264 @ 0xd53b40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
  119. [libx264 @ 0xd53b40] profile Constrained Baseline, level 3.2
  120. [libx264 @ 0xd53b40] 264 - core 146 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=0 ref=8 deblock=1:0:0 analyse=0x1:0x131 me=umh subme=9 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=2 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=60 rc=abr mbtree=1 bitrate=820 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
  121. Output #0, mp4, to 'test.mp4':
  122. Metadata:
  123. title : VIDLICKS
  124. artist : VIDLICKS
  125. album : VIDLICKS
  126. comment : VIDLICKS
  127. encoder : Lavf56.36.100
  128. Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 1024x576, q=-1--1, 820 kb/s, 23.98 fps, 24k tbn, 23.98 tbc (default)
  129. Metadata:
  130. encoder : Lavc56.41.100 libx264
  131. Stream #0:1: Audio: aac (libfdk_aac) ([64][0][0][0] / 0x0040), 44100 Hz, stereo, s16, 160 kb/s
  132. Metadata:
  133. encoder : Lavc56.41.100 libfdk_aac
  134. Stream mapping:
  135. Stream #0:0 (h264) -> scale (graph 0)
  136. Stream #1:0 (png) -> overlay:overlay (graph 0)
  137. overlay (graph 0) -> Stream #0:0 (libx264)
  138. Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
  139. Press [q] to stop, [?] for help
  140. frame= 719 fps= 20 q=-1.0 Lsize= 3965kB time=00:00:30.00 bitrate=1082.7kbits/s
  141. video:3360kB audio:587kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.464498%
  142. [libx264 @ 0xd53b40] frame I:9 Avg QP:28.99 size: 30862
  143. [libx264 @ 0xd53b40] frame P:710 Avg QP:32.90 size: 4454
  144. [libx264 @ 0xd53b40] mb I I16..4: 34.0% 0.0% 66.0%
  145. [libx264 @ 0xd53b40] mb P I16..4: 3.6% 0.0% 0.5% P16..4: 42.5% 8.1% 2.3% 0.0% 0.0% skip:42.9%
  146. [libx264 @ 0xd53b40] final ratefactor: 32.51
  147. [libx264 @ 0xd53b40] coded y,uvDC,uvAC intra: 22.2% 27.4% 1.4% inter: 7.2% 7.0% 0.0%
  148. [libx264 @ 0xd53b40] i16 v,h,dc,p: 36% 27% 17% 19%
  149. [libx264 @ 0xd53b40] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 9% 13% 11% 13% 13% 12% 8% 7%
  150. [libx264 @ 0xd53b40] i8c dc,h,v,p: 75% 11% 12% 2%
  151. [libx264 @ 0xd53b40] ref P L0: 84.6% 6.9% 3.7% 1.2% 1.1% 1.0% 1.0% 0.5%
  152. [libx264 @ 0xd53b40] kb/s:917.63
  153.  
  154. real 0m36.932s
  155. user 1m50.740s
  156. sys 0m0.330s
  157.  
  158. ########## ENCODING TO WEBM WHILE ALSO ENCODING TO MP4 : ##########
  159.  
  160. root@enca:~# time nice -n -15 /usr/local/ffmpeg-2.7.1-native64/bin/ffmpeg -hide_banner -loglevel info -threads 0 -i /home/root/vd/videoram/x658nitlpduc8sqali8x -i /home/root/vd/ramfs/over.png -filter_complex 'scale=1024x576,overlay=main_w-overlay_w:main_h-overlay_h' -c:v libvpx -pix_fmt yuv420p -b:v 820K -bt:v 160K -af "aresample=44100" -c:a libvorbis -b:a 160K -metadata title="VIDLICKS" -metadata artist="VIDLICKS" -metadata album="VIDLICKS" -metadata comment="VIDLICKS" -metadata encoder="VIDLICKS" -t 30 -y -deadline realtime -f webm test.webm
  161. Input #0, avi, from '/home/root/vd/videoram/x658nitlpduc8sqali8x':
  162. Duration: 04:38:57.80, start: 0.000000, bitrate: 5 kb/s
  163. Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p, 1280x544, 2585 kb/s, 23.98 fps, 23.98 tbr, 23.98 tbn, 47.95 tbc
  164. Stream #0:1: Audio: aac (LC) ([255][0][0][0] / 0x00FF), 44100 Hz, stereo, fltp, 128 kb/s
  165. Input #1, png_pipe, from '/home/root/vd/ramfs/over.png':
  166. Duration: N/A, bitrate: N/A
  167. Stream #1:0: Video: png, rgba(pc), 101x34, 25 tbr, 25 tbn, 25 tbc
  168. [libvpx @ 0x15159c0] v1.3.0
  169. Output #0, webm, to 'test.webm':
  170. Metadata:
  171. title : VIDLICKS
  172. artist : VIDLICKS
  173. album : VIDLICKS
  174. comment : VIDLICKS
  175. encoder : Lavf56.36.100
  176. Stream #0:0: Video: vp8 (libvpx), yuv420p, 1024x576, q=-1--1, 820 kb/s, 23.98 fps, 1k tbn, 23.98 tbc (default)
  177. Metadata:
  178. encoder : Lavc56.41.100 libvpx
  179. Stream #0:1: Audio: vorbis (libvorbis), 44100 Hz, stereo, fltp, 160 kb/s
  180. Metadata:
  181. encoder : Lavc56.41.100 libvorbis
  182. Stream mapping:
  183. Stream #0:0 (h264) -> scale (graph 0)
  184. Stream #1:0 (png) -> overlay:overlay (graph 0)
  185. overlay (graph 0) -> Stream #0:0 (libvpx)
  186. Stream #0:1 -> #0:1 (aac (native) -> vorbis (libvorbis))
  187. Press [q] to stop, [?] for help
  188. frame= 719 fps= 55 q=0.0 Lsize= 3725kB time=00:00:29.98 bitrate=1017.7kbits/s
  189. video:3379kB audio:327kB subtitle:0kB other streams:0kB global headers:4kB muxing overhead: 0.536340%
  190.  
  191. real 0m13.182s
  192. user 0m17.410s
  193. sys 0m0.080s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement