I recently got a Bravia 40EX403 and was gutted when it would play jack over the DLNA but plenty from USB! After going through about four servers I found PS3MS and finally had success - mostly.
Most things worked brilliantly straight away, I only found aspect ratio problems in non 1920x1080 HD files (ie. 1920x872, 1920x800 and so on) which would compress vertically. After fighting with the code I think I've got a catch all for this which goes in mencoder custom parameters -
- Code: Select all
(width) == 1920 :: -vf expand=1920:1080::::1: -mpegopts vaspect=16/9
(for anyone who's interested this tells the program to automatically add whatever black borders are neccesary to expand any movie that is 1920 wide, regardless of height, to 1920x1080 then tells the mpeg stream that it's 16/9, also stops sub overlapping)
If you were having trouble with 720p movies I reckon that adding the following line would work -
- Code: Select all
(width) == 1280 :: -vf expand=1280:720::::1: -mpegopts vaspect=16/9
This is the only code I'm running at the moment, TV seems to deal with 4/3 OK.
The -vf expand code explained -
expand[=w:h:x:y:o:a:r]
Expands (not scales) movie resolution to the given value and
places the unscaled original at coordinates x, y. Can be used
for placing subtitles/OSD in the resulting black bands.
<w>,<h>
Expanded width,height (default: original width,height).
Negative values for w and h are treated as offsets to
the original size.
EXAMPLE:
expand=0:-50:0:0
Adds a 50 pixel border to the bottom of the
picture.
<x>,<y>
position of original image on the expanded image (default: center)
<o>
OSD/subtitle rendering
0: disable (default)
1: enable
<a>
Expands to fit an aspect instead of a resolution (default: 0).
EXAMPLE:
expand=800:::::4/3
Expands to 800x600, unless the source is
higher resolution, in which case it expands
to fill a 4/3 aspect.
<r>
Rounds up to make both width and height divisible by <r>
(default: 1).
Here's a link to the MEncoder/Mplayer manual (for all yer available commands) http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.txt
For those on a mac, you can get the EX conf file from the PC beta build and put it into the Mac version. Right-click on the app name and "Show Package Contents" and drop the conf file in PS3 Media Server.app/Contents/Resources/Java/renderers/
I think I needed to add the the EX4 to the header before it picked up the tv, so if your TV is EX4 the relevant part of the conf file should be edited to read
- Code: Select all
UserAgentAdditionalHeaderSearch=(BRAVIA KDL.+EX4)|(BRAVIA KDL.+EX5)|(BRAVIA KDL.+EX7)|(BRAVIA KDL.+NX7)
I had to make sure that in tsMuxer and MEncoder the Force FPS/framerate parsed from FFMpeg was checked.
Also found it easier to disable tsMuxer and make sure that everything's being transcoded - uncheck "Switch to tsMuxer when h624..." option in MEncoder.
Rock on and thanks again for making such an awesome program - brilliant idea to make it in Java too! I couldn't believe that the best DLNA server out there worked on Mac as well - I'm running a hackintosh so am well pleased I don't have to boot into Windows just to stream movies to my TV.
*Edit, just settled down to watch a TV show before bed and found out that the TV doesn't deal with non-HD stuff properly! This code should fix it, and you should never have to change setting from Wide.
- Code: Select all
(width) < 1280 :: -vf expand=::::1:16/9: -mpegopts vaspect=4/3
