-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recording delay #40
Comments
If you can, please run npx @arcsine/screen-recorder test.mp4 from the command line, and the output should help identify the problem. This is what the extension ultimately calls so the issue may lie there or with ffmpeg |
Thanks. Output from command below:
|
And just to follow up, did the video produced by this exhibit the same
delay in recording?
…On Fri, Feb 17, 2023 at 12:06 PM anweiss ***@***.***> wrote:
Thanks. Output from command below:
❯ npx @arcsine/screen-recorder test.mp4
/opt/homebrew/bin/ffmpeg -f avfoundation -list_devices true -i ""
Invalid exit status: 1
/opt/homebrew/bin/ffmpeg -capture_cursor 1 -threads 4 -f avfoundation -i 3:none -preset ultrafast -crf 10 -pix_fmt yuvj444p -c:v libx264 -y -vf 'scale=3840:1600:flags=lanczos,crop=1920:787:0:25' test.mp4
Recording for 5 seconds...
ffmpeg version 5.1.2 Copyright (c) 2000-2022 the FFmpeg developers
built with Apple clang version 14.0.0 (clang-1400.0.29.202)
configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/5.1.2_4 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-neon
libavutil 57. 28.100 / 57. 28.100
libavcodec 59. 37.100 / 59. 37.100
libavformat 59. 27.100 / 59. 27.100
libavdevice 59. 7.100 / 59. 7.100
libavfilter 8. 44.100 / 8. 44.100
libswscale 6. 7.100 / 6. 7.100
libswresample 4. 7.100 / 4. 7.100
libpostproc 56. 6.100 / 56. 6.100
objc[95841]: class `NSKVONotifying_AVCaptureScreenInput' not linked into application
objc[95841]: class `NSKVONotifying_AVCaptureScreenInput' not linked into application
objc[95841]: class `NSKVONotifying_AVCaptureScreenInput' not linked into application
[AVFoundation indev @ 0x131e34960] Configuration of video device failed, falling back to default.
[avfoundation @ 0x131e345f0] Selected pixel format (yuv420p) is not supported by the input device.
[avfoundation @ 0x131e345f0] Supported pixel formats:
[avfoundation @ 0x131e345f0] uyvy422
[avfoundation @ 0x131e345f0] yuyv422
[avfoundation @ 0x131e345f0] nv12
[avfoundation @ 0x131e345f0] 0rgb
[avfoundation @ 0x131e345f0] bgr0
[avfoundation @ 0x131e345f0] Overriding selected pixel format to use uyvy422 instead.
[avfoundation @ 0x131e345f0] Stream #0: not enough frames to estimate rate; consider increasing probesize
Input #0, avfoundation, from '3:none':
Duration: N/A, start: 79064.891333, bitrate: N/A
Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, 3840x1600, 1000k tbr, 1000k tbn
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[swscaler @ 0x128008000] [swscaler @ 0x128018000] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x128008000] [swscaler @ 0x1280b8000] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x128008000] [swscaler @ 0x128038000] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x128008000] [swscaler @ 0x128058000] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x128008000] [swscaler @ 0x128148000] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x128008000] [swscaler @ 0x128100000] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x128008000] [swscaler @ 0x128110000] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x128008000] [swscaler @ 0x1180b0000] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x128008000] [swscaler @ 0x1380a8000] deprecated pixel format used, make sure you did set range correctly
[mp4 @ 0x131e5c8a0] Frame rate very high for a muxer not efficiently supporting it.
Please consider specifying a lower framerate, a different muxer or setting vsync/fps_mode to vfr
[libx264 @ 0x131e0f4d0] MB rate (6000000000) > level limit (16711680)
[libx264 @ 0x131e0f4d0] using cpu capabilities: ARMv8 NEON
[libx264 @ 0x131e0f4d0] profile High 4:4:4 Predictive, level 6.2, 4:4:4, 8-bit
[libx264 @ 0x131e0f4d0] 264 - core 164 r3095 baee400 - H.264/MPEG-4 AVC codec - Copyleft 2003-2022 - 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=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc=crf mbtree=0 crf=10.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
Output #0, mp4, to 'test.mp4':
Metadata:
encoder : Lavf59.27.100
Stream #0:0: Video: h264 (avc1 / 0x31637661), yuvj444p(pc, progressive), 1920x787, q=2-31, 1000k fps, 1000k tbn
Metadata:
encoder : Lavc59.37.100 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
frame= 1 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed=N/A
More than 1000 frames duplicated
Done
—
Reply to this email directly, view it on GitHub
<#40 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJUUL7F3WXUWX66MC23RD3WX6V2HANCNFSM6AAAAAAU6N4YYA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On some instances, even after Chronicler indicates that the recording has started, there seems to be a lag until the actual recording begins. In that, the first second or two are missing.
The text was updated successfully, but these errors were encountered: