Question / Help newbie: streaming puts out black screen/missing video

neuronetv

New Member
running fedora 25 with obs studio 19.0.3.
firstly gotta say how chuffed I am to have found this great little video switcher.
I'm having problems streaming video from obs to ffmpeg. I've followed the instructions here:
https://obsproject.com/forum/resources/obs-studio-send-an-udp-stream-to-a-second-pc-using-obs.455/
but when I try to play the stream in vlc on a windows pc (on the same lan) it's a black screen. And if I try running ffmpeg with obs as input I get "Missing video stream which is required by this ffm"
Backtracking a bit...
In obs if I do Settings -> Output -> Output Mode -> Advanced and select h264_nvenc as the video encoder obs throws 'an unspecified error' and the log shows 'failed to open video codec: unknown error occurred'. If I select flv as the video encoder the stream starts without error but feeds a black screen to vlc. Same if I use mpeg4.
Final info: the ffmpeg command i'm using on the receiving machine starts like this:
ffmpeg -y -f mpegts -i udp://<machine-ip>:9999...blah de blah...
If I output ffmpeg to a video file I get a video file that's black (but does have sound in it). If I try output to a video server I get the "Missing video stream which is required by this ffm" error.
Here is my obs log: http://198.91.92.112/2017-07-28-08-37-02.txt
Thanks for any help.
 
Top