Ahpub - Computer Step by Step

Setting up a home media server upnp dlna. How to use DLNA Server on Windows? Stream media from PC to TV. Home server with Plex

Alternative program to play video/photo/music on your TV. Any video stored on your computer is launched from the remote control. You don't need to run from a computer. During playback, your TV does all the work, and the computer acts as a network storage. This allows you to watch HDTV movies stored even on older weak computers.

(First, delete AllShare from your computer and all the "junk" files that it created next to the video files (if there were a lot of folders, it's better to search for these files by search extension name and delete them from there)

Home media server (UPnP, DLNA, HTTP)

Program website http://www.homemediaserver.ru/

latest version on the home page

Download update http://www.homemediaserver.ru/forum/viewforum.php?f=2

At the time of writing the instructions, 1.20.2 was installed and updated to 1.20.3

Edited after update to 1.42

Settings:

Run the program. Everything you see on the left is displayed on the TV. I believe that all folders should be hidden, except for "Media Resource Directories".

When you enter the "All Movies" folder on the TV, the TV starts downloading all open video files, and since there are a lot of them, it will take a lot of time each time and, as a result, will turn out to be terribly inconvenient (both in time and in sorting).

Hide folders one at a time by right-clicking and selecting Hide Folder. The same should be done for the categories "Music" and "Photo".

There are folders that cannot be hidden. In this case, I recommend deleting them.

"Settings" - "Media resources" - delete unnecessary folders and add our own, do not change the green dots

(Most users only need to add 2 folders - Desktop and My Documents)

"Settings" - "Devices" - uncheck "Auto-detect" and select the model of your TV, we do not pay attention to the year and resolution

(For example, I have "Samsung TV 2012 (DNLA, 16:9, 720x406)", "Samsung TV 2009 (DLNA, 16:9, 1920x1080)" was previously selected, but this mode could not play *.MOV)

(If you still can't open folders from the TV, return the "Auto-detect" checkbox)

"Settings" - "Server" - In the name field, enter the name you like or leave the standard one (the name of your PC)

"Settings" - "Advanced" - check the boxes "Start the program at the start of a Windows session" and "Install the Windows service "Home media server (UPnP)"


(if your PC is quite old, you have little RAM, or you are not going to change the program settings often - do not check the "Start the program at the start of a Windows session" checkbox)

"Settings" --> "Media Resources" --> "Service"

Folder "Service" --> Uncheck "Unload server", "Stop server"

Sort folder --> Uncheck "Sort folder in each media resource folder"

Folder "Bookmarks" --> Uncheck "Folder" Add bookmark "in each folder of media resources

Folder "Bookmarks" --> Uncheck "Folder" Navigation History "in the root folder of media resources

A window will pop up asking "Do you want to scan your media directories?" - click "YES" and wait for completion.

Click "Start Server", or right-click on the tray icon and select "Start Server"

Exploitation:

Adding a new movie

When you have downloaded a new movie, in order for it to appear in the list on your TV, you must perform any of the steps to restart the service. After that, the program synchronizes its list with files. From simple to complex:

Option 1: Restart your computer

Option 2: Run the program and click "Restart"

Option 3: Manually restart the "Home Media Server (UPnP)" service

Option 4: Run net command stop HmsService && net start HmsService

Option 5: Create a *.bat file to restart the service. Great convenience in subsequent operation. Instructions for creating will be provided below.

Video rewind

In contrast to turning on rewind when viewing via USB, rewind when viewing via the network is slightly "cut down", namely, the standard rewind buttons do not work (only play, pause and stop). There are 2 options for rewinding

Option 1: Press the "Tools" button on the remote control and rewind in 1 minute increments, going to any point in the movie almost immediately. (This feature does not work on all TVs)

Option 2: When watching a movie, use the "Left" "Right" buttons (rewind by 10 seconds) (which navigate through the folders.

Occasionally there may be files that cannot be rewound at all (depending on codec and your TV)

File not being read

If you can't read any *.mkv file (very rare *.avi) referring to "Unsupported video codec" (this message may also pop up with an unsupported audio codec) there are solutions to the problem. (For example, my TV firmware T-MST4DEUC-1026.0 supports H.264 BP / MP / HP up to H.264, Level 4.1. H.264 FMO/ASO/RS formats are not supported)

Option 1: Use the "Transcode" function

Option 2: If "Transcoding" does not work on your TV model, select a Philips device of a suitable configuration instead of Samsung in the program settings and restart the server. In this case, the notification on the TV about the connected device will not be displayed. We go to the desired folder and the files in which the error was written will begin to open. This method is not suitable for everyone, only for those who have a more or less modern PC, because. on the PC, the process of encoding video "on the fly" is launched when viewing, and weak computers simply do not have time to process it without visible "freezing" of the video. With this method, rewind will not work, however, if you go to the transcoding folder (located in the same folder with the video file being opened) and then go to the folder with parts of the movie, you can select any piece of the file (intervals of 1 minute), at the end of the minute, another piece will not "loaded" taking a break in a couple of seconds, and everything is reproduced as it should be.

But I do not advise leaving the Philips device in the program settings, because. when viewing any video file (even one that went without problems), it will still be encoded and load the processor on the computer.

(Tested on Samsung LE32D550K1W)

Information:

The "Transcoding" function provides for on-the-fly video transcoding, etc. if it is not possible to view it in normal mode (if your TV does not support any format or codec).

In my case (Samsung TV), transcoding helps very rarely, I have to select a separate mode for each video.

Creating a *.bat file to quickly restart the service (after adding a new movie)

Since there are 2 processes running at the same time on the computer:

C:\Program Files\Home Media Server\hmssvc.exe - a service that does all the main work (for those who set the option "Install the Windows service "Home Media Server (UPnP)" in the settings

C:\Program Files\Home Media Server\hms.exe - program for managing through the interface (open folder, change settings, etc.)

We remove in the settings "Autoload the program at the start of a Windows session"

Create a text document "Server restart.txt" on the desktop

Copy the following text there

net stop HmsService && net start HmsService

On very old/weak/slow computers, where the service does not have time to finish quickly and instead of restarting it turns off the service, another option (I recommend it to everyone):

@echo off

(net stop HmsService && net start HmsService) || (ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & net start HmsService) || (ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & net start HmsService) || (ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & net start HmsService) || (ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & net start HmsService) || (ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & net start HmsService) || (ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & net start HmsService) || (ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & net start HmsService) || (ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & net start HmsService) || (ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & net start HmsService) || (ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & net start HmsService) || (ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & net start HmsService) || (ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & net start HmsService) || (ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & net start HmsService) || (ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & net start HmsService) || (ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & net start HmsService) || (ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & net start HmsService) || (ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & net start HmsService) || (ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & net start HmsService) || (ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & net start HmsService) || (ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & net start HmsService) || (ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & net start HmsService) || (ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & net start HmsService) || (ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & net start HmsService) || (ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & net start HmsService) || (ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & net start HmsService) || (ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & net start HmsService) || (ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & net start HmsService) || (ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & net start HmsService) || (ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & net start HmsService) || (ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & net start HmsService) || (ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & ping localhost >nul & net start HmsService) || (ping localhost >nul & ping local

The entire command must be entered on one line (except @echo off)

Save and rename "Server restart.txt" to "Server restart.bat"

When downloading a new movie from the network / Internet, run "Restart server.bat" and after a few seconds (depending on the power of the PC and the number of open files) everything will be ready

Now, in the age of mobile technology and gadgets, linking them within the home network seems to be a very convenient opportunity. For example, you can organize a DLNA server on your computer that will distribute video, music and other media content to your other devices. Let's see how you can create a similar point on a PC with Windows 7.

DLNA is a protocol that provides the ability to view media content (video, audio, etc.) with various devices in streaming mode, that is, without a complete download of the file. The main condition is that all devices must be connected to the same network and support the specified technology. Therefore, first of all, you need to create a home network, if you do not already have one. It can be organized using both wired and wireless connections.

Like most other tasks in Windows 7, you can organize a DLNA server using third-party software or limit yourself only to the capabilities of your own toolkit operating system. Next, we will consider the various options for creating such a distribution point in more detail.

Method 1: Home Media Server

The most popular third-party program for creating a DLNA server is HMS ("Home Media Server"). Next, we will study in detail how it can be used to solve the problem posed in this article.

  1. Run the downloaded Home Media Server setup file. The integrity of the distribution will be checked automatically. In field "Catalog" you can specify the address of the directory where it will be unpacked. However, here you can leave the default value. In this case, just click "Run".
  2. The distribution kit will be unpacked to the specified directory and immediately after that the program installation window will open automatically. In the field group "Installation Directory" you can specify the disk partition and path to the folder where you want to install the program. By default, this is a separate subdirectory of the standard program installation directory on disk C. It is recommended that you do not change these settings unless absolutely necessary. In field "Group of programs" name will be displayed Home Media Server. It also makes no sense to change this name unnecessarily.

    But opposite the parameter "Create desktop shortcut" You can check the box as it is unchecked by default. In this case, on "Desktop" the icon of the program will appear, which will further simplify its launch. Then press "Install".

  3. The program will be installed. After that, a dialog box will be displayed asking if you want to run the application right now. It should be pressed "Yes".
  4. The Home Media Server interface will open, as well as an additional initial settings shell. In its first window, the device type is indicated (by default, DLNA Device), port, types of supported files, and some other parameters. If you are not an advanced user, we advise you not to change anything, but simply click "Further".
  5. In the next window, the directories are assigned, in which the files available for distribution and the type of this content are located. By default, the following standard folders are open in the user's shared directory with the corresponding content type:
    • Videos(movies, subdirectories);
    • "Music"(music, subdirectories);
    • Pictures(photo, subdirectories).

    The available content type is highlighted in green.

  6. If you want to distribute from a certain folder not only the type of content that is assigned to it by default, then in this case you only need to click on the corresponding white circle.
  7. It will change color to green. Now from this folder it will be possible to distribute the selected type of content.
  8. If you want to connect a new folder for distribution, then in this case click on the icon "Add" in the form of a green cross, which is located on the right side of the window.
  9. A window will open "Select directory", where you must select the folder on the hard drive or external media from which you want to distribute media content, and then click OK.
  10. After that, the selected folder will be displayed in the list along with other directories. By clicking on the appropriate buttons, which will add or remove the green color, you can specify the type of content being distributed.
  11. If, on the contrary, you want to disable distribution in some directory, then in this case, select the appropriate folder and press the button "Delete".
  12. After that, a dialog box will open in which you should confirm your intention to delete the folder by clicking "Yes".
  13. The selected directory will be deleted. After you have configured all the folders that you intend to use for distribution and assigned a content type to them, click "Ready".
  14. A dialog box will open asking if you want to scan the media directories. Here you need to click "Yes".
  15. The above procedure will be performed.
  16. After the scan is completed, the program database will be created, and you will be required to click on the element "Close".
  17. Now, after the distribution settings are completed, you can start the server. To do this, click the icon "Launch" on the horizontal toolbar.
  18. It may then open a dialog box "Windows Firewall" where you will need to click "Allow Access", otherwise many important functions of the program will be blocked.
  19. After that, distribution will begin. You will be able to view available content from devices that are connected to the current network. If you need to turn off the server and stop distributing content, just click on the icon "Stop" on the Home Media Server toolbar.

Method 2: LG Smart Share

Unlike the previous program, the LG Smart Share application is designed to create a DLNA server on your computer that distributes content to devices manufactured by LG Corporation. That is, on the one hand, this is a more highly specialized program, but on the other hand, it allows you to achieve better tuning quality for a specific group of devices.

  1. Unpack the downloaded archive and run the installation file located in it.
  2. Welcome window will open "Install Wizard" in which you press "Further".
  3. Then a window with a license agreement will open. To accept it, press "Yes".
  4. At the next stage, you can specify the program installation directory. The default is the directory LG Smart Share, which is located in the parent folder LG Software, located in the standard directory for placing programs for Windows 7. We recommend that you do not change these settings, but simply click "Further".
  5. After that, LG Smart Share will be installed, as well as all the necessary system components if they are not available.
  6. After the completion of this procedure, a window will appear informing you that the installation was successfully completed. Here you need to make some settings. First of all, pay attention to the fact that opposite the parameter "Enable all SmartShare data access services" there was a checkmark. If for some reason it is missing, then you need to set this mark.
  7. By default, content will be distributed from standard folders "Music", "Photos" And "Video". If you want to add a directory, then in this case press "Change".
  8. In the window that opens, select the desired folder and click OK.
  9. After the desired directory is displayed in the field "Install Wizard", press "Ready".
  10. Then a dialog box will open where you should confirm your consent to the use of LG Smart Share system information by clicking OK.
  11. After that, access via the DLNA protocol will be activated.

Method 3: Windows 7 Native Toolkit

Now let's look at the algorithm for creating a DLNA server using Windows 7's own toolkit. In order to use this method, you must first organize a homegroup.

  1. click "Start" and go to point "Control Panel".
  2. In the block "Network and Internet" click on name "Choose homegroup options".
  3. The homegroup editing shell opens. Click on the caption "Select media streaming options...".
  4. In the window that opens, click "Enable media streaming".
  5. Next, a shell opens, where in the area "Media Library Name" you need to enter an arbitrary name. The same window displays devices that are currently connected to the network. Make sure that among them there are no third-party equipment for which you do not want to distribute media content, and then click OK.
  6. Next, you return to the window for changing the settings of the home group. As you can see, the checkmark in front of the item "Streaming..." already installed. Check the boxes next to the names of those libraries from which you are going to distribute content over the network, and then click "Save Changes".
  7. As a result of the specified actions, a DLNA server will be created. You can connect to it from home network devices using the same password that you set when creating the homegroup. You can change it if you wish. To do this, you need to go back to your homegroup settings and click "Change password…".
  8. A window opens where you again need to click on the inscription "Change password", and then enter the desired passphrase to be used when connecting to the DLNA server.
  9. If the remote device does not support some of the content formats that you are distributing from your computer, then in this case you can use the standard Windows Media Player to play it. To do this, run the specified program and click on the control panel "Flow". In the menu that opens, go to .
  10. A dialog box will open where you need to confirm your action by clicking "Allow remote control...".
  11. Now you can view content remotely using Windows Media Player, which is hosted on a DLNA server, that is, on your desktop computer.
  12. The main disadvantage of this method is that it cannot be used by owners of Windows 7 "Starter" and "Home Basic" editions. It can only be used by users who have the Home Premium edition or higher installed. For the rest of the users, only options using third-party software remain available.

As you can see, creating a DLNA server on Windows 7 is not as difficult as it seems to many users. The most convenient and accurate setting can be made using for these purposes third party programs. In addition, a significant part of the work on adjusting the parameters in this case will be carried out automatically by the software without direct user intervention, which will greatly facilitate the process. But if you are against the use of third-party applications unless absolutely necessary, then in this case it is quite possible to configure the DLNA server for distributing media content using only the operating system's own tools. Although the latter feature is not available in all editions of Windows 7.

Now every Internet user has the opportunity to store their media files on a home server without using the computer's memory. This is very convenient if you collect your favorite movies, videos or video clips, besides, you can view all this not only on your PC, but also on your LG TV. This review is devoted to a detailed consideration of this topic and answers the question of users how to set up home media upnp server dlna for LG TV.

To be able to use all the benefits of a home server on your LG TV, you need to connect the computer and TV to the Internet via the same network, it can be both wi-fi and cable.

Also, to synchronize devices, you will need a special program, it is called "Home Media Server", you can download it from the official LG Store. In the case of a PC, the program can be downloaded on the official website of the manufacturer, but you need to activate it on both devices, then agree to the offer to synchronize them.

  • If it is not possible to cope with the settings on your own, use a very convenient offer that is presented on our website: call the master of the LG service center to your home.

How to setup upnp dlna home media server for tvLG: Access folders and files


Open the settings interface of the "Home Media Server" program and select the "media resources" item, here specify the path to all the folders and files that you want to play on the TV. To simplify your task, you can open access to local drives, then you can play all the files. As soon as you decide on access rights, you can start the dlna server itself, the corresponding button is located at the very bottom of the main screen of the Home Media Server program.

All visible devices to connect will be shown here, you need to select your TV.

In turn, on TV, you can activate the Smart Share application, on smart TV it is installed by default. Open Smart Share, on the main screen you will see a folder icon labeled DLNA server. This icon will appear if you have already activated and configured the "Home Media Server" on your computer or laptop and both devices are connected to the same network.

Open the server folder and select the video or music folder, now you can play them on your smart TV.

Home media server (UpnP-DLNA-HTTP) is a server that gives media resources ( audio and video files, images, photos) computer to another UPnP ( DLNA) devices on your home network - TVs ( Samsung, LG, Philips, Sony, Toshiba, etc.), game consoles ( Sony Playstation, XBOX), media players ( WD TV Live, Popcorn Hour, Dune, Boxee Box, IconBit, ASUS O!Play, iPad/iPhone/iPod), mobile and RDA devices.

The server includes a transcoder (FFMPEG) that allows you to convert media into a format that will be supported by the playback device. There is also an option to convert media frame format to playback screen format. Transcoding can be selected from any minute.

Feature Home media server (UpnP-DLNA-HTTP)

You can redirect Internet radio and Internet TV streams to another media device. UrnP-DLNA-HTTP supports digital TV, which can also be redirected to another device. The server also supports external and internal subtitles. There is also support for controlling Digital Media Renderer devices, where you can use the "Play on ..." option for both a single device and a group of individual devices.

All devices that have a DLNA module have been tested in advance and have a corresponding sticker on the case.

It is also necessary to have a description of the type of content supported, there is a DLNA server, a printer or a player, that is, the module allows you to transfer a certain type of content - images, signals, sound.

All these devices can freely connect to each other, depending on the purpose, the technique has its own class. The classes can be distinguished as follows:

  1. Digital media servers. This category includes storage devices such as mobile phones.
  2. Digital media players. This includes devices that can receive and play digital content. For example, a TV that can play music and sound from another device.

How to create a home network

The home network layout for DLNA is similar to the internet data transfer scheme.

It is he who provides the connection of devices to each other. To set up a home network, you will need the following:

  1. TV to play.
  2. Media server for data storage, phone or laptop.
  3. Router - used to ensure the connection of receiving and transmitting devices.
  4. Cables or wireless adapters are required to connect DLNA to the network.
  5. Powerline adapters - allow you to distribute the Internet over the mains.

The first thing to do is to connect the playback media device to the router.

There are several ways to do this - connecting via the mains, via a cable, or via a wireless bridge.

  • Connecting your media device to the mains is a great way to set up a network throughout your home. For this, ordinary electricity is used, cables are not needed. Only an adapter for a Powerline socket can be useful for setup.
    All that is required is to simply connect the TV to the network through the adapter and the DLNA home network will start functioning.
  • If the router and TV are located nearby, it is best to use a cable connection. The Ethernet cable is connected to the port of the TV and the router.
  • Creating a media group using a wireless bridge is appropriate when the TV is located far from the router. The bridge can be connected to a TV via a cable, and to a router via a wireless network.

Advice: optimal solution for any case there will be an electrical connection.

The next configuration step is connecting other DLNA devices to the router.

After connecting to the TV, you can connect any DLNA server to the network - laptop, phone, tablet.

But if this is not possible, you can connect them in the ways indicated above.

Thus, the TV will be able to "see" the devices and play content.

Setting up DLNA homegroup devices

In order for the TV to recognize the content, you need to set up media group devices. For a laptop and tablet, you will need to install a special software.

These may include the following programs:

  • Windows Media Player 11 or 12.
  • VAIO Media Server (for Sony TV).
  • AllShare for Samsung.
  • LG Smart Share.
  • home media server.

It is necessary to allow group access to the laptop, this can be done in the software settings by activating media sharing.

These can be music files, images or videos. Typically, a library or list is created that can later be played by a media device.

Not every smartphone can be connected to a DLNA group. But those that have this feature connect via Wi-F to a wireless router.

Loading...