Skip to content
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

1.avi播放黑屏 #3

Open
bluesea422 opened this issue May 15, 2023 · 1 comment
Open

1.avi播放黑屏 #3

bluesea422 opened this issue May 15, 2023 · 1 comment

Comments

@bluesea422
Copy link

你好,你的代码中有一个保存视频为1.avi的功能,选择播放它是半黑屏。该怎么解决?其余功能都正常,包括播放网络视频流和本地下好的视频,唯独代码里保存的1.avi不能播放

@mahuifa
Copy link
Owner

mahuifa commented Aug 26, 2023

你说的是Screencap吗,这是一个录屏的demo,可以设置全屏录制,但是我在代码里面默认设置的是部分区域录制,将代码中av_dict_set(&dict, "video_size", "500x400", 0)这一行注释了就可以全屏录制了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants