INTERACT FORUM

More => Old Versions => JRiver Media Center 20 for Windows => Topic started by: masterjoe on April 22, 2015, 08:41:46 am

Title: RTMP URL not playable across network (DLNA, Gizmo)
Post by: masterjoe on April 22, 2015, 08:41:46 am
Because I want my desktop to be broadcasted in my network I did the following:
- served an RTMP stream of the Windows Desktop using OBS (open broadcaster software) + NGINX with RTMP module;
   resulting URL: rtmp://192.168.1.21/app/live

Now inside MC I did the following:
- added this URL via this method http://wiki.jriver.com/index.php/DLNA#Connected_Media_-_Streaming_Web_Radio_via_DLNA (http://wiki.jriver.com/index.php/DLNA#Connected_Media_-_Streaming_Web_Radio_via_DLNA)
   to the library
- added the playlist where the URL is in to a DLNA server

Now when I try playing the stream via DLNA it does not work. Some DLNA clients say unknown filetype and others simply state it can't be played or even say nothing at all. Playing the video stream via DLNA fails.

Also tried to play the stream using Gizmo with no success. Gizmo remains in "Preparing..." and continously displays "Error communicating with server". Playing the video stream via Gizmo fails.

Playing the video stream directly inside MC using the exact same URL works fine.
Playing the video stream with VLC and the exact same URL works fine.

Open Broadcaster uses Quick Sync (H264) to encode the video. There is no audio stream present in the encoded stream .
Title: Re: RTMP URL not playable across network (DLNA, Gizmo)
Post by: masterjoe on April 25, 2015, 10:12:00 am
Why does the described scenario not work? Any hints, suggestions?
Title: Re: RTMP URL not playable across network (DLNA, Gizmo)
Post by: Hendrik on April 25, 2015, 10:13:04 am
It doesn't work because your DLNA client doesn't support RTMP.  MC only forwards URLs to DLNA clients directly.
Title: Re: RTMP URL not playable across network (DLNA, Gizmo)
Post by: AndrewFG on April 25, 2015, 02:03:28 pm
Hardly any renderers support RTMP -- most rely (only) on HTTP ...
Title: Re: RTMP URL not playable across network (DLNA, Gizmo)
Post by: masterjoe on April 25, 2015, 07:09:30 pm
So... instead of simply forwarding the URL would it be possible for MC to re-wrap (and eventually transcode) the video using a suitable container format and its own URL? Because MC CAN obviously read the RTMP data and render it. So it should be possible to send it in a suitable format to other renderers?

That would ideed be nice  :)
Title: Re: RTMP URL not playable across network (DLNA, Gizmo)
Post by: jmone on April 25, 2015, 07:17:17 pm
Out of interest did you try playing the stream in EOS to the local device?

Edit - Thinking some more it will not work in EOS either.  EOS does use MC to start transcoding streams then sends that stream but it is just for the ones under Television (inc webcams).
Title: Re: RTMP URL not playable across network (DLNA, Gizmo)
Post by: masterjoe on April 25, 2015, 07:33:21 pm
Well as you were asking... I made a test. And it is somewhat disappointing  :-\
When opening the library entry EOS says: "An error occurred attempting to play the video."

As I said - MC can definitively play this RTMP stream when I play it in the desktop player (display view)!

This takes us back to:
Instead of simply forwarding the URL would it be possible for MC to re-wrap (and eventually transcode) the video using a suitable container format and its own URL? Because MC CAN obviously read the RTMP data and render it. So it should be possible to send it in a suitable format to other renderers?
Title: Re: RTMP URL not playable across network (DLNA, Gizmo)
Post by: AndrewFG on April 25, 2015, 09:37:55 pm
This takes us back to:
Instead of simply forwarding the URL would it be possible for MC to re-wrap (and eventually transcode) the video using a suitable container format and its own URL? Because MC CAN obviously read the RTMP data and render it. So it should be possible to send it in a suitable format to other renderers?

It would be possible. But not soon ...