Comments (15)
Can you confirm the earliest version where this broke?
from obs-studio.
I am not sure. I paused streaming from end of january (with version 29.x) until may (with version 30.x). In 29.x it worked, in 30.x it does'nt.
from obs-studio.
Just tested this in 30.1.2 and it works fine. The video fades in and plays every time.
Please check in OBS Studio 30.2.0-beta3 (or newer) with hardware decoding disabled. Please also check in OBS Studio 30.1.2 with hardware decoding enabled and with it disabled. If it still happens, please try reproducing this without any third-party plugins. Which Media Source are you seeing this issue with, specifically?
from obs-studio.
from obs-studio.
I tried with hardware decoding disabled. The Video is playing once, after hiding and make it visible again, it won't play a second time. Whenever I enable or disable hardware decoding, the video plays once.
Tried starting OBS in safe mode - same issue.
Now I found out: If i uncheck (don't know the exakt english translation) "Show nothing, if playback ends", it works, and I can make the source unvisible and visible - the clip is playing every time.
Don't know why, and what to do, to get the good old "show nothing when playback ends" thing back.
from obs-studio.
Please provide a log file from Safe Mode where this problem occurs. As previously noted, I followed your Steps To Reproduce and did not have this issue occur.
from obs-studio.
I have no idea, what caused the issue. Without any changes (except OBS Studio updates and plugin updates) it suddenly occured. Until then it always worked fine.
Here the Logfile, started OBS in Safe Mode and klicked multiple times show/hide the source, while it played - as usual - the first time.
https://obsproject.com/logs/LZBwQhNwFUplRMnn
from obs-studio.
Please test this with a fresh scene collection in Safe Mode with only a single Media Source that is affected. The log is a bit too noisy to be sure of what's going on. It looks like the Media Source is failing to initialize hardware decoding, but you say that this isn't the issue.
I am still unable to reproduce this by repeating hiding and showing a source that has both Show and Hide transitions set to Fade.
from obs-studio.
Hm! Interesting! If i create a fresh scene in save mode with only THIS video, it works. What the heck? This is really strange. It works in normal mode, too.
Hmmmmmm! I have no idea why, but I think, this will help me solving the problem. Thank you very much for your support!
from obs-studio.
The problem is BACK!
After I noticed the error again, I installed OBS on a PC that never had OBS installed - the error is the same.
And now i can tell you exactly, how to reproduce the problem. If you like, you can use the same video as I did, here is the link:
https://www.xxl-radio.de/download/mark.mp4
Add a new media-source, use this video. Check all boxes to get a loop.
Show- and Hide-Transition: Fade
Now position the video on the screen: 1406px from left, 162px from top, 38px from right (you have to crop it for this), 117px from bottom.
Now remove the loop.
Now it happens: If you HIDE the video, WHILE it is playing: No Problem, it will always come up, if you make it visible again.
BUT: If you let play the video till its end, then hide the source, and make it visible again: It won't come up anymore.
Open the settings, uncheck hardware encoding, save, it will play again - until you let it play till the end.
Can you reproduce the issue now?
from obs-studio.
Please provide the OBS log from that session where it contains only the single problematic Media Source.
from obs-studio.
Here it is: https://obsproject.com/logs/OlhgmVwOM7Nwq3Rj
from obs-studio.
If you like, I can create a screencapture-video of all my steps.
from obs-studio.
Here is a video with this issue. Did not use the exact coordinates, but all steps like moving and cropping.
https://www.youtube.com/watch?v=ZrpOTvPCKf4
from obs-studio.
By the way, you can also see how the audio source does not disappear from the list at 1:28. It looks as if the video file is simply not closed as soon as the source is hidden.
Can you confirm this error?
from obs-studio.
Related Issues (20)
- [Windows 11] OBS crashes during regular Windows shutdown HOT 10
- macOS screen capture should automatically restart when display becomes available HOT 1
- PPA does not contain packages for Ubuntu 24.04 HOT 2
- OBS Navbar padding need some improvement, i have fixed it but i don't know how to contribute to UI OBS HOT 3
- New Windows load white HOT 1
- upgrade install of 30.2 beta 3 crashes & wont open on Ubuntu Studio 24.04 HOT 2
- error when building from source : Could NOT find FFnvcodec: Found unsuitable version "12.2.72.1" HOT 3
- Media Source not playing AV1 recordings correctly HOT 5
- "Use stream encoder" will not notify the user that it will follow the streaming service's limits, even if you're only recording.
- nvenc main10 vbr mode and nvidia driver problem HOT 4
- Output timer bug HOT 2
- OBS Beta Hybrid MP4 corrupting files when split by size is enabled HOT 3
- No audio output on Twitch live stream with Enhanced Broadcasting enabled. HOT 2
- Could not dynamically load CUDA (nvcuda.dll). On a AMD build. HOT 2
- Media source input removal causing audio cut off and monitoring desync on stream / recordings HOT 2
- PPA repo does not work on Ubuntu 24.04 HOT 1
- WebRTC WHIP - Auto gathering disabled in OBS 30.2.0-beta4 HOT 4
- OBS uses the microphone "permission" even when microphone capture is disabled HOT 1
- Hardware H264 encoding broken on RX 590 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obs-studio.