Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In both of ways i have the same result(cursor blinks)
- Here, i was trying to use command without -vf:
- 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
- ffmpeg version git-2020-04-24-a501947 Copyright (c) 2000-2020 the FFmpeg developers
- built with gcc 9.3.1 (GCC) 20200328
- 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
- libavutil 56. 42.102 / 56. 42.102
- libavcodec 58. 81.100 / 58. 81.100
- libavformat 58. 42.101 / 58. 42.101
- libavdevice 58. 9.103 / 58. 9.103
- libavfilter 7. 79.100 / 7. 79.100
- libswscale 5. 6.101 / 5. 6.101
- libswresample 3. 6.100 / 3. 6.100
- libpostproc 55. 6.100 / 55. 6.100
- [gdigrab @ 000001a4dbcce900] Capturing whole desktop as 1920x1080x32 at (0,0)
- [gdigrab @ 000001a4dbcce900] Stream #0: not enough frames to estimate rate; consider increasing probesize
- Input #0, gdigrab, from 'desktop':
- Duration: N/A, start: 1601405341.833406, bitrate: 663556 kb/s
- Stream #0:0: Video: bmp, bgra, 1920x1080, 663556 kb/s, 10 fps, 1000k tbr, 1000k tbn, 1000k tbc
- Input #1, dshow, from 'audio=Стерео микшер (Realtek High Definition Audio)':
- Duration: N/A, start: 797791.419000, bitrate: 1411 kb/s
- Stream #1:0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
- Stream mapping:
- Stream #0:0 -> #0:0 (bmp (native) -> h264 (libx264))
- Stream #1:0 -> #0:1 (pcm_s16le (native) -> aac (native))
- Press [q] to stop, [?] for help
- [libx264 @ 000001a4dbd48100] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
- [libx264 @ 000001a4dbd48100] profile High 4:4:4 Predictive, level 4.0, 4:4:4, 8-bit
- [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
- Output #0, mp4, to 'recording.mp4':
- Metadata:
- encoder : Lavf58.42.101
- Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv444p(progressive), 1920x1080, q=-1--1, 10 fps, 10240 tbn, 10 tbc
- Metadata:
- encoder : Lavc58.81.100 libx264
- Side data:
- cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
- Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s
- Metadata:
- encoder : Lavc58.81.100 aac
- [mp4 @ 000001a4dbd46a00] Starting second pass: moving the moov atom to the beginning of the filepeed=1.03x
- frame= 146 fps= 10 q=11.0 Lsize= 3293kB time=00:00:14.50 bitrate=1860.2kbits/s dup=6 drop=1 speed= 1x
- video:3045kB audio:240kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.231374%
- [libx264 @ 000001a4dbd48100] frame I:1 Avg QP:22.00 size:541616
- [libx264 @ 000001a4dbd48100] frame P:145 Avg QP:12.32 size: 17764
- [libx264 @ 000001a4dbd48100] mb I I16..4: 100.0% 0.0% 0.0%
- [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%
- [libx264 @ 000001a4dbd48100] coded y,u,v intra: 29.8% 27.1% 26.6% inter: 3.4% 1.8% 1.8%
- [libx264 @ 000001a4dbd48100] i16 v,h,dc,p: 72% 19% 7% 1%
- [libx264 @ 000001a4dbd48100] kb/s:1708.19
- [aac @ 000001a4dbd49fc0] Qavg: 264.214
- Here, i was using command with -vf parameter:
- 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
- ffmpeg version git-2020-04-24-a501947 Copyright (c) 2000-2020 the FFmpeg developers
- built with gcc 9.3.1 (GCC) 20200328
- 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
- libavutil 56. 42.102 / 56. 42.102
- libavcodec 58. 81.100 / 58. 81.100
- libavformat 58. 42.101 / 58. 42.101
- libavdevice 58. 9.103 / 58. 9.103
- libavfilter 7. 79.100 / 7. 79.100
- libswscale 5. 6.101 / 5. 6.101
- libswresample 3. 6.100 / 3. 6.100
- libpostproc 55. 6.100 / 55. 6.100
- [gdigrab @ 0000024f6950e9c0] Capturing whole desktop as 1920x1080x32 at (0,0)
- [gdigrab @ 0000024f6950e9c0] Stream #0: not enough frames to estimate rate; consider increasing probesize
- Input #0, gdigrab, from 'desktop':
- Duration: N/A, start: 1601405573.697814, bitrate: 663556 kb/s
- Stream #0:0: Video: bmp, bgra, 1920x1080, 663556 kb/s, 10 fps, 1000k tbr, 1000k tbn, 1000k tbc
- Input #1, dshow, from 'audio=Стерео микшер (Realtek High Definition Audio)':
- Duration: N/A, start: 798023.301000, bitrate: 1411 kb/s
- Stream #1:0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
- Stream mapping:
- Stream #0:0 -> #0:0 (bmp (native) -> h264 (libx264))
- Stream #1:0 -> #0:1 (pcm_s16le (native) -> aac (native))
- Press [q] to stop, [?] for help
- [libx264 @ 0000024f695882c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
- [libx264 @ 0000024f695882c0] profile Constrained Baseline, level 4.0, 4:2:0, 8-bit
- [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
- Output #0, mp4, to 'recording.mp4':
- Metadata:
- encoder : Lavf58.42.101
- Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080, q=-1--1, 10 fps, 10240 tbn, 10 tbc
- Metadata:
- encoder : Lavc58.81.100 libx264
- Side data:
- cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
- Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s
- Metadata:
- encoder : Lavc58.81.100 aac
- [mp4 @ 0000024f69586ac0] Starting second pass: moving the moov atom to the beginning of the filepeed=1.04x
- frame= 106 fps= 10 q=12.0 Lsize= 2292kB time=00:00:10.50 bitrate=1787.4kbits/s dup=6 drop=0 speed= 1x
- video:2113kB audio:174kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.261392%
- [libx264 @ 0000024f695882c0] frame I:1 Avg QP:22.00 size:379397
- [libx264 @ 0000024f695882c0] frame P:105 Avg QP:13.08 size: 16986
- [libx264 @ 0000024f695882c0] mb I I16..4: 100.0% 0.0% 0.0%
- [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%
- [libx264 @ 0000024f695882c0] coded y,uvDC,uvAC intra: 34.9% 32.4% 31.3% inter: 4.0% 7.7% 3.6%
- [libx264 @ 0000024f695882c0] i16 v,h,dc,p: 73% 18% 8% 1%
- [libx264 @ 0000024f695882c0] i8c dc,h,v,p: 76% 10% 14% 1%
- [libx264 @ 0000024f695882c0] kb/s:1632.43
- [aac @ 0000024f6958a100] Qavg: 324.167
Add Comment
Please, Sign In to add comment