Question / Help RTMP to Virtual Camera

Bensam123

Member
Does anyone know of a piece of software that would accept a RTMP stream and display it as a virtual camera for OBS to then use as a source? Preferably one that doesn't actually connect to a streaming site in order to do that, but can natively accept the stream.
 
I'm unsure of how you'd use that as a source in OBS. I know how to use VLC to stream and use it to capture desktop or use a plugin with it to capture other areas, but it doesn't allow you to use it as a source in another program like OBS, Xsplit, or FFsplit.

I'm particularly talking about a piece of software that shows up like a virtual camera and can be used as a source, such as DXtory, Xsplit, FFsplit, a webcam, uScreencapture, but the input itself is a RTMP stream.
 
That's what I was trying to avoid doing. VLC capture isn't exactly non-resource intensive either. Simply using it to capture a video playing yielded about 50% processor usage and made everything feel laggy. Trying to use it for a game would be unbearable. I've messed around with a few of the codecs in VLC. The best one I found was MJPEG using a .ogg container and a 30,000 bit rate, but that still used about 25% of my processor and made everything feel laggy.

This also incurs a quality hit when the source isn't full screen. Simply capturing a window that isn't full screen will reduce the quality of what is being captured as the player downsamples the picture to fit the window and screen region will capture that downsampled area (it's not a straight conversion). If you're playing on a smaller screen then the source, even full screen capture will still reduce the quality due to the aforementioned downsampling to fit the screen.
 
I'm guessing you're trying to find a work around to the feature that xsplit has "add livestream"??? Which allows you to display rmtp on your stream? If find one lemme know.
 
Sorta... this would be similar to the delay server, since the livestream option needs a media server to communicate with. I would like to be able to stream directly from one computer to another without needing to connect to a media server.

VLC is a option, but has above limitations.
 
I don't understand what you mean with the .ogg container and MJPEG. Where do you use these setting when you use a setup that was proposed here? Are you trying to stream directly from VLC?
 
No, the opening post has all the information in it. That was just something someone else suggested and I was listing my experience using it. I'm looking for a virtual camera that accepts RTMP streams, like DXtory only for RTMP instead of directx so I can feed a RTMP stream directly into OBS/FFsplit/Xsplit (insert your streaming program here).
 
vMIx has the ability to do this. better yet vidstudio has the ability to transfer a video device or a virtual camera input lossless across lan over udp or tcp. requires 1gbps lan speed or at least 100mbps compressed.
 
So, vidstudio looks interesting, but I don't understand the network transmit option. What is it transmitting to where? Is it a RTMP stream? How do you set something up to receive it? I looked at the help video and it basically just shows him turning it on, but it doesn't actually show what it connects to. This could be interesting if I can get it to work properly (especially since it's free)... Vmix looks like enterprise stuff.
 
What is it transmitting to where?Is it a RTMP stream? How do you set something up to receive it?
the scene gets transmitted to NetBridge.exe on the receiving computer via network transmitter.
so first you have to get familiar with the program, how to add modify and control and manage scenes/sources and also the video/CAM output settings.. when you have a scene ready at the resolution and fps that you want and you can see that it's working on the video output window then you can then run network transmitter put the ip of the receiving computer and leave the port as default and start.
now go to the second computer (assuming that the program is installed there aswell you need to configure the cam to match the output from PC1) after that go to the folder of the program and run NetBridge.exe select the protocol then you should see that you're starting to get frames from the other computer.. now simply run VidPlayer.exe to check the video or go to obs and add vidstudio as a device.
 
Interesting, so I've been playing around with it for a little bit and it seems like a decent program, it's just buggy and rather unreliable. I had it crash on me a few different times. You can't use a stage resolution larger then your display resolution when using the network transmit option (it gives a resolution mismatch error). The resolution I need (1680x1050) is missing from the selection window along with a lot of other common 16:10 resolutions.

I was unable to pair a audio source with the relay as it doesn't detect any audio devices on my system, which is weird cause I have like 10 of them. The FPS for the network transmit seems completely random at times, as is the network traffic. At times it will go from like 20fps to 60 and increase the network traffic by a lot, but it's seemingly not dependent at all based on the action on the screen... For instance it just happened when it was sitting on my desktop. There is no way to set this threshold either.

The FPS for the transmitted stream has a lot of variance in it too, so it looks inconsistent at times.

DXtory can't be properly used as a virtual camera source in this either, it gives a "Cannot create graph!" error. Changing the resolution in DXtory didn't affect this at all.

The quality of the downscaled video output is pretty low. Using bilinear scaling fixes this, but doubles and sometimes triples CPU usage.

I mean it does work, but it's nothing I could use to actually stream with in its current form.


Vmix allows you connect to a RTMP stream, but you need a media server for it. That's no different then the option for Xsplit, not really what I'm looking for.

So, if anyone has any other ideas I'm still looking. Preferably just a directshow plugin like DXtory that accepts RTMP streams without a media server.
 
you can't because rtmp uses a handful of virtual channels to transmit and receive data types wish mean you would always need a media server to be a cdn target. so if such plugin exist it has to communicate or be intgrated with a server rather than a client.
 
I believe RTMPsuck can be used for this, but I haven't found any tutorials on it and it'd still need to be used with VLC.

Xsplit has this option for premium users right now... So it is possible.
 
vlc can't directly broadcast rtmp protocol, rtmpsuck has to receive data from a server since it just forward packets and since the source has to be rtmp for that to work you would need the broadcasting software to communicate with a server first. i don't use xsplit but what i can tell you is that it has to have a server application for this to work over rtmp. would it be integrated or not integrated
 
Well what would stop a application from being able to act as a media server in order to receive a stream and act as a virtual camera for the data it receives? You make it sound like it's impossible... I'm simply inquiring with people to find out if they know of such a application.

Nothing says that a server can't be a client too or vice versa, matter of a fact that's how I did a bit of lan encoding.
 
nothing but it has to be done that way. while integrating a server app might help non experienced users to automate settings a bit it really is no different from using a free open source server like lets say red5.
 
Yeah, I'd say the majority of streamers are inexperienced with media servers and content distribution networks (myself included). That's part of the whole reason why we use OBS/Xsplit/FFsplit and stream to Twitch.

Something like this would be very useful for streaming locally, using it as a relay server, combining streams (as a workaround to this people use skype), server offloaded transcoding... There are a lot of different uses.
 
I've been running my own server with Flash Media Server and having people connect to it with Flash Media Live Encoder to send me there webcams and then taking that local rtmp and inputing it into vmix. Idk if this helps any but ya :p wnated to try with this vidstudio but seems more complicated then vmix
 
Back
Top