Samsung AllShare uPnP/DLNA

Discuss alternative media renderers (not PS3) supported by PS3 Media Server (e.g. Xbox 360, TVs &c.)

Re: Samsung AllShare uPnP/DLNA

Postby marqo » Fri Dec 30, 2011 6:33 pm

I'm tested it on my [TV]UE32D6000 and I noticed:
- I cannot move FF and FR during playback
- subtitles working fine
- to load the movie taks longer

What to do with FF and FR?

Code: Select all
[New I/O server boss #1 ([id: 0x00c4df0b, /192.168.11.100:5001])] TRACE 18:35:34.550 Creating new pipeline
[New I/O server worker #1-1] TRACE 18:35:34.550 Opened request handler on socket /192.168.11.107:37812
[New I/O server worker #1-1] TRACE 18:35:34.550 Request: HTTP/1.0 : HEAD : get/0$1$3/refill-puncture-720p.avi
[New I/O server worker #1-1] TRACE 18:35:34.550 Matched media renderer "Samsung UE32D6000" based on address /192.168.11.107
[New I/O server worker #1-1] TRACE 18:35:34.550 Received on socket: getcontentFeatures.dlna.org: 1
[New I/O server worker #1-1] TRACE 18:35:34.550 Received on socket: Host: 192.168.11.100:5001
[New I/O server worker #1-1] TRACE 18:35:34.550 Recognized media renderer Samsung UE32D6000
[New I/O server worker #1-1] TRACE 18:35:34.550 HTTP: get/0$1$3/refill-puncture-720p.avi / 0-0
[New I/O server worker #1-1] TRACE 18:35:34.550 Asked stream chunk : TimeRange [start=null, end=null] of refill-puncture-720p.avi and player MEncoder
[New I/O server worker #1-1] INFO  18:35:34.550 Starting transcode/remux of refill-puncture-720p.avi
[New I/O server worker #1-1] TRACE 18:35:34.566 Looking for an audio track with lang: pl
[New I/O server worker #1-1] TRACE 18:35:34.582 Looking for an audio track with lang: eng
[New I/O server worker #1-1] TRACE 18:35:34.582 Choosed a default audio track: Audio: AC3 / lang: und / flavor: null / ID: 1
[New I/O server worker #1-1] TRACE 18:35:34.582 Found subtitles track: Sub: SubRip / lang: und / flavor: null / ID: 100 / FILE: D:\MediaServer\refill-puncture-720p.srt
[New I/O server worker #1-1] TRACE 18:35:34.582 Found external file: D:\MediaServer\refill-puncture-720p.srt
[New I/O server worker #1-1] TRACE 18:35:34.582 channels=2
[New I/O server worker #1-1] DEBUG 18:35:34.675 Creating pipe \\.\pipe\mencoder1325266534660
[New I/O server worker #1-1] TRACE 18:35:34.894 Successfully initialized buffer to 50 000 000 bytes.
[Thread-19] DEBUG 18:35:34.909 Waiting for pipe connection \\.\pipe\mencoder1325266534660
[Timer-0] TRACE 18:35:34.909 buffered: 0 bytes / inputs: 0
[win32/mencoder.exe] DEBUG 18:35:34.972 Starting "C:\Program Files (x86)\PS3 Media Server\win32\mencoder.exe" -ss 0 -quiet D:\MediaServer\refill-puncture-720p.avi -quiet -quiet -oac copy -of mpeg -quiet -quiet -mpegopts format=mpeg2:muxrate=500000:vbuf_size=1194:abuf_size=64 -ovc lavc -channels 2 -lavdopts debug=0:threads=2:skiploopfilter=all -lavcopts autoaspect=1:vcodec=mpeg2video:acodec=ac3:abitrate=448:threads=2:keyint=5:vqscale=1:vqmin=2:vrc_maxrate=11000:vrc_buf_size=1835 -ass -fontconfig -subcp cp1250 -subfont C:\Windows\Fonts\Arial.ttf -ass-color ffffff00 -ass-border-color 00000000 -ass-font-scale 1.6 -ass-force-style FontName=Arial,Outline=1,Shadow=1,MarginV=10 -quiet -quiet -sid 100 -quiet -quiet -ofps 24000/1001 -sub D:\MediaServer\refill-puncture-720p.srt -lavdopts fast -mc 0 -noskip -af lavcresample=48000 -srate 48000 -o \\.\pipe\mencoder1325266534660
[win32/mencoder.exe] DEBUG 18:35:34.972 Reading pipe: \\.\pipe\mencoder1325266534660
[win32/mencoder.exe] DEBUG 18:35:34.972 Attaching thread: win32/mencoder.exe
[Thread-22] DEBUG 18:35:35.034 MEncoder SB19 (C) 2000-2011 MPlayer Team
[Thread-22] DEBUG 18:35:35.034 Custom build by SubJunk, http://www.spirton.com
[Thread-22] DEBUG 18:35:35.034
[Thread-22] DEBUG 18:35:35.034 success: format: 0  data: 0x0 - 0xb8f9b800
[Thread-22] DEBUG 18:35:35.034 AVI file format detected.
[Thread-22] DEBUG 18:35:35.034 [aviheader] Video stream found, -vid 0
[Thread-22] DEBUG 18:35:35.034 [aviheader] Audio stream found, -aid 1
[New I/O server worker #1-1] TRACE 18:35:35.072 Sleeping for 6000 milliseconds
[Thread-22] DEBUG 18:35:35.078 AVI: ODML: Building ODML index (2 superindexchunks).
[Thread-22] DEBUG 18:35:35.535 VIDEO:  [XVID]  1280x536  12bpp  23.976 fps  3498.6 kbps (427.1 kbyte/s)
[Thread-19] DEBUG 18:35:35.535 Result of \\.\pipe\mencoder1325266534660 : true
[Thread-22] DEBUG 18:35:35.535 [V] filefmt:3  fourcc:0x44495658  size:1280x536  fps:23.976  ftime:=0.0417
[Thread-22] DEBUG 18:35:35.538 PACKET SIZE: 2048 bytes, deltascr: 884
[Thread-22] DEBUG 18:35:35.539 Opening video filter: [ass auto=1]
[Thread-22] DEBUG 18:35:35.539 [ass] auto-open
[Thread-22] DEBUG 18:35:35.593 ==========================================================================
[Thread-22] DEBUG 18:35:35.594 Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[Thread-21] DEBUG 18:35:35.595 Unsupported PixelFormat 61
[Thread-21] DEBUG 18:35:35.596 Unsupported PixelFormat 53
[Thread-21] DEBUG 18:35:35.596 Unsupported PixelFormat 81
[Thread-22] DEBUG 18:35:35.598 Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
[Thread-22] DEBUG 18:35:35.598 ==========================================================================
[Thread-22] DEBUG 18:35:35.604 audiocodec: framecopy (format=2000 chans=6 rate=48000 bits=0 B/s=80000 sample-1)
[Thread-21] DEBUG 18:35:35.604 Limiting audio preload to 0.4s.
[Thread-21] DEBUG 18:35:35.604 Increasing audio density to 4.
[Thread-22] DEBUG 18:35:35.607 Movie-Aspect is undefined - no prescaling applied.
[Thread-22] DEBUG 18:35:35.607 videocodec: libavcodec (1280x536 fourcc=3267706d [mpg2])
[Thread-22] DEBUG 18:35:35.607 [VE_LAVC] Using constant qscale = 1.000000 (VBR).
[Thread-22] DEBUG 18:35:35.616 Movie-Aspect is 2.39:1 - prescaling to correct movie aspect.
[Thread-21] DEBUG 18:35:35.619 [ass] PlayResX undefined, setting to 384
[Thread-22] DEBUG 18:35:35.630 Writing header...
[Thread-22] DEBUG 18:35:35.630 INITV: 0.200, 0.158, fps: 23.976
marqo
 
Posts: 5
Joined: Fri Dec 30, 2011 1:22 pm

Re: Samsung AllShare uPnP/DLNA

Postby StreamHD » Fri Dec 30, 2011 7:08 pm

Thanks for the feedback. It seems like everything is working perfectly fine.

From your log, the video is transcoding (this is why it takes longer to start and why FF and FR don't work).
The video is transcoding because of the subtitles (I'm assuming the video and audio tracks in your AVI are supported). Disable subtitles or look around the #Transcode# folder for something like "Do not Transcode" (the exact phrase slips my mind) to fix this.

Unfortunately the FF/FR when transcoding problem can't be fixed with a conf. Streaming should FF/FR fine.
PMS 1.50.1-Snapshot (latest commit); 400MB buffer;
Samsung LCD D550 Series with custom conf; Sony PS3; Xbox 360;
Win7 x64; JDK-7u2-x64; Intel i7 930 + X58 chipset; 3 x 2GB DDR3 1333Mhz; Gigabit backbone;
StreamHD
 
Posts: 63
Joined: Tue Dec 20, 2011 3:26 am

Re: Samsung AllShare uPnP/DLNA

Postby marqo » Fri Dec 30, 2011 9:33 pm

So it's not possible to have subtitles and FF/FR in the same time? When I disabled subtitles, FF/FR works fine.

Other problem is that when I have two Samsung TV's in my network UE32D6000 and UE40D6100, PSM shows only one on the status tab.

Code: Select all
[pool-5-thread-1] INFO  21:25:49.115 Renderer Samsung AllShare  found on this address: 192.168.11.107
[pool-5-thread-2] INFO  21:25:49.396 Renderer Samsung AllShare found on this address: 192.168.11.101
marqo
 
Posts: 5
Joined: Fri Dec 30, 2011 1:22 pm

Re: Samsung AllShare uPnP/DLNA

Postby StreamHD » Fri Dec 30, 2011 11:08 pm

See viewtopic.php?f=11&t=12812. I tried it now, though it needs some work, it does the job. Two problems I found so far:
1) Its a pain to enable/disable subtitles.
2) It still streams the subtitles when transcoding video. This wouldn't be bad if the subtitles actually sync with the transcoded video. This won't work until FF/FR is working.

Are you able to stream to both TVs? I suspect its normal to only show 1 on the status tab? I will check this in the morning.

You can force PS3MS to differentiate between the TVs. Copy the conf to UE32D6000.conf and to UE40D6100.conf. Rename SamsungAllShare.conf to .bak. Then make the following changes:

UE32D6000.conf
Code: Select all
#RendererName=Samsung AllShare
#Put any name you like here e.g "Samsung LED UE32D6000", Kitchen, etc
RendererName=Samsung LED UE32D6000
#UserAgentSearch=SEC_HHP_
#This line should be the same as your TV Name found in the TVs menu. The default name is your TV model.
UserAgentSearch=UE32D6000


UE40D6100.conf
Code: Select all
#RendererName=Samsung AllShare
#Put any name you like here
RendererName=Samsung LED UE40D6100
#UserAgentSearch=SEC_HHP_
UserAgentSearch=UE40D6100
PMS 1.50.1-Snapshot (latest commit); 400MB buffer;
Samsung LCD D550 Series with custom conf; Sony PS3; Xbox 360;
Win7 x64; JDK-7u2-x64; Intel i7 930 + X58 chipset; 3 x 2GB DDR3 1333Mhz; Gigabit backbone;
StreamHD
 
Posts: 63
Joined: Tue Dec 20, 2011 3:26 am

Re: Samsung AllShare uPnP/DLNA

Postby marqo » Sat Dec 31, 2011 8:27 am

Thanks, now I have two TVs on the status tab :)

Where I need to add this code from the link you atachedd?
marqo
 
Posts: 5
Joined: Fri Dec 30, 2011 1:22 pm

Re: Samsung AllShare uPnP/DLNA

Postby Raptor399 » Sat Dec 31, 2011 9:30 am

marqo wrote:Other problem is that when I have two Samsung TV's in my network UE32D6000 and UE40D6100, PSM shows only one on the status tab.

Code: Select all
[pool-5-thread-1] INFO  21:25:49.115 Renderer Samsung AllShare  found on this address: 192.168.11.107
[pool-5-thread-2] INFO  21:25:49.396 Renderer Samsung AllShare found on this address: 192.168.11.101

Hmmmm, that is not what I would expect; sounds like a bug. :|

I'll have to look it up, but I'm pretty sure the code is geared towards handling a separate renderer per IP address. If they're not separated properly errors may occur. Separating the confs is a nice workaround for your particular situation, but it wouldn't help someone with multiple PS3's.
Raptor399
Project Member
 
Posts: 1916
Joined: Thu Mar 10, 2011 12:06 am

Re: Samsung AllShare uPnP/DLNA

Postby StreamHD » Sat Dec 31, 2011 11:38 am

Raptor399 wrote:Hmmmm, that is not what I would expect; sounds like a bug. :|

I'll have to look it up, but I'm pretty sure the code is geared towards handling a separate renderer per IP address. If they're not separated properly errors may occur. Separating the confs is a nice workaround for your particular situation, but it wouldn't help someone with multiple PS3's.

I tested with multiple PS3's. Only 1 PS3 icon/renderer appears in the Status tab but in context the log looks fine:
Code: Select all
[pool-6-thread-2] INFO  11:30:08.935 Checking ip:192.168.1.11 for Playstation 3
[New I/O server worker #1-8] INFO  11:30:09.266 Another renderer like Playstation 3 was found!
[pool-6-thread-4] INFO  11:30:09.267 Checking ip:192.168.1.10 for Playstation 3
[pool-6-thread-2] INFO  11:30:13.538 Renderer Playstation 3 found on this address: 192.168.1.11
[pool-6-thread-4] INFO  11:30:13.870 Renderer Playstation 3 found on this address: 192.168.1.10


marqo wrote:Thanks, now I have two TVs on the status tab :)

Where I need to add this code from the link you atachedd?

Samsung DualShare... I'm jealous! :)
It's a bit more complicated than adding code. I'll try upload something soon that is more user friendly.
PMS 1.50.1-Snapshot (latest commit); 400MB buffer;
Samsung LCD D550 Series with custom conf; Sony PS3; Xbox 360;
Win7 x64; JDK-7u2-x64; Intel i7 930 + X58 chipset; 3 x 2GB DDR3 1333Mhz; Gigabit backbone;
StreamHD
 
Posts: 63
Joined: Tue Dec 20, 2011 3:26 am

Re: Samsung AllShare uPnP/DLNA

Postby Raptor399 » Sat Dec 31, 2011 11:45 am

StreamHD wrote:
Raptor399 wrote:Hmmmm, that is not what I would expect; sounds like a bug. :|

I'll have to look it up, but I'm pretty sure the code is geared towards handling a separate renderer per IP address. If they're not separated properly errors may occur. Separating the confs is a nice workaround for your particular situation, but it wouldn't help someone with multiple PS3's.

I tested with multiple PS3's. Only 1 PS3 icon/renderer appears in the Status tab but in context the log looks fine:

Yeah, I ran a test with an iPhone and iPad with the same app. Both seemed to be working (simultaneously) as usual even though only one renderer icon was displayed.
The buffer status seemed a bit sketchy, showing no output at all. Then again, nothing new there. ;-)
Raptor399
Project Member
 
Posts: 1916
Joined: Thu Mar 10, 2011 12:06 am

Re: Samsung AllShare uPnP/DLNA

Postby dirty_denim86 » Sat Dec 31, 2011 7:55 pm

I am just looking for some help...I am streaming 1080p to my Samsung TV model UN46D6000 720p seems to work flawlessly through wifi but the 1080p struggle a little bit. I am wondering if there is anyway to convert these 1080p videos to a specific format so they will play wirelessly.
dirty_denim86
 
Posts: 1
Joined: Sat Dec 31, 2011 7:47 pm

Re: Samsung AllShare uPnP/DLNA

Postby StreamHD » Sun Jan 01, 2012 1:22 pm

SamiMakinen's patch which allows to stream subtitles to Samsung has been revised and committed.

You will need to wait for the next official PS3MS update (1.50.1?). If you're impatient and want to try building the latest PS3MS yourself, try this automated tool. Note that this version may be unstable. Please don't ask questions about the tool in the Samsung thread, use it's thread instead.

Edit: Sorry, the link is to an update for the tool. The actual tool is here.
PMS 1.50.1-Snapshot (latest commit); 400MB buffer;
Samsung LCD D550 Series with custom conf; Sony PS3; Xbox 360;
Win7 x64; JDK-7u2-x64; Intel i7 930 + X58 chipset; 3 x 2GB DDR3 1333Mhz; Gigabit backbone;
StreamHD
 
Posts: 63
Joined: Tue Dec 20, 2011 3:26 am

PreviousNext

Return to Alternative Media Renderers

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests