Guest User

Untitled

a guest
Sep 29th, 2020
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.39 KB | None | 0 0
  1. In both of ways i have the same result(cursor blinks)
  2.  
  3. Here, i was trying to use command without -vf:
  4.  
  5. ffmpeg -y -rtbufsize 200M -f gdigrab -thread_queue_size 1024 -probesize 10M -framerate 10 -draw_mouse 1 -video_size 1920x1080 -i desktop -f dshow -channel_layout stereo -thread_queue_size 1024 -i audio="Stereo mix (Realtek High Definition Audio)" -c:v libx264 -preset ultrafast -tune zerolatency -crf 25 -c:a aac -ac 2 -b:a 128k -movflags +faststart recording.mp4
  6. ffmpeg version git-2020-04-24-a501947 Copyright (c) 2000-2020 the FFmpeg developers
  7. built with gcc 9.3.1 (GCC) 20200328
  8. configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
  9. libavutil 56. 42.102 / 56. 42.102
  10. libavcodec 58. 81.100 / 58. 81.100
  11. libavformat 58. 42.101 / 58. 42.101
  12. libavdevice 58. 9.103 / 58. 9.103
  13. libavfilter 7. 79.100 / 7. 79.100
  14. libswscale 5. 6.101 / 5. 6.101
  15. libswresample 3. 6.100 / 3. 6.100
  16. libpostproc 55. 6.100 / 55. 6.100
  17. [gdigrab @ 000001a4dbcce900] Capturing whole desktop as 1920x1080x32 at (0,0)
  18. [gdigrab @ 000001a4dbcce900] Stream #0: not enough frames to estimate rate; consider increasing probesize
  19. Input #0, gdigrab, from 'desktop':
  20. Duration: N/A, start: 1601405341.833406, bitrate: 663556 kb/s
  21. Stream #0:0: Video: bmp, bgra, 1920x1080, 663556 kb/s, 10 fps, 1000k tbr, 1000k tbn, 1000k tbc
  22. Input #1, dshow, from 'audio=Стерео микшер (Realtek High Definition Audio)':
  23. Duration: N/A, start: 797791.419000, bitrate: 1411 kb/s
  24. Stream #1:0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
  25. Stream mapping:
  26. Stream #0:0 -> #0:0 (bmp (native) -> h264 (libx264))
  27. Stream #1:0 -> #0:1 (pcm_s16le (native) -> aac (native))
  28. Press [q] to stop, [?] for help
  29. [libx264 @ 000001a4dbd48100] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
  30. [libx264 @ 000001a4dbd48100] profile High 4:4:4 Predictive, level 4.0, 4:4:4, 8-bit
  31. [libx264 @ 000001a4dbd48100] 264 - core 159 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=6 threads=8 lookahead_threads=8 sliced_threads=1 slices=8 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=10 scenecut=0 intra_refresh=0 rc=crf mbtree=0 crf=25.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
  32. Output #0, mp4, to 'recording.mp4':
  33. Metadata:
  34. encoder : Lavf58.42.101
  35. Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv444p(progressive), 1920x1080, q=-1--1, 10 fps, 10240 tbn, 10 tbc
  36. Metadata:
  37. encoder : Lavc58.81.100 libx264
  38. Side data:
  39. cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
  40. Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s
  41. Metadata:
  42. encoder : Lavc58.81.100 aac
  43. [mp4 @ 000001a4dbd46a00] Starting second pass: moving the moov atom to the beginning of the filepeed=1.03x
  44. frame= 146 fps= 10 q=11.0 Lsize= 3293kB time=00:00:14.50 bitrate=1860.2kbits/s dup=6 drop=1 speed= 1x
  45. video:3045kB audio:240kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.231374%
  46. [libx264 @ 000001a4dbd48100] frame I:1 Avg QP:22.00 size:541616
  47. [libx264 @ 000001a4dbd48100] frame P:145 Avg QP:12.32 size: 17764
  48. [libx264 @ 000001a4dbd48100] mb I I16..4: 100.0% 0.0% 0.0%
  49. [libx264 @ 000001a4dbd48100] mb P I16..4: 0.9% 0.0% 0.0% P16..4: 9.0% 0.0% 0.0% 0.0% 0.0% skip:90.1%
  50. [libx264 @ 000001a4dbd48100] coded y,u,v intra: 29.8% 27.1% 26.6% inter: 3.4% 1.8% 1.8%
  51. [libx264 @ 000001a4dbd48100] i16 v,h,dc,p: 72% 19% 7% 1%
  52. [libx264 @ 000001a4dbd48100] kb/s:1708.19
  53. [aac @ 000001a4dbd49fc0] Qavg: 264.214
  54.  
  55. Here, i was using command with -vf parameter:
  56.  
  57. ffmpeg -y -rtbufsize 200M -f gdigrab -thread_queue_size 1024 -probesize 10M -framerate 10 -draw_mouse 1 -video_size 1920x1080 -i desktop -f dshow -channel_layout stereo -thread_queue_size 1024 -i audio="Stereo mix (Realtek High Definition Audio)" -c:v libx264 -preset ultrafast -tune zerolatency -crf 25 -c:a aac -ac 2 -b:a 128k -vf "[0]format=yuv420p[v]" -movflags +faststart recording.mp4
  58. ffmpeg version git-2020-04-24-a501947 Copyright (c) 2000-2020 the FFmpeg developers
  59. built with gcc 9.3.1 (GCC) 20200328
  60. configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
  61. libavutil 56. 42.102 / 56. 42.102
  62. libavcodec 58. 81.100 / 58. 81.100
  63. libavformat 58. 42.101 / 58. 42.101
  64. libavdevice 58. 9.103 / 58. 9.103
  65. libavfilter 7. 79.100 / 7. 79.100
  66. libswscale 5. 6.101 / 5. 6.101
  67. libswresample 3. 6.100 / 3. 6.100
  68. libpostproc 55. 6.100 / 55. 6.100
  69. [gdigrab @ 0000024f6950e9c0] Capturing whole desktop as 1920x1080x32 at (0,0)
  70. [gdigrab @ 0000024f6950e9c0] Stream #0: not enough frames to estimate rate; consider increasing probesize
  71. Input #0, gdigrab, from 'desktop':
  72. Duration: N/A, start: 1601405573.697814, bitrate: 663556 kb/s
  73. Stream #0:0: Video: bmp, bgra, 1920x1080, 663556 kb/s, 10 fps, 1000k tbr, 1000k tbn, 1000k tbc
  74. Input #1, dshow, from 'audio=Стерео микшер (Realtek High Definition Audio)':
  75. Duration: N/A, start: 798023.301000, bitrate: 1411 kb/s
  76. Stream #1:0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
  77. Stream mapping:
  78. Stream #0:0 -> #0:0 (bmp (native) -> h264 (libx264))
  79. Stream #1:0 -> #0:1 (pcm_s16le (native) -> aac (native))
  80. Press [q] to stop, [?] for help
  81. [libx264 @ 0000024f695882c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
  82. [libx264 @ 0000024f695882c0] profile Constrained Baseline, level 4.0, 4:2:0, 8-bit
  83. [libx264 @ 0000024f695882c0] 264 - core 159 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=8 lookahead_threads=8 sliced_threads=1 slices=8 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=10 scenecut=0 intra_refresh=0 rc=crf mbtree=0 crf=25.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
  84. Output #0, mp4, to 'recording.mp4':
  85. Metadata:
  86. encoder : Lavf58.42.101
  87. Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080, q=-1--1, 10 fps, 10240 tbn, 10 tbc
  88. Metadata:
  89. encoder : Lavc58.81.100 libx264
  90. Side data:
  91. cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
  92. Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s
  93. Metadata:
  94. encoder : Lavc58.81.100 aac
  95. [mp4 @ 0000024f69586ac0] Starting second pass: moving the moov atom to the beginning of the filepeed=1.04x
  96. frame= 106 fps= 10 q=12.0 Lsize= 2292kB time=00:00:10.50 bitrate=1787.4kbits/s dup=6 drop=0 speed= 1x
  97. video:2113kB audio:174kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.261392%
  98. [libx264 @ 0000024f695882c0] frame I:1 Avg QP:22.00 size:379397
  99. [libx264 @ 0000024f695882c0] frame P:105 Avg QP:13.08 size: 16986
  100. [libx264 @ 0000024f695882c0] mb I I16..4: 100.0% 0.0% 0.0%
  101. [libx264 @ 0000024f695882c0] mb P I16..4: 1.7% 0.0% 0.0% P16..4: 12.4% 0.0% 0.0% 0.0% 0.0% skip:85.9%
  102. [libx264 @ 0000024f695882c0] coded y,uvDC,uvAC intra: 34.9% 32.4% 31.3% inter: 4.0% 7.7% 3.6%
  103. [libx264 @ 0000024f695882c0] i16 v,h,dc,p: 73% 18% 8% 1%
  104. [libx264 @ 0000024f695882c0] i8c dc,h,v,p: 76% 10% 14% 1%
  105. [libx264 @ 0000024f695882c0] kb/s:1632.43
  106. [aac @ 0000024f6958a100] Qavg: 324.167
Add Comment
Please, Sign In to add comment