I have noticed, as discussed
here that .MTS files do not seem to be parsed by Serviio. EDIT - I see in the issue tracker this is fixed in the upcoming version 0.5.0.
It seems that VC-1 playback over DLNA on the Sony BDP is as problematic with Serviio as with PS3MS. It seems to play the first couple of seconds of WMV test clips then freeze using either server, so my guess is that it won't ever work satisfactorily, and that looks to be the player's fault. The same clips play fine off USB.
That said, I noticed that I could put to use
the tricks I had discovered using PS3MS, namely that it's not only the mime-type that's significant to the player: I can get the player to list the appropriate files and use the M2TS and MPEG icons by forcing the DLNA media type
name field instead. I had wanted to do this before version 0.4.2 but I assumed Zip would have to extensively modify the code, so when I saw the 2010 Bravia TV profile in 0.4.2 I realised it was possible.Those same substitutions for the Bravia TVs don't work with the Sony BDP incidentally (the _HD_50 ones). I also added a few DLNA media types that were missing, fixed detection of M2TS files, and fixed up the media type for remuxed M2TS H.264 files - something that would not have worked at all until now. Here are my
MediaFormatProfiles values for
European models:
- Code:
<MediaFormatProfile mime-type="audio/mpeg" name="MP3">WMA_BASE</MediaFormatProfile>
<MediaFormatProfile mime-type="audio/mpeg" name="MP3">WMA_FULL</MediaFormatProfile>
<MediaFormatProfile mime-type="video/divx">MATROSKA</MediaFormatProfile>
<MediaFormatProfile mime-type="video/divx">AVI</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_PAL">AVC_MP4_MP_SD_AAC_MULT5</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_PAL">AVC_MP4_MP_SD_MPEG1_L3</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_PAL">AVC_MP4_MP_SD_AC3</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_PAL">AVC_MP4_MP_HD_720p_AAC</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_PAL">AVC_MP4_MP_HD_1080i_AAC</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_PAL">AVC_MP4_HP_HD_AAC</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_PAL">AVC_MP4_LPCM</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_PAL">MPEG4_P2_MP4_ASP_AAC</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_PAL">MPEG4_P2_MP4_SP_L6_AAC</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_PAL">MPEG4_P2_MP4_NDSD</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_SD_AAC_MULT5</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_SD_AAC_MULT5_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_SD_MPEG1_L3</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_SD_MPEG1_L3_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_SD_AC3</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_SD_AC3_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_HD_AAC_MULT5</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_HD_AAC_MULT5_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_HD_MPEG1_L3</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_HD_MPEG1_L3_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_HD_AC3</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_HD_AC3_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_HD_50_LPCM_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/divx">WMVMED_BASE</MediaFormatProfile>
<MediaFormatProfile mime-type="video/divx">WMVMED_FULL</MediaFormatProfile>
<MediaFormatProfile mime-type="video/divx">WMVHIGH_FULL</MediaFormatProfile>
<MediaFormatProfile mime-type="video/divx">WMVMED_PRO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/divx">WMVHIGH_PRO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/divx">VC1_ASF_AP_L1_WMA</MediaFormatProfile>
<MediaFormatProfile mime-type="video/divx">VC1_ASF_AP_L2_WMA</MediaFormatProfile>
<MediaFormatProfile mime-type="video/divx">VC1_ASF_AP_L3_WMA</MediaFormatProfile>
<!-- rename remuxed mpeg2ts with h264 to one of the player's supported profiles -->
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_HD_AC3_ISO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_SD_AC3_ISO</MediaFormatProfile>
Substitute MPEG_TS_SD_EU for MPEG_TS_SD_NA or MPEG_TS_SD_JP depending on your region, and replace MPEG_PS_PAL with MPEG_PS_NTSC of course. I have no idea about the Japanese players, but I remember from the PS3MS forum that North American BDP owners cannot use the DivX mime-type hack to play MKV and AVI content, but must instead use MPEG. So the following ought to work for
North America - though they lose some of the cooler features of the player's native MKV support (subtitles, multiple selectable audio streams):
- Code:
<MediaFormatProfile mime-type="audio/mpeg" name="MP3">WMA_BASE</MediaFormatProfile>
<MediaFormatProfile mime-type="audio/mpeg" name="MP3">WMA_FULL</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_NTSC">MATROSKA</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_NTSC">AVI</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_NTSC">AVC_MP4_MP_SD_AAC_MULT5</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_NTSC">AVC_MP4_MP_SD_MPEG1_L3</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_NTSC">AVC_MP4_MP_SD_AC3</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_NTSC">AVC_MP4_MP_HD_720p_AAC</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_NTSC">AVC_MP4_MP_HD_1080i_AAC</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_NTSC">AVC_MP4_HP_HD_AAC</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_NTSC">AVC_MP4_LPCM</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_NTSC">MPEG4_P2_MP4_ASP_AAC</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_NTSC">MPEG4_P2_MP4_SP_L6_AAC</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_NTSC">MPEG4_P2_MP4_NDSD</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_NA">AVC_TS_MP_SD_AAC_MULT5</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_NA">AVC_TS_MP_SD_AAC_MULT5_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_NA">AVC_TS_MP_SD_MPEG1_L3</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_NA">AVC_TS_MP_SD_MPEG1_L3_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_NA">AVC_TS_MP_SD_AC3</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_NA">AVC_TS_MP_SD_AC3_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_NA">AVC_TS_MP_HD_AAC_MULT5</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_NA">AVC_TS_MP_HD_AAC_MULT5_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_NA">AVC_TS_MP_HD_MPEG1_L3</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_NA">AVC_TS_MP_HD_MPEG1_L3_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_NA">AVC_TS_MP_HD_AC3</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_NA">AVC_TS_MP_HD_AC3_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_NA">AVC_TS_HD_50_LPCM_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/divx">WMVMED_BASE</MediaFormatProfile>
<MediaFormatProfile mime-type="video/divx">WMVMED_FULL</MediaFormatProfile>
<MediaFormatProfile mime-type="video/divx">WMVHIGH_FULL</MediaFormatProfile>
<MediaFormatProfile mime-type="video/divx">WMVMED_PRO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/divx">WMVHIGH_PRO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/divx">VC1_ASF_AP_L1_WMA</MediaFormatProfile>
<MediaFormatProfile mime-type="video/divx">VC1_ASF_AP_L2_WMA</MediaFormatProfile>
<MediaFormatProfile mime-type="video/divx">VC1_ASF_AP_L3_WMA</MediaFormatProfile>
<!-- rename remuxed mpeg2ts with h264 to one of the player's supported profiles -->
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_NA">AVC_TS_MP_HD_AC3_ISO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_NA">AVC_TS_MP_SD_AC3_ISO</MediaFormatProfile>
I have found a problem with .m2ts files taken directly off an unencrypted Bluray disc (well AVCHD really - I used the free
x264 encoder showcase disc). The footage of the tall ship on that disc is probably the most detailed bit of H.264 I have seen. These files will play fine with PS3MS, and off USB too.
I get this in the log:
2010-10-09 21:15:47,184 WARN [VideoDeliveryEngine] Cannot resolve DLNA format profile of the original file: Big Buck Bunny.m2tsHere's the FFMPEG info using the version included with Serviio:
- Code:
C:\Program Files\Serviio\lib>ffmpeg.exe -i "g:\video\Trailers and samples\Big Bu
ck Bunny.m2ts"
FFmpeg version SVN-r23012, Copyright (c) 2000-2010 the FFmpeg developers
built on May 3 2010 19:05:24 with gcc 3.4.5 (mingw-vista special r3)
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-w32threads --extra-ldf
lags=-L/static/lib --extra-cflags=-I/static/include
libavutil 50.15. 0 / 50.15. 0
libavcodec 52.66. 0 / 52.66. 0
libavformat 52.62. 0 / 52.62. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.10. 0 / 0.10. 0
[mpegts @ 00eeb970]MAX_READ_SIZE:5000000 reached
Input #0, mpegts, from 'g:\video\Trailers and samples\Big Buck Bunny.m2ts':
Duration: 00:09:56.50, start: 599.958356, bitrate: 10613 kb/s
Program 1
Stream #0.0[0x1011]: Video: h264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 24
fps, 24 tbr, 90k tbn, 48 tbc
Stream #0.1[0x1100](eng): Audio: dca, 48000 Hz, 5.1, s16, 1536 kb/s
At least one output file must be specified
C:\Program Files\Serviio\lib>
Any idea why this might be a problem file?
EDIT - hang on, I see it's the DTS audio which I see is also a
known issue in the tracker.