Question / Help media source stops updating

Bill S

New Member
Hi

I'm using obs studio v0.14.2 64bit running on Windows 10.

Our application is to stream a live feed from an IP camera on our network up to youtube. This seems to work fine for a while but after a relatively short period, maybe an hour or so maximum, the media source window in OBS appears to freeze. The streaming still appears to be running and youtube reports that it is still receiving data but the picture is frozen.

If I open the media source (just by double clicking it) and click OK then it will start refreshing with the live image from the ip camera again and work for a while longer before stopping.

The media source is reading the mjpeg stream from the ip camera like this http://x.x.x.x/live/0/mjpeg.jpg.

Any ideas how to resolve this much appreciated.

cheers,

Bill

logfile: https://gist.github.com/c8250c6a784d486d8505d4e505163da5
 

Bill S

New Member
I should say that I have also verified there does not appear to be any issue with the stream from the camera. This is still live after the media source window has stopped updating.
 

Suslik V

Active Member
1. Try to specify a Input Format: mpjpeg in 'Media Source' properties.
2. Try to add 'Video Capture Device' source into the scene collection (to make log verbose), wait for errors and post this log, please.
 

Bill S

New Member
I've added the input format: "mpjpeg"

I have also added a video capture device to the scene but there is not actual source for it to grab from on this machine. Not sure if that wll have the right effect.

Will leave it running for a while and see how we get on.

Cheers,

Bill
 

Suslik V

Active Member
OK. There is my post: Media Source - Input vs Input Format - RTMP ffplay/ffmpeg it has log file: https://gist.github.com/anonymous/dd8ab15027f10d89308d8e396391fa80 ,
can you perform a little test for clear result?

To do the test:
  1. You'll need to insert nonsense info into the Input Format field of the 'Media Source' (while there is no other sources in your Scene Collection) and see, is there any errors in your log (you may post it).
  2. You'll need to insert nonsense info into the Input Format field but add 'Video Capture Device' into the current Scene Collection (in my case, 'Video Capture Device' was a dummy camera device - ManyCam - but it initialized well; in your case it failed, maybe you'll need other device to complete the test). And see, is there any errors in your log (you may post it too).

Because, I didn't see any errors before 'stop' command in your current log (maybe it delayed somehow), I wonder - are errors not logged or there are no errors?
 

BarrySDCA

New Member
Any resolution to this? I have the same issue for quite some time now and it's frustrating. The picture freezes, I believe when there are dropped packets from the media source to the OBS software. The only way to unfreeze it is to open the media source and change it to make it reconnect.

It causes my webcam to freeze for hours till I get to it.

thank you
 
Top