PDA

View Full Version : Sony BDP BluRay Player Profile



absoluteg
06-01-2012, 09:57 AM
I have found something i would consider odd when it comes to the Sony BDP profiles. It seems that if i switch around profiles for my Sony BDP 570 player, i'm able to stream MKV files just fine using one profile, but then i can't play MP4 files. If i switch to a different profile, i'm able to play the MP4 files but not the MKV. It would seem to me that i need a profile that can be configured to do both properly.

I have found the post on location of profiles and i have edited and made my own profile. I have begun to tinker around with the profile, but haven't found the right combination.

Is there a post that fully explains the fields in the profile and what they do and how to configure, so we can test? Is it possible to share profile amongst people? Like if someone finds the perfect profile for a device can they share? Is there a place to do this?

What is odd is that an AVI container using MP4 and AAC/AC3 work just fine, it just seems the MP4 container with contents listed below won't play on the device.

What i have found is the following based on FFMpeg Properties of the item that can't play (MP4 files):

ffmpeg version N-40693-gc457a29 Copyright (c) 2000-2012 the FFmpeg developers
built on May 15 2012 12:57:14 with gcc 4.6.2
configuration: --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --enable-static --disable-shared --enable-zlib --disable-postproc --prefix=/home/peter/ffmpeg/build/gpl --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect --extra-cflags=-I/home/peter/cc/include --extra-ldflags=-L/home/peter/cc/lib --pkg-config=pkg-config --disable-w32threads
libavutil 51. 51.100 / 51. 51.100
libavcodec 54. 21.101 / 54. 21.101
libavformat 54. 5.100 / 54. 5.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 73.100 / 2. 73.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 11.100 / 0. 11.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Z:\File_Name.mp4':
Metadata:
major_brand : mp42
minor_version : 1
compatible_brands: mp42avc1
creation_time : 2012-05-31 04:21:57
Duration: 01:26:42.91, start: 0.000000, bitrate: 1431 kb/s
Stream #0:0(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 110 kb/s
Metadata:
creation_time : 2012-05-31 04:21:57
handler_name : Apple Sound Media Handler
Stream #0:1(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 960x540, 1315 kb/s, 24 fps, 24 tbr, 600 tbn, 1200 tbc
Metadata:
creation_time : 2012-05-31 04:21:57
handler_name : Apple Video Media Handler
At least one output file must be specified


---> DB Level Info: 31, 77
---> Frame rate: 24.00
---> Aspect ratio:

What i have for a Device Profile is the following:


<MezzmoDeviceProfile>
<version>200</version>
<device>
<guid>AEE56A9A-3F76-4300-94B9-60FD58EBAFF6</guid>
<name manufacturer="Sony" model="BDP (NTSC, No DivX, GREG)" extended="2" needstimebasedseek="1" turnoffbyterangedlna="1" needsdlnaprotocolinfo="1" />
<useragent></useragent>
<xavclient>COPY-Blu-ray</xavclient>
<xavphysicalunit></xavphysicalunit>
<friendlynamedlnaorg></friendlynamedlnaorg>
<upnpmodel>COPY-Blu-ray Disc Player</upnpmodel>
<upnpmanufacturer>COPY-Sony Corporation</upnpmanufacturer>
<upnpfriendlyname>COPY-Blu-ray Disc Player</upnpfriendlyname>
<mezzmoserver></mezzmoserver>
<transcoding enabled="1" minimumstreamingsize="2000000" waitmsbeforestreaming="2000" contentlength="5" contentlengthaudio="4" autorotateimages="0"/>
<devicedescription>GenericDeviceDescription.xml</devicedescription>
<videomax width="1920" height="1080" />
</device>
<descriptiondeliveryrules>
<!-- delivery description rules specify what the device will see for each file. A file is considered to be supported if
it matches a format, audio/video codecs within that format and any codec limits in this device profile. Best fit is
if one of the 2 stream from a format description matches the original file. Preferred transcoded format describes
the best quality format a device can play. Transcoded list is all combinations of formats that we can encode to,
possibly including preferred transcoded and baseline. When building a file description, Mezzmo follows the following
rules order: supported, bestfit, preferredtranscoded, transcodedlist, baseline, nonsupported -->
<!-- please note that if transcoding is disabled or baseline and preferredtranscoded are set to no,
then the nonsupported flag is automatically set to yes. If transcoding is disabled, then only supported and
nonsupported rules are checked and used. -->
<supported>yes</supported>
<!-- baseline, bestfit, transcodedlist, nonsupported and preferredtranscoded can be either one of: yes, no, auto
yes = always deliver, no = never deliver, auto = deliver if not delivered already by one of the rules above it -->
<bestfit>auto</bestfit>
<preferredtranscoded>auto</preferredtranscoded>
<transcodedlist>auto</transcodedlist>
<baseline>auto</baseline>
<nonsupported>auto</nonsupported>
</descriptiondeliveryrules>
<avcontainer id="mpeg" name="mpeg_ntsc" encode="1" mimetype="video/mpeg" baseline="1" dlnaprofile="MPEG_PS_NTSC" format="vob" supportschunked="0">
<video>
<format id="mpeg2video" encode="1" codec="mpeg2video">
<maxbitrate>25000000</maxbitrate>
<bitrate>8600000</bitrate>
<bufsize>1835008</bufsize>
<muxrate>10000000</muxrate>
</format>
</video>
<audio>
<format id="ac3" encode="1" codec="ac3">
<channels>2</channels>
<channels>6</channels>
<bitrate>640000</bitrate>
<maxbitrate>640000</maxbitrate>
<minbitrate>64000</minbitrate>
<samplingrate>48000</samplingrate>
</format>
</audio>
<audio>
<format id="mp3" encode="0">
</format>
</audio>
<audio>
<format id="mp2" encode="0">
</format>
</audio>
<audio>
<format id="pcm_s16be" encode="0">
</format>
</audio>
<ffmpegadditional id="mpeg2_encoding" />
</avcontainer>
<avcontainer id="mpegts" name="mpegts_transcoding" encode="1" format="mpegts" mimetype="video/vnd.dlna.mpeg-tts" dlnaprofile="MPEG_TS_SD_NA" supportschunked="0" preferredtranscoded="1">
<video>
<format id="mpeg1video" encode="0">
</format>
</video>
<video>
<format id="mpeg2video" encode="0">
</format>
</video>
<video>
<format id="h264" encode="1" codec="libx264" preferredtranscoded="1">
<copyts>0</copyts>
<samequality>0</samequality>
<muxrate>10000000</muxrate>
<maxbitrate>20000000</maxbitrate>
<bitrate>14000000</bitrate>
<bufsize>2048000</bufsize>
</format>
</video>
<audio>
<format id="ac3" encode="1" codec="ac3" preferredtranscoded="1">
<channels>2</channels>
<channels>6</channels>
<bitrate>640000</bitrate>
<maxbitrate>640000</maxbitrate>
<minbitrate>64000</minbitrate>
<samplingrate>48000</samplingrate>
</format>
</audio>
<audio>
<format id="aac" encode="1" codec="aac">
<channels>2</channels>
<channels>6</channels>
<bitrate>192000</bitrate>
<samplingrate>44100</samplingrate>
</format>
</audio>
<audio>
<format id="mp3" encode="0">
</format>
</audio>
<audio>
<format id="mp2" encode="0">
</format>
</audio>
<ffmpegadditional id="h264_with_aac" />
</avcontainer>
<avcontainer id="avi" name="avi" encode="0" mimetype="video/avi" dlnaprofile="AVI" supportschunked="0">
<video>
<format id="mpeg4" encode="0">
</format>
</video>
<audio>
<format id="ac3" encode="0">
</format>
</audio>
<audio>
<format id="mp3" encode="0">
</format>
</audio>
</avcontainer>
<avcontainer id="mov,mp4,m4a,3gp,3g2,mj2" name="h264aac" encode="0" mimetype="video/mp4" supportschunked="0">
<video>
<format id="mpeg4" encode="0">
</format>
</video>
<audio>
<format id="aac" encode="0">
</format>
</audio>
<audio>
<format id="pcm_s16le" encode="0">
</format>
</audio>
<video>
<format id="h264" encode="0">
</format>
</video>
<audio>
<format id="aac" encode="0">
</format>
</audio>
</avcontainer>
<avcontainer id="s16be" name="lpcm" encode="1" mimetype="audio/L16;rate=44100;channels=2" baseline="1" dlnaprofile="LPCM" preferredtranscoded="1" supportschunked="1">
<audio>
<format id="s16be" encode="1" codec="pcm_s16be" preferredtranscoded="1">
<channels>2</channels>
<bitrate>1536000</bitrate>
<maxbitrate>1536000</maxbitrate>
<minbitrate>8000</minbitrate>
<samplingrate>44100</samplingrate>
</format>
</audio>
</avcontainer>
<avcontainer id="s24le" name="lpcm_24" encode="1" mimetype="audio/L24;rate=96000;channels=2" baseline="1" dlnaprofile="LPCM" supportschunked="0">
<audio>
<format id="s24le" encode="1" codec="pcm_s24le" preferredtranscoded="1">
<channels>2</channels>
<bitrate>3072000</bitrate>
<maxbitrate>3072000</maxbitrate>
<minbitrate>8000</minbitrate>
<samplingrate>96000</samplingrate>
</format>
</audio>
</avcontainer>
<avcontainer id="mp3" name="mp3" encode="0" mimetype="audio/mp3" baseline="1" preferredtranscoded="0" dlnaprofile="MP3" supportschunked="0">
<audio>
<format id="mp3" encode="0" codec="libmp3lame" preferredtranscoded="0">
<maxbitrate>320000</maxbitrate>
<bitrate>320000</bitrate>
<maxsamplingrate>48000</maxsamplingrate>
<minsamplingrate>11025</minsamplingrate>
<samplingrate>48000</samplingrate>
<samplingrate>44100</samplingrate>
<samplingrate>32000</samplingrate>
</format>
</audio>
</avcontainer>
<avcontainer id="jpeg" name="jpeg_lrg" encode="1" mimetype="image/jpeg" baseline="1" dlnaprofile="JPEG_LRG" supportschunked="0">
<image>
<format id="jpeg" encode="1" mimetype="image/jpeg" codec="98" quality="2">
<maxdimensions width="4096" height="4096" />
<maxbits>24</maxbits>
</format>
</image>
</avcontainer>
<avcontainer id="jpeg" name="jpeg_med" encode="1" mimetype="image/jpeg" baseline="1" dlnaprofile="JPEG_MED" supportschunked="0" preferredtranscoded="1">
<image>
<format id="jpeg" encode="1" mimetype="image/jpeg" codec="98" quality="2">
<maxdimensions width="1024" height="768" />
<maxbits>24</maxbits>
</format>
</image>
</avcontainer>
<avcontainer id="jpeg" name="jpeg_tn" encode="1" mimetype="image/jpeg" baseline="1" dlnaprofile="JPEG_TN" preferredthumbnail="1" supportschunked="0">
<image>
<format id="jpeg" encode="1" mimetype="image/jpeg" codec="98" quality="2">
<maxdimensions width="160" height="160" />
<maxbits>24</maxbits>
</format>
</image>
</avcontainer>
</MezzmoDeviceProfile>


Any help would be greatly appreciated, this is such a GREAT product!!!

Thank you!
Greg

Paul
06-01-2012, 02:54 PM
I notice that there are 2 identical "aac" sections in the "mov,mp4,m4a,3gp,3g2,mj2" section. Remove one of them and try again. Save your changes and stop/start your Mezzmo server for the change to take effect.

If no change, then try removing:



<video>
<format id="h264" encode="0">
</format>
</video>

from the this section:



<avcontainer id="mov,mp4,m4a,3gp,3g2,mj2" name="h264aac" encode="0" mimetype="video/mp4" supportschunked="0">

and that will stop MP4 files with H264 from being streaming natively to your Sony BDP, and they instead will be transcoded to MPEG-TS.

absoluteg
06-01-2012, 08:11 PM
Thank you Paul! Removing the "h264" section and allowing Mezzmo to do the MPEG-TS transcoding worked perfectly!

Is there any place for users to share device profiles?

Thanks,
Greg