DLNA: Difference between revisions

From wiki.jriver.com
Jump to navigation Jump to search
No edit summary
 
(29 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[File:DLNAoptions.jpg|300px|thumb|right]]
== Introduction ==
[http://www.dlna.org/home DLNA] is an industry protocol for sharing media among devices. It first appeared in JRiver Media Center 14.0. You will need to enable [[Media Network]] in MC's Options. In most cases, you can just set the DLNA / UPnP Server to "Generic DLNA". XBox and PS3 are exceptions and selections for these are available.


DLNA is very similar to UPnP, so UPnP is also supported.
[http://www.dlna.org/home DLNA] is an industry protocol for sharing media among devices. It first appeared in JRiver Media Center 14.0. You will need to enable Media Network in MC's Options. In most cases, you can just set the DLNA / UPnP Server to "Generic DLNA". XBox and PS3 are exceptions and selections for these are available in MC15 and above.

DLNA is a super-set of UPnP, which previous versions of MC supported.

[[File:DLNAoptions.jpg|300px|thumb|left|]]


== Terminology ==
== Terminology ==
Line 34: Line 31:
== Hardware Known to Work with MC ==
== Hardware Known to Work with MC ==


A list of [http://yabb.jriver.com/interact/index.php?topic=55379.0 DLNA TV's]
The [http://wiki.jriver.com/index.php/Id JRiver Id]


A list of [http://yabb.jriver.com/interact/index.php?topic=55380.0 DLNA Boxes]
There are some forum threads that list [http://yabb.jriver.com/interact/index.php?topic=55379.0 DLNA TV's] and [http://yabb.jriver.com/interact/index.php?topic=55380.0 DLNA Boxes] but these threads are quite old and the number of DLNA devices in the world is enormous. This means the best thing to do is just try it and see whether it works.


== Setup Instructions ==
== Setup Instructions ==


MC14 introduced a DLNA renderer and controller, in addition to the previously existing DLNA Server (formerly known as the UPnP Server). The controller can play media from the DLNA server to another copy of MC or to a device.
JRiver includes a DLNA server, renderer and controller. The controller can play media from the DLNA server to another copy of MC or to a device.


1. Go to Tools > Options > Media Network and turn on the functions you need in each copy of MC. Normally, this would be the controller and server on the machine you're playing from, and the renderer on the machine you're playing to. If you're not sure or you have trouble, turn on all 3 DLNA options on the right side.
1. Go to Tools > Options > Media Network and turn on Media Network in each copy of MC.


2. Add a Server in Tools > Options > Media Network. Usually "Generic DLNA" will work, except if you have a PS3, XBox or Sony TV (see below).
2. Servers can be set in Tools > Options > Media Network. The default "Generic DLNA" will usually work, except if you have a PS3 or XBox.


3. On the server, under Media Network, you will find an "Access Key". Copy it down.
3. If you want to use MC as the renderer, start the copy of MC that is running the renderer. Or turn on any device you want to use.


4. If you want to use MC as the renderer, start the copy of MC that is running the renderer. Or turn on any device you want to use.
4. Restart the copy that is running the controller and server. In a minute or two, MC will display any renderers it finds under Playing Now. Select the one you want. Then drag a file to it. This should play on the remote device.


5. Restart the copy that is running the controller and server. In a minute or two, MC will display any renderers it finds under Playing Now. Select the one you want, then drag a file to it. This should play on the remote device.
5. DLNA Servers are displayed under File > Library. Once you select one, you can browse its library as if it were a normal MC library.

6. DLNA Servers are displayed under Playing Now. Once you select one, you can browse its library as if it were a normal MC library.

The process is to choose a server to play from, and then to choose the renderer you want to play to. You can use a controller to do this, as well. The controller and the server may be the same device.

When you use Gizmo or JRemote, you can enter the Access Key from step 3 above. This will connect you to that server.

7. [https://yabb.jriver.com/interact/index.php/topic,120146.msg830889.html#msg830889 DHCP should be used to assign IP addresses].


==Sony Bravia Setup==
==Sony Bravia Setup==

Newer Sony devices may work without these steps. Try the steps above first.


1. Go to "Tools > Options > Media Network > Add and configure DLNA servers..." dialog and click the "Add" button and select "Sony BD/TV".
1. Go to "Tools > Options > Media Network > Add and configure DLNA servers..." dialog and click the "Add" button and select "Sony BD/TV".
Line 63: Line 70:


5. Drag a video file onto the Bravia TV item under "Playing Now" and select "Play".
5. Drag a video file onto the Bravia TV item under "Playing Now" and select "Play".



== Using DLNA -- Finding DLNA Renderers and Servers ==
== Using DLNA -- Finding DLNA Renderers and Servers ==


In MC16 and later, both Renderers and Servers will be found under Playing Now in the tree on the left. It may take a minute or so for the devices to show up.
Both Renderers and Servers will be found, in that order, under Playing Now in the tree on the left. It may take a minute or so for the devices to show up.


'''Media Renderers''' will appear under Playing Now as zones about a minute after MC is started. In the screenshot below, the WDTV Live and the Streamium are renderers, and Zone 1 is the local machine. When a renderer is selected, any playback will be sent to it. In MC16, both Renderers and Servers are under Playing Now.
'''Media Renderers''' will appear under Playing Now as zones about a minute after MC is started. In the screenshot below, the WDTV Live and the Streamium are renderers, and Zone 1 is the local machine. When a renderer is selected, any playback will be sent to it. In MC16, both Renderers and Servers are under Playing Now.
Line 73: Line 79:
[[Image:DLNA1.jpg]]
[[Image:DLNA1.jpg]]


Two '''DLNA Servers''' are shown in the list below (from MC15's File/Library). Selecting one will open it as a library in MC.
Two '''DLNA Servers''' are shown in the list below (from File/Library). Selecting one will open it as a library in MC.


In MC16, the DLNA Servers will be found under Playing Now, along with the DLNA Renderers.
The DLNA Servers will be found under Playing Now, along with the DLNA Renderers.


The Buffalo [http://www.amazon.com/Buffalo-Technology-LinkStation-Attached-LS-XH1-0TL/dp/B001RPD02M/ref=sr_1_2?ie=UTF8&s=electronics&qid=1264523438&tag=wwwjrmediacen-20 Linkstation] shown is a NAS drive that includes a DLNA Server. Any media moved to the drive will automatically show up in the MC library after the library is opened.
The Buffalo [http://www.amazon.com/Buffalo-Technology-LinkStation-Attached-LS-XH1-0TL/dp/B001RPD02M/ref=sr_1_2?ie=UTF8&s=electronics&qid=1264523438&tag=wwwjrmediacen-20 Linkstation] shown is a NAS drive that includes a DLNA Server. Any media moved to the drive will automatically show up in the MC library after the library is opened.
Line 83: Line 89:
== Connected Media - Streaming Web Radio via DLNA ==
== Connected Media - Streaming Web Radio via DLNA ==


Tutorial thanks to SecondJon from this thread [http://yabb.jriver.com/interact/index.php?topic=78662.0]. Note: There seems to be several formats for Streaming Radio and some of these links don't work with all DLNA renderers.
1. Go to thestreamcenter.com and find the Web Radio streaming URL. Right click on the link and select Copy Link Location

1. You need to find the public Web Radio streaming URL. Sites like these for the US [http://thestreamcenter.com/] and Australia [http://www.australianliveradio.com/] let you browse the Radio Stations and copy the streaming URL.

2. JRiver In Media Center 18, click File, Open URL…

[[Image:DLNA_CM_2-File-Open-URL.png]]

3. Paste the station URL and check the box to “Show web media options…”

[[Image:DLNA_CM_3-Paste-URL-and-check-Show-options-checkbox.png‎]]

4. Check the “Add stream to web media” checkbox, and you may want to check “Keep using this answer.”

[[Image:DLNA_CM_4-Check-Add-stream.png]]

5.After a moment the station will begin to play and you’ll see the station listed in the library under Audio > Connected Media > My Connected Media. Right click and click Tag or just Alt+Enter to rename the stream.

6. Right click and send to a playlist. (note: The first time you can also click “Create Playlist” and created one such as “Streaming Radio” to hold all your streaming radio links. You can also click and drag the item to your playlist.)

[[Image:DLNA_CM_6-Drag-or-right-click-your-way-to-playlist.png]]

7.On Gizmo, connect to the server and select the playback zone. Tap Playlists and select your "Streaming Radio" playlist then the required Streaming Radio. After a moment the Gizmo app will show the Playing Now Screen. You can also push the Streaming Radio station to other DLNA renderers.



[http://yabb.jriver.com/interact/index.php?board=7.0 Media Network Board on Interact]
[http://yabb.jriver.com/interact/index.php?board=7.0 Media Network Board on Interact]

== Issues with DLNA discovery ==

You may need to turn off Windows Media Sharing services. In Windows 7:


To disable the service, use Computer Management (right click on Computer select "Manage").

Select the Services tree from "Services and Applications", find "Windows Media Player Network Sharing Service".

Right click on the service, select Properties.

Click the "Stop" button to stop the service if is is running.

Set the startup type to "Manual".

Click OK.

== Advanced DLNA settings ==

Since MC23 we've added more options to the DLNA server settings that allow you to select which particular files are sent in a specified format. The checklist of file types to be converted is under the DLNA server settings Audio->Advanced. When the output is set to "Specified format only when necessary" the checklist under advanced will be active and you can select which file types your renderer can't handle. They will be converted to whatever format you've selected. Cue/Bin files will ALWAYS be converted when anything other than "Original Format" is selected. So for example, if you ONLY wanted to convert Cue/Bin pairs, you can set "Specified format only when necessary" and de-select all of the other file types.

The option under the DLNA server configuration Advanced section "Bitstream DSD" (requires DoPE compatible renderer) will ALWAYS send dsf, dff and sacd files as DoPE regardless of the audio format settings above.
If you have a native DSD compatible renderer, you should not use this option. Instead use either "Original format" or "Specified format only when necessary" as de-select the file types including DSD that you don't want converted.

== More ==

AndrewFG's excellent description of [https://yabb.jriver.com/interact/index.php/topic,119987.msg829612.html#msg829612 How a DLNA Renderer works]

AndrewFG explains why [https://yabb.jriver.com/interact/index.php/topic,120146.msg830889.html#msg830889 DHCP should be used to assign IP addresses].

[https://yabb.jriver.com/interact/index.php/topic,125100.0.html DLNA Audio Path]

[https://wiki.jriver.com/index.php/DSP_Over_DLNA DSP Over DLNA]

[https://wiki.jriver.com/index.php/DSD#DSD_Over_DLNA DSD Over DLNA]

[[Category: Frequently Asked Questions]]
[[Category: Frequently Asked Questions]]
[[Category: Media Network]]
[[Category: Linked From MC]]

Latest revision as of 11:35, 11 August 2023

DLNAoptions.jpg

DLNA is an industry protocol for sharing media among devices. It first appeared in JRiver Media Center 14.0. You will need to enable Media Network in MC's Options. In most cases, you can just set the DLNA / UPnP Server to "Generic DLNA". XBox and PS3 are exceptions and selections for these are available.

DLNA is very similar to UPnP, so UPnP is also supported.

Terminology

DLNA Terminology

1. DMS -- Digital Media Server -- where the media resides

2. DMP -- Digital Media Player -- where the media is played

3. DMR -- Digital Media Renderer -- where media is played, but with ability to respond to a controller

4. DMC -- Digital Media Controller -- software control of the renderer -- functions as a remote


UPnP Terminology (similar)

1. A Device (a server)

2. A Renderer (the client)

3. A Control Point (something like a remote control)

Our UPnP Server is a "Device" (#1 above).

More information on UPnP can be found in the article on UPnP Server.

Hardware Known to Work with MC

The JRiver Id

There are some forum threads that list DLNA TV's and DLNA Boxes but these threads are quite old and the number of DLNA devices in the world is enormous. This means the best thing to do is just try it and see whether it works.

Setup Instructions

JRiver includes a DLNA server, renderer and controller. The controller can play media from the DLNA server to another copy of MC or to a device.

1. Go to Tools > Options > Media Network and turn on Media Network in each copy of MC.

2. Servers can be set in Tools > Options > Media Network. The default "Generic DLNA" will usually work, except if you have a PS3 or XBox.

3. On the server, under Media Network, you will find an "Access Key". Copy it down.

4. If you want to use MC as the renderer, start the copy of MC that is running the renderer. Or turn on any device you want to use.

5. Restart the copy that is running the controller and server. In a minute or two, MC will display any renderers it finds under Playing Now. Select the one you want, then drag a file to it. This should play on the remote device.

6. DLNA Servers are displayed under Playing Now. Once you select one, you can browse its library as if it were a normal MC library.

The process is to choose a server to play from, and then to choose the renderer you want to play to. You can use a controller to do this, as well. The controller and the server may be the same device.

When you use Gizmo or JRemote, you can enter the Access Key from step 3 above. This will connect you to that server.

7. DHCP should be used to assign IP addresses.

Sony Bravia Setup

Newer Sony devices may work without these steps. Try the steps above first.

1. Go to "Tools > Options > Media Network > Add and configure DLNA servers..." dialog and click the "Add" button and select "Sony BD/TV".

2. With "Sony BD/TV" highlighted in the top window, select Video Conversion: Always convert  and Encoder: MPEG2/DVD PAL stream if your TV is PAL or MPEG2/DVD stream if it is NTSC.  Many Bravia TVs work with either PAL or NTSC setting.

3. If you are using PAL in step #2 above, click on "Advanced" and change the "Video DLNA Override:" text to read MPEG_PS_PAL rather than MPEG_PS_NTSC. Dismiss the dialog with Ok.

4. Right-click on the Bravia TV item under "Playing Now" and select "Associate with DLNA server" from the menu and select the "Sony BD/TV" item from the sub-menu.

5. Drag a video file onto the Bravia TV item under "Playing Now" and select "Play".

Using DLNA -- Finding DLNA Renderers and Servers

Both Renderers and Servers will be found, in that order, under Playing Now in the tree on the left. It may take a minute or so for the devices to show up.

Media Renderers will appear under Playing Now as zones about a minute after MC is started. In the screenshot below, the WDTV Live and the Streamium are renderers, and Zone 1 is the local machine. When a renderer is selected, any playback will be sent to it. In MC16, both Renderers and Servers are under Playing Now.

DLNA1.jpg

Two DLNA Servers are shown in the list below (from File/Library). Selecting one will open it as a library in MC.

The DLNA Servers will be found under Playing Now, along with the DLNA Renderers.

The Buffalo Linkstation shown is a NAS drive that includes a DLNA Server. Any media moved to the drive will automatically show up in the MC library after the library is opened.

DLNA2.jpg

Connected Media - Streaming Web Radio via DLNA

Tutorial thanks to SecondJon from this thread [1]. Note: There seems to be several formats for Streaming Radio and some of these links don't work with all DLNA renderers.

1. You need to find the public Web Radio streaming URL. Sites like these for the US [2] and Australia [3] let you browse the Radio Stations and copy the streaming URL.

2. JRiver In Media Center 18, click File, Open URL…

DLNA CM 2-File-Open-URL.png

3. Paste the station URL and check the box to “Show web media options…”

DLNA CM 3-Paste-URL-and-check-Show-options-checkbox.png

4. Check the “Add stream to web media” checkbox, and you may want to check “Keep using this answer.”

DLNA CM 4-Check-Add-stream.png

5.After a moment the station will begin to play and you’ll see the station listed in the library under Audio > Connected Media > My Connected Media. Right click and click Tag or just Alt+Enter to rename the stream.

6. Right click and send to a playlist. (note: The first time you can also click “Create Playlist” and created one such as “Streaming Radio” to hold all your streaming radio links. You can also click and drag the item to your playlist.)

DLNA CM 6-Drag-or-right-click-your-way-to-playlist.png

7.On Gizmo, connect to the server and select the playback zone. Tap Playlists and select your "Streaming Radio" playlist then the required Streaming Radio. After a moment the Gizmo app will show the Playing Now Screen. You can also push the Streaming Radio station to other DLNA renderers.


Media Network Board on Interact

Issues with DLNA discovery

You may need to turn off Windows Media Sharing services. In Windows 7:


To disable the service, use Computer Management (right click on Computer select "Manage").

Select the Services tree from "Services and Applications", find "Windows Media Player Network Sharing Service".

Right click on the service, select Properties.

Click the "Stop" button to stop the service if is is running.

Set the startup type to "Manual".

Click OK.

Advanced DLNA settings

Since MC23 we've added more options to the DLNA server settings that allow you to select which particular files are sent in a specified format. The checklist of file types to be converted is under the DLNA server settings Audio->Advanced. When the output is set to "Specified format only when necessary" the checklist under advanced will be active and you can select which file types your renderer can't handle. They will be converted to whatever format you've selected. Cue/Bin files will ALWAYS be converted when anything other than "Original Format" is selected. So for example, if you ONLY wanted to convert Cue/Bin pairs, you can set "Specified format only when necessary" and de-select all of the other file types.

The option under the DLNA server configuration Advanced section "Bitstream DSD" (requires DoPE compatible renderer) will ALWAYS send dsf, dff and sacd files as DoPE regardless of the audio format settings above. If you have a native DSD compatible renderer, you should not use this option. Instead use either "Original format" or "Specified format only when necessary" as de-select the file types including DSD that you don't want converted.

More

AndrewFG's excellent description of How a DLNA Renderer works

AndrewFG explains why DHCP should be used to assign IP addresses.

DLNA Audio Path

DSP Over DLNA

DSD Over DLNA