Monday, May 12, 2008

Home Media, uPNP and DNLA

Hello again,

In this entry I would like to share some of my experiences with uPNP and using Nseries and Playstation 3 together with a PC.

First a bit about uPNP (Universal Plug and Play) you can learn about it in wikipedia or other places, but basically is a protocol to connect various devices and share content over a wide range of connectivity options.

The uPNP and DNLA both have certifications and lists of certified products, I'm still confused a bit about what does it mean to be DNLA or uPNP certified. But at least these sites are resources to find out if the products you have are certified.

Now let's go back to more practical things. If you are not yet using uPNP, then there are several options to start your set-up. One of the simplest ones would be to have a PC with Windows Media Player 11 installed, and a WLAN router. NOTE: It may be possible to also do this using ad-hoc wlan connection but I've had limited success doing this.

In WMP11 you can enable uPNP sharing by going to Tools --> Options


Click to enlarge

Then in the Library tab select the Configure Sharing button and you get this:


Click to enlarge

Select to share then OK.

From this point on, even if WMP is not running the computer is "listening" for uPNP devices to share content with. After you turn on Sharing in your Nseries device a pop-up window will come in the PC to inform you that there is a new device you need to click on it to allow the device to connect to WMP11.

In the phone you will go to Menu --> Tools --> Connectivity --> Home media

From here a wizard will start to enable you to set what gets shared and which connection method to use, etc. Also when it connects to WMP11 you have to answer YES in the phone to allow it to connect to WMP11 as well.

Select Browse Home and you should find the computer and be able to browse, play, and transfer media files that are in the WMP11 library to the phone. It's very straight forwards. See screenshots. There are many limitations though. On the plus side, the computer just needs to be ON, WMP11 doesn't even need to be running and you don't need to LOG-into windows for this to work. On the bad side, only content that WMP11 can "see" meaning that it's in the WMP11 library can be shared. So MP4 and AVI files are not there by default, there are ways to make WMP11 "see" this files and add them to the library but that's outside the scope now. Also you can't control playback on the PC from the phone.

The next option is to install the Home media PC application called "simple center". You can install from here.

It's also fairly straight forwards. Simple center takes you to the next level. It allows you not only to share things from the PC to Phone but also the other way around and allows you to control playback of Music, Images or Videos directly from the Phone, so that it acts as a remote control for your media. If you buy the full version of Simple Center you can also access the files across the internet and not just on your local LAN.

I was going to post some screenshots but I've been mighty busy lately so I'm posting this AS IS. Leave a comment if you want some specific help about this post.

Until next time, keep on watching!...


10 comments:

Anonymous said...

Hola de nuevo Loco, una pregunta, estuve usando esta capacidad con Home Media Server y me parece que los videos no los reproduce por streaming si no que los copia al dispositivo. Tengo un N95-3 con el último firmware que te dá la posibilidad de reproducir en el dispositivo. Podrías verificar esto?? Saludos

El_loco said...

Hola, si lo he verfificado.

Es una forma de streaming, solo que debido a la velocidad de WLAN antes de reproducir el video tiene que crear un buffer de varios segundos (o mas de un minuto) el caso es que parece que descarga todo el video. En versiones anteriores solamente podias copiar al dispositivo y luego reproducir de manera local. Ahora puedes "play on device" o reproducir en Home Media. Tambien.

Espero que esto este claro.

Anonymous said...

Gracias por tu respuesta. La verdad, me desilusionó esto, si fuera streaming realmente, sería muy útil, quizás sea una limitación del programa y no del teléfono, ya que realplayer acepta streaming de video. Por otro lado, olvidé mencionar que creo que lo mismo ocurre con los archivos de música, sólo que no se nota tanto ya que un mp3 puede pesar como mucho 10 mb y no tarda prácticamente nada en transferirlo por WLAN, lo que dá la ilusión de streaming, cosa que se pierde en los videos cuando son archivos pesados (probé con uno de 300 mb aprox.). Una lástima, espero lo solucionen en próximos firmwares. Saludos y gracias nuevamente!!!

Anonymous said...

Hola de nuevo, podrías recomendarme algún método o programa para que en los videos no se observen pixels en escenas oscuras?? El tema es que hace rato estoy intentando convertir videos para aprovechar el tv-out de mi N95. Creo que la mejor opción es usar mpeg4 en VGA, en mp4, pero por más alto que vaya en el bitrate siempre se observan pixels en las situaciones que te comento. Sé que depende también de la calidad del archivo fuente, pero debe haber alguna forma de "limpiar" el video no?? Gracias de antemano. Cualquier ayuda será apreciada. Saludos desde Argentina.-

El_loco said...

Hola ariel.

No es facil eliminar por completo los cuadros negros que se observan en escenas obscuras.

Es parte del proceso de compresion del MPEG-4 que en efecto toma bloques de cada trama (frame) y los comprime como si fueran 1 solo pixel. Entonces se ve como un bloque muy grande aun cuando estas en resolucion de VGA.

Aumentando el bitrate del video, puedes hacer los bloques menos visibles pero el costo es grande. Los archivos seran mucho mas grandes.

Una opcion es utilizar algun setting de tu televisor que haga anti-aliasing, a veces lo llamand Cinema Mode o Clearview o algo asi, o el Sharpness. Lo que hace este setting es suavizar la imagen (la hace mas borrosa) de manera que las orillas de los bloques no son tan visibles.

Tambien te recomiendo bajar el brightness y el contrast en tu televisor para que no sean tan visibles.

Ojala esto te ayude, saludos.

Allan said...

Can you play video files like .avi in home media off your computer on a N95 or N82? It does not work yet with the N78. I get an error immediately after I try and open a file, might not be fully implemented in S60FP2 yet.

El_loco said...

Simple answer is NO.

This is because .AVI is not recognized by the phone. Even if you install a DIVX player the file is not recognized by the phone only by the application you installed.

Hopefully future products will allow you to "register" a codec or extension so that it will be handled.

Anonymous said...

Other option to consider is SymSMB. The latest version 3.50 is really nice. Hopefully the next version will play files from computer.

Anonymous said...

Dude, it's DLNA not DNLA.
"Digital Living Network Alliance"

El_loco said...

Well spotted!,

Send 50 euro to claim your prize...

joking...

Yes I misspelled it, but the link is correct. I'll fix it.

FREE TRIAL