Question / Help Switching scene freeze the media source

Ludovic

New Member
Hi !

I will use OBS for multi source via a RTMP server (as described in resources page)
The sources are window capture from a dozen of computer, all streams are 'captured' by my server.

When in my studio, I add a scene for each source add i would like to switch them. But surprise !! the source turns off when i switch.

example:
scene 1 : source 1
scene 2 : source 2

I preview the scene 1 with the source 1 with 1-2 seconds delay (quite good)
I select the scene 2: BLACK!
I return to scene 1: image is freeze !!

From where the problem could come from ?

I use OBS Studio 0.14.2 (windows)

Regards
 
Last edited:

Suslik V

Active Member
Please, add 'Video Capture Device' to the Scene Collection and post log from that switching attempt.
 

Ludovic

New Member
Suslik,

I use only 'Media Source' but ok, i add my webcam as source and switch to it, then switch again to my RTMP source.
Here is the log part:

Code:
16:15:58.738: ---------------------------------
16:15:58.738: [DShow Device: 'Video Capture Device'] settings updated:
16:15:58.738:     video device: Chicony USB 2.0 Camera
16:15:58.738:     video path: \\?\usb#vid_04f2&pid_b2b0&mi_00#7&6e72f03&2&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
16:15:58.738:     resolution: 640x480
16:15:58.738:     fps: 30.00 (interval: 333333)
16:15:58.738:     format: YUY2
16:15:58.757: DShow: Run failed (0x800705AA):
16:16:01.320: Video Capture Device: DecodeDeviceId failed
16:16:01.320: Video Capture Device: Video configuration failed
16:16:32.171: source 'Video Capture Device' destroyed
16:16:44.171: [Media Source 'HP']: settings:
16:16:44.171:     input:                 
16:16:44.171:     input_format:            (null)
16:16:44.171:     is_looping:              no
16:16:44.171:     is_forcing_scale:        yes
16:16:44.171:     is_hw_decoding:          yes
16:16:44.171:     is_clear_on_media_end:   yes
16:16:44.171:     restart_on_activate:     yes
16:16:44.171: source 'HP' (ffmpeg_source) created
16:16:49.284: [Media Source 'HP']: settings:
16:16:49.284:     input:                   rtmp://192.168.0.40/live/test
16:16:49.284:     input_format:          
16:16:49.284:     is_looping:              no
16:16:49.284:     is_forcing_scale:        yes
16:16:49.284:     is_hw_decoding:          yes
16:16:49.284:     is_clear_on_media_end:   yes
16:16:49.284:     restart_on_activate:     yes
16:17:07.900: Switched to regular Preview mode
16:17:07.900: ------------------------------------------------
16:17:07.918: warning: unable to find input format
16:17:07.967: source 'Media hp' destroyed
16:17:08.135: warning: audio stream discovered after head already parsed
16:17:09.551: warning: unable to find input format
16:17:09.802: warning: audio stream discovered after head already parsed
16:17:15.807: warning: video stream discovered after head already parsed
16:17:48.184: warning: unable to find input format
16:17:51.717: [Media Source 'HP']: settings:
16:17:51.717:     input:                   rtmp://192.168.0.40/live/test
16:17:51.717:     input_format:          
16:17:51.717:     is_looping:              no
16:17:51.717:     is_forcing_scale:        yes
16:17:51.717:     is_hw_decoding:          yes
16:17:51.717:     is_clear_on_media_end:   yes
16:17:51.717:     restart_on_activate:     yes
16:17:51.778: warning: unable to find input format
16:17:55.251: warning: unable to find input format
16:17:57.404: warning: audio stream discovered after head already parsed
16:17:57.405: warning: video stream discovered after head already parsed
16:18:33.584: warning: unable to find input format
 

Ludovic

New Member
I added FLV input format:
here is the log
Code:
11:28:19.472: [DShow Device: 'Périphérique de capture vidéo'] settings updated:
11:28:19.472:     video device: Chicony USB 2.0 Camera
11:28:19.472:     video path: \\?\usb#vid_04f2&pid_b2b0&mi_00#7&6e72f03&2&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
11:28:19.472:     resolution: 640x480
11:28:19.472:     fps: 30.00 (interval: 333333)
11:28:19.472:     format: YUY2
11:28:19.491: DShow: Run failed (0x800705AA):
11:28:26.518: [Media Source 'HP']: settings:
11:28:26.518:     input:                   rtmp://192.168.0.40/live/test
11:28:26.518:     input_format:            flv
11:28:26.518:     is_looping:              no
11:28:26.518:     is_forcing_scale:        yes
11:28:26.518:     is_hw_decoding:          yes
11:28:26.518:     is_clear_on_media_end:   yes
11:28:26.518:     restart_on_activate:     yes
11:28:43.945: warning: video stream discovered after head already parsed
11:28:43.963: warning: audio stream discovered after head already parsed
11:29:03.581: warning: audio stream discovered after head already parsed
11:29:09.853: warning: video stream discovered after head already parsed

No change. I first view my live stream (I needed to restart it, hmmm), switch my my cam, switch back to the live stream, BLACK...

Anymay, I decided to use vMix (testing it and succesfuly manage all my live streams)
 

Suslik V

Active Member
You may try to uncheck Restart playback when source becomes active at 'Media Source' properties (this can solve some errors from your log).
 

music422

New Member
Having the same issue here. When I uncheck Restart playback when source becomes active that seems to solve the issue but I have to click OK and then go back in and recheck it. It's very cumbersome for use in a live broadcast.
 
Top