"os_process_pipe_write for info structure failed" When Streaming via SRT

csirolli

New Member
I tried to stream to Castr.io from OBS Studio using SRT, which Castr.io supports (although in beta). I set the url as a custom service, put in the url and clear the stream key. I start streaming, but Castr.io doesn't receive anything. I check the logs in OBS Studio and I see this:

Code:
11:53:09 AM.469: [x264 encoder: 'streaming_h264'] preset: veryfast
11:53:09 AM.469: [x264 encoder: 'streaming_h264'] profile: main
11:53:09 AM.469: [x264 encoder: 'streaming_h264'] tune: zerolatency
11:53:09 AM.469: [x264 encoder: 'streaming_h264'] settings:
11:53:09 AM.469: rate_control: CBR
11:53:09 AM.469: bitrate: 4000
11:53:09 AM.469: buffer size: 4000
11:53:09 AM.469: crf: 0
11:53:09 AM.469: fps_num: 30
11:53:09 AM.469: fps_den: 1
11:53:09 AM.469: width: 1280
11:53:09 AM.469: height: 720
11:53:09 AM.469: keyint: 60
11:53:09 AM.469:
11:53:09 AM.471: libfdk_aac encoder created
11:53:09 AM.472: libfdk_aac bitrate: 128, channels: 2
11:53:09 AM.472: [ffmpeg muxer: 'adv_stream'] Writing file 'srt://srt-ingest.castr.io:9998?pkt_size=1316&streamid=#!::r=********************************'...
11:53:25 AM.813: [ffmpeg muxer: 'adv_stream'] os_process_pipe_write for packet data failed
11:53:25 AM.813: [ffmpeg muxer: 'adv_stream'] Output of file 'srt://srt-ingest.castr.io:9998?pkt_size=1316&streamid=#!::r=********************************' stopped
11:53:25 AM.813: Output 'adv_stream': stopping
11:53:25 AM.813: Output 'adv_stream': Total frames output: 488
11:53:25 AM.813: Output 'adv_stream': Total drawn frames: 490
11:53:25 AM.813: Output 'adv_stream': Reconnecting in 5 seconds..
11:53:25 AM.813: libfdk_aac encoder destroyed

Any ideas what I need to do to get this working?
 

BadBadDog

New Member
Ironically, I have been experimenting with SRT to Castr.io also using a variety of spurces and I AM able to get OBS to work. In Castr when I set the source to SRT Castr gives me a URL that includes the streamid parameter. In OBS all I had to do is go to CUSTOM, then STREAM and copy that entire URL into the SERVER field, nothing in the STREAM KEY field. Works like a champ out of both OBS and Larix. Very low latency.
 
Top