When obs is minimized and screen recording starts, the video capture window is not displayed on the screen.

david burns

New Member
Windows 11 system, when obs minimizes and starts screen recording, the video capture window of the camera is not displayed on the screen. But after actually stopping, open the recorded file and find that the video capture window is displayed normally. It feels very strange, how to solve this problem? Thank you very much !!!
 

Suslik V

Active Member
DirectShow devices usually has only one digital output that cannot be shared between different programs. Thus, either you are using OBS to capture the camera or you are using camera in the Skype, Discord (or any other VoIP application).

If you have different issue, please, clarify what you doing step by step. And after reproducing all steps in OBS:
 

david burns

New Member
https://obsproject.com/logs/ajvUwa3yQPlI4KVP,
Thank you for your answer. My demand is actually very simple. I want to record a demonstration video. During the screen recording process, I want to be able to see the portrait capture window of the camera on the screen. I could do this before. I feel that this is a basic need. The current situation is that I cannot see it during the recording process, but I can see this portrait capture window in the video file after recording. Look at the attachment, I hope you can understand what I mean.
 

Attachments

  • In_obs_20250130173915.png
    In_obs_20250130173915.png
    320.3 KB · Views: 7
  • mp4_file_20250130174334.png
    mp4_file_20250130174334.png
    115.2 KB · Views: 7
  • Screen_20250130173915.jpg
    Screen_20250130173915.jpg
    402.9 KB · Views: 7

koala

Active Member
What you show in your last post is a screenshot of your original source, a browser window. OBS cannot modify this original source. It just captures it. Compositing takes place within OBS only, so you need to use the OBS preview to check how your final video will look like.

If you have a big enough monitor, try to place OBS and the thing you capture next to each other, so you can see both. Or instead of OBS itself, use the windowed projector feature to create a resizable preview of your output: right-click the preview > "Windowed projector (preview)".

As last resort, you can move the OBS window to a second monitor to see it all times.
If you only have one single laptop monitor, your options are limited.
 

david burns

New Member
Previously, this zoom in and out effect could be applied in real time and the effect could be seen during the screen recording process after being set up in OBS. Now it doesn't work either (there is no reaction during the screen recording process). However, in the recorded mp4 file, the zoomed in or zoomed out result can be seen (there is only the result without the display process).
 

koala

Active Member
What do you mean with "this zoom in and out effect"? OBS doesn't have a native zoom functionality. Either you used some plugin in OBS or you used the zoom functionality of your browser. Or may be the Windows integrated magnifier. Either way, you will not be able to get your main screen augmented by OBS with the visuals that OBS will add to the video output. Whatever you did in the past, it was probably not something OBS did provide.
 

david burns

New Member
This won't work. The screen recording is to record the full screen, which means that the whole screen is divided into two windows, and then the screen recording is also two windows. Another solution is that I have to buy another monitor? This is more impractical unless absolutely necessary, but I think the software should be able to solve it, because it can be used normally before, especially the ZOOM Follow function, which suddenly stops working after being used.
 

Suslik V

Active Member
...Another solution is that I have to buy another monitor?
Second display device is "must have device" for capturing and streaming.

...I want to be able to see the portrait capture window of the camera on the screen. I could do this before
As was said, this functionality wasn't in any previous version of modern OBS. All you have is the "Windowed Projector" of the source and nothing else.

OBS can hide itself (Settings > Hide OBS windows from screen capture) but not projectors. Meanwhile, if you run "Windowed Projector (Source)" with Always On Top setting (right-click menu) then you can experiment by using not native solutions like mentioned in this post: https://obsproject.com/forum/thread...uring-literally-everything.170383/post-671115 (3rd-party util that is running as standalone application and hides selected windows from the capture).

Note.
By the "plugins" users means additional modules (.dll files) that are installed or copied to special folder manually. And the "scripts" is just scripts.

Code:
11:27:13.266: [obs-scripting]: Loaded python script: zoom_and_follow_mouse.py
11:27:13.280: [obs-scripting]: Loaded lua script: obs-zoom-to-mouse.lua
As far as I know, the scripts you are using only modifying the size of the sources in OBS, like manual Transform (Ctrl + E) do. So, these scripts working only inside of OBS.

The only issue you have is that one of the scripts causing a memory leak:
Code:
15:37:59.931: [obs-scripting]: Unloaded lua script: obs-zoom-to-mouse.lua
15:38:00.218: Not all sources were cleared when clearing scene data:
15:38:00.218:
15:38:00.218: - 窗口采集
...
15:38:01.010: Number of memory leaks: 15
better to have 0 memory leakage for better performance. You may report it to the creator of the script (may be author of the script has a fix).
 

david burns

New Member
第二显示设备是捕获和流式传输的“必备设备”。


如上所述,现代 OBS 的任何先前版本都没有此功能。您只有源的“窗口投影仪”,没有其他任何东西。

OBS 可以隐藏自身(设置 > 隐藏 OBS 窗口,不让其显示屏幕截图),但不能隐藏投影仪。同时,如果您使用 Always On Top 设置(右键单击菜单)运行“窗口投影仪(源)”,则可以尝试使用非原生解决方案,如本文中所述:https://obsproject.com/forum/thread...uring-literally-everything.170383/post-671115(作为独立应用程序运行并隐藏选定窗口,不让其显示屏幕截图的第三方实用程序)。

笔记。
用户所说的“插件”是指手动安装或复制到特定文件夹的附加模块(.dll 文件)。而“脚本”只是脚本。

[代码]
11:27:13.266:[obs-scripting]:已加载 python 脚本:zoom_and_follow_mouse.py
11:27:13.280:[obs-scripting]:已加载 lua 脚本:obs-zoom-to-mouse.lua
[/代码]
据我所知,您使用的脚本仅修改 OBS 中源的大小,就像手动变换(Ctrl + E)一样。因此,这些脚本仅在 OBS 内部起作用。

您唯一的问题是其中一个脚本导致内存泄漏:
[代码]
15:37:59.931:[obs-scripting]:已卸载 lua 脚本:obs-zoom-to-mouse.lua
15:38:00.218:清除场景数据时并未清除所有源:
15:38:00.218:
15:38:00.218: - 窗口焦点
...
15:38:01.010:内存泄漏数量:15
[/代码]
最好是 0 内存泄漏以获得更好的性能。您可以将其报告给脚本的创建者(脚本的作者可能会修复此问题)。
 

david burns

New Member
I don't think this puzzling solution should be the final one. This is a core and highly frequently - used function that is also very easy to understand. Moreover, this function has already been implemented in the software. Since the entire camera capture window can be seen in the screen - recording result file, it's really confusing that the window is hidden during the screen - recording process. It's likely that the developers accidentally turned off the display switch, or some more complex implementation was modified by misoperation. As a user, I can't come up with a better reason to explain this.
 

david burns

New Member
To be honest, the zoom - in and zoom - out plugin function like "zoom follow" is just icing on the cake. It can be completely dispensed with. What's really frustrating is that the camera capture window is hidden during screen recording.
 

Suslik V

Active Member
Top