INTERACT FORUM

More => Old Versions => JRiver Media Center 20 for Windows => Topic started by: masterjoe on April 18, 2015, 07:24:16 am

Title: Q: Webcam as DLNA source
Post by: masterjoe on April 18, 2015, 07:24:16 am
Want I want to do is to use a webcam attached to the Windows PC
where MC runs and stream it across the network to DLNA devices.

Can MC do this?
Title: Re: Q: Webcam as DLNA source
Post by: AndrewFG on April 18, 2015, 08:10:12 am
No. It cannot.
Title: Re: Q: Webcam as DLNA source
Post by: masterjoe on April 18, 2015, 08:38:46 am
Can ANY online resource be used as media source?
So that you could stream a webcam to a rtmp server e.g. and use this as online source in MC?
Title: Re: Q: Webcam as DLNA source
Post by: AndrewFG on April 18, 2015, 09:14:50 am
I think that if MC knows of an HTTP URL that points to a valid remote stream, then it can push that URL to a UPnP renderer to be played. (Obviously it depends on the renderer in question, whether it actually supports playing of the respective media type)..
Title: Re: Q: Webcam as DLNA source
Post by: masterjoe on April 18, 2015, 09:35:27 am
Some DLNA servers like Serviio and Plex can use online video streams to be used as DLNA video source.
I have a configuration here which does the following to show the desktop of my computer on my LG TV:

- nginx webserver with rtmp module
- OBS (open broadcaster software) to stream the desktop to an nginx rtmp path
- Serviio to provide the rtmp stream from nginx as DLNA video to DLNA clients

The URL that I have is:

rtmp://192.168.1.21/app/test

So if MC would support this URL as media source which becomes a library entry (no file path but a URL instead) then the need for Serviio would be eliminated.

Maybe MC should support URLs as media source for videos, images and audio?
Title: Re: Q: Webcam as DLNA source
Post by: jmone on April 18, 2015, 07:08:00 pm
Actually, MC has most of this in place and I can view a WebCam stream from an Android Tablet using EOS as the remote (and I guess I could use EOS push this stream to another Renderer but have not tested).  I've updated my thread Live TV Now Works (eos)! (http://yabb.jriver.com/interact/index.php?topic=91845.0) with some info and picks on this

Edit: How it works is:
- MC is asked to record the stream locally and it starts a JTV File off
- MC is then asked to stream this JTV file
- MC then transcodes the JTV file to a TS file (with AVC/AAC) in my case and sends it to the remote like any other Video file request