View Code? Open in Web Editor
NEW
This is a screen recorder by ffmpeg that include desktop、speaker、mircphone.I will rewrite this project with c++ when star raised to 100!
License: GNU General Public License v3.0
C++ 19.32%
C 76.13%
Python 0.04%
JavaScript 4.32%
Makefile 0.11%
HLSL 0.09%
screen-recorder's Issues
how to ensure that capture pcm data in a correct time line when speaker has no data(process silent data)
use Duplication API to grab screen
timestamp need to set by frames(like obs does)
the app will crash at av_packet_unref sometimes
您好,我在学习您的代码,但是没有看到 av_compare_ts 的调用,比较好奇,所以请教一下
I checked the api doc , which says:
In a rotated mode, the surface that you receive from IDXGIOutputDuplication::AcquireNextFrame is always in the un-rotated orientation, and the desktop image is rotated within the surface. For example, if the desktop is set to 768x1024 at 90 degrees rotation, AcquireNextFrame returns a 1024x768 surface with the desktop image rotated within it.
Maybe the code missed this point.
Hi, peilinok, thank you for you project. I test you project and found the video and the speaker is not sync. Just see the attachment.
amrecorder.log
save.mp4
vlc 等播放器播放没问题,但是部分播放器播放有杂音,其波形图如下:
Can not capture audio under win7
Only played left channel,do not know why....
After the source code is compiled, the MP4 file generated by the normal operation cannot be played normally
In electron,get video encoders will crash when recording with hardware encoder,but will be ok when use soft encoder.
1.device locker?
2.multi thread?
Now the pause operation only stop to write packet,should stop grab images and get audio datas?
Hi, does this project support vaapi hardware accelerating?
Features
Seperate capturer and muxer
Overwrite in c++
Support more video capturers such as window、rect、game、camera and text or video sources
Add 、delete、update capturer any time
New event handler interface includes duration、preview、dbvolume and so on
should record and can update selected monitor、mic、speaker at any time.
add aresample to convert pcm format
录屏程序跑了50多个小时之后出现崩溃,不管是最新版本还是上一个版本,都出现同一个问题,时间都差不多50个小时