Latest version of OBS fails to load MUX...

rtmaki2000

New Member
Hello, I have installed the latest version of OBS, and suddenly it will no longer stream to my restream local server. I have had this working in an older version, and in fact if I run an older version it still works.

Here is the error I am getting.

03:03:57.303: ==== Streaming Start ===============================================
03:03:57.303: [ffmpeg muxer: 'simple_stream'] Writing file ' rtmp://192.168.0.2:1935/live'...
03:03:57.640: [ffmpeg muxer: 'simple_stream'] os_process_pipe_write for info structure failed
03:03:57.640: [ffmpeg muxer: 'simple_stream'] ffmpeg-mux: Couldn't find an appropriate muxer for ' rtmp://192.168.0.2:1935/live'
03:03:57.640: Couldn't initialize muxer
03:03:57.640:
03:03:57.640: [ffmpeg muxer: 'simple_stream'] Output of file ' rtmp://192.168.0.2:1935/live' stopped
03:03:57.640: Output 'simple_stream': stopping
03:03:57.640: Output 'simple_stream': Total frames output: 1
03:03:57.640: Output 'simple_stream': Total drawn frames: 20
03:03:57.641: Output 'simple_stream': Reconnecting in 24 seconds..
03:03:57.663: warning: 2 frames left in the queue on closing
03:04:05.208: ==== Shutting down ==================================================

What could be causing this error... or the inability of ffmpeg to find a muxer???

Please I need this resolved tomorrow if possible ... thank you very much!
 

rtmaki2000

New Member
Okay it turns out to be something really stupid.... if you have this same issue with the latest version of OBS, make sure you don't accidentally have any leading or trailing spaces in streaming URL definition.

Here is my email back to restreamer after I downgraded to get the appropriate error message, so I knew where to look and fix this.


Dude, you won't believe what caused this. I personally feel it is sloppy programming in my opinion. So, I downgraded one version, and got a different error message saying their was an invalid URL. So, I kept checking and everything looked fine and I couldn't understand this at all. Frustrating. But then I looked once more and noticed there might be a leading space, from a copy and past earlier when I defined this. And sure enough there was! Grrrr!


So, the sloppiness is both in the new version not giving the correct error message, and with OBS in general not stripping leading and trailing white space when filed. This made me waste so much time, as well as your because of laziness on the programmers side.


This is up and working again though, so thank you for your patience and time kind sir!

###################################

This issue can be closed, but I feel OBS programmers need to pay attention to that detail, and strip out leading and trailing white space when filed, as well as send up the appropriate and NOT misleading error messages in the log. Why would you remove field validation in subsequent versions? Sorry, just spent two days on this, with it being a leading white space character, with no indication of such.
 

sim72

New Member
Hi,

In my case, OBS was trying to reconnect every few seconds.
I found that I didn't fill the scheme part in URI.
10.0.0.243/live
must be
rtmp://10.0.0.243/live

Maybe a bit of validation on that field (Settings->stream->server) will help to avoid this stupid mistake like this.

Thanks for all your work.


Code:
Dec  4 11:17:30 pop-os com.obsproject.Studio.desktop[3635]: info: ==== Streaming Start ===============================================
Dec  4 11:17:30 pop-os com.obsproject.Studio.desktop[3635]: info: [ffmpeg muxer: 'adv_stream'] Writing file '10.0.0.243/live'...
Dec  4 11:17:31 pop-os com.obsproject.Studio.desktop[3870]: Couldn't find an appropriate muxer for '10.0.0.243/live'
Dec  4 11:17:31 pop-os com.obsproject.Studio.desktop[3870]: Couldn't initialize muxer
Dec  4 11:18:13 pop-os com.obsproject.Studio.desktop[3635]: warning: [ffmpeg muxer: 'adv_stream'] os_process_pipe_write for info structure failed
Dec  4 11:18:13 pop-os com.obsproject.Studio.desktop[3635]: info: [ffmpeg muxer: 'adv_stream'] Output of file '10.0.0.243/live' stopped
Dec  4 11:18:13 pop-os com.obsproject.Studio.desktop[3635]: info: Output 'adv_stream': stopping
Dec  4 11:18:13 pop-os com.obsproject.Studio.desktop[3635]: info: Output 'adv_stream': Total frames output: 1268
Dec  4 11:18:13 pop-os com.obsproject.Studio.desktop[3635]: info: Output 'adv_stream': Total drawn frames: 1309
Dec  4 11:18:13 pop-os com.obsproject.Studio.desktop[3635]: info: Output 'adv_stream':  Reconnecting in 10 seconds..
Dec  4 11:18:13 pop-os com.obsproject.Studio.desktop[3635]: [aac @ 0x55745e691c40] Qavg: 65536.000
Dec  4 11:18:13 pop-os com.obsproject.Studio.desktop[3635]: [aac @ 0x55745e691c40] 2 frames left in the queue on closing
Dec  4 11:18:23 pop-os com.obsproject.Studio.desktop[3635]: info: ---------------------------------
Dec  4 11:18:23 pop-os com.obsproject.Studio.desktop[3635]: info: [x264 encoder: 'streaming_h264'] preset: fast
Dec  4 11:18:23 pop-os com.obsproject.Studio.desktop[3635]: info: [x264 encoder: 'streaming_h264'] settings:
Dec  4 11:18:23 pop-os com.obsproject.Studio.desktop[3635]: #011rate_control: CBR
Dec  4 11:18:23 pop-os com.obsproject.Studio.desktop[3635]: #011bitrate:      2500
Dec  4 11:18:23 pop-os com.obsproject.Studio.desktop[3635]: #011buffer size:  2500
Dec  4 11:18:23 pop-os com.obsproject.Studio.desktop[3635]: #011crf:          0
Dec  4 11:18:23 pop-os com.obsproject.Studio.desktop[3635]: #011fps_num:      30
Dec  4 11:18:23 pop-os com.obsproject.Studio.desktop[3635]: #011fps_den:      1
Dec  4 11:18:23 pop-os com.obsproject.Studio.desktop[3635]: #011width:        1920
Dec  4 11:18:23 pop-os com.obsproject.Studio.desktop[3635]: #011height:       1080
Dec  4 11:18:23 pop-os com.obsproject.Studio.desktop[3635]: #011keyint:       250
Dec  4 11:18:23 pop-os com.obsproject.Studio.desktop[3635]: info: ---------------------------------
Dec  4 11:18:23 pop-os com.obsproject.Studio.desktop[3635]: info: [FFmpeg aac encoder: 'avc_aac_stream'] bitrate: 160, channels: 2, channel_layout: 3
Dec  4 11:18:23 pop-os com.obsproject.Studio.desktop[3635]: info: [ffmpeg muxer: 'adv_stream'] Writing file '10.0.0.243/live'...
Dec  4 11:18:25 pop-os com.obsproject.Studio.desktop[3904]: Couldn't find an appropriate muxer for '10.0.0.243/live'
Dec  4 11:18:25 pop-os com.obsproject.Studio.desktop[3904]: Couldn't initialize muxer
 
Top