Hi patters,
With the default profile, .mp4 and .mkv files seem to work.
With the default profile, .avi files are not working - an error message about an incorrect/corrupt file is returned.
For .mp4 files, the file name is <filename>.mp4 and underneath that is reads m2ts file.
For .mkv files, the file name is <file name>.mkv and underneath that it reads m2ts file.
For .avi files, the file name is <file name>.avi and underneath that it reads mpeg file.
Any suggestions for getting .avi files to be seen as .avi files and not .mpeg or alternatively how to cast .avi (xvid and divx) files to m2ts.
All the files play fine off the USB interface, so the native support for the files has been retained.
We just need an updated profile. Please let me know how we can help you to help us further? Don't mind doing the testing and editing the Profile's xml file with your suggestions.
Tonight I will try out a-LeXx's suggestion, whose post from elsewhere writes:
For all those who installed FW update and are having problems with serviio (no AVI playback):
This line in the profile for Sony BDP is causing the problem:
Code:
<MediaFormatProfile name="MPEG_PS_PAL,MPEG_PS_NTSC" mime-type="video/mpeg">AVI</MediaFormatProfile>
Remove this line, and replace it with following:
Code:
<MediaFormatProfile mime-type="video/avi">AVI</MediaFormatProfile>
And voila, AVIs are working again. 2012 BDPs are capable of playing video/avi MIME type, and this is a correct MIME type for AVI files. The previosly used conversion was done for old sony BDPs which couldn't understand video/avi.
You can also use
Code:
<MediaFormatProfile mime-type="video/x-xvid">AVI</MediaFormatProfile>
With the same results, as video/x-xvid is also supported.
Of course, player would still not play DIVX-encoded files, only XVID-encoded ones. To solve this problem, you need to transcode DIVX. For this, find the following section in the BDP profile:
Code:
<Video targetACodec="ac3" targetContainer="mpegts" targetVCodec="mpeg2video">
<Matches container="asf"/>
<Matches container="flv"/>
<Matches container="ogg"/>
<Matches container="avi" vCodec="dvvideo"/>
<!-- digital camera video formats -->
<Matches container="avi" vCodec="mjpeg"/>
<Matches container="mp4" vCodec="mjpeg"/> </Video>
and replace it with following:
Code:
<Video targetACodec="ac3" targetContainer="mpegts" targetVCodec="mpeg2video">
<Matches container="flv"/>
<Matches container="ogg"/>
<Matches container="avi" />
<Matches container="mp4" vCodec="mjpeg"/> </Video>
It will transcode all AVI's though. So, only use it if you have lots of DIVX-encoded files. Otherwise, it might be more effective just to change the FOURCC codes of those files to those corresponding to an XVID encoder. Sony is really checking FOURCC codes, and if it's those of DIVX - it will not play. No way to fool it with mime type.
By the way, did you notice that I removed the "asf" transcode as well? That's because 2012 BDPs will play WMV natively, no transcode is required. The transcode was required for older players only...
Anyway, with these changes you should be able now to play all the AVI and WMV files.
And for MKV, find following section:
Code:
<Video targetContainer="mpegts">
<Matches container="matroska"/>
<!-- remux mp4 container files to mpeg-ts to allow seeking -->
<!-- this also fixes the renderer's jerky playback of mov container files such as iPhone 4 HD video recordings -->
<Matches container="mp4" vCodec="h264"/>
<Matches container="avi" vCodec="h264"/> </Video>
And replace it with:
Code:
<Video targetContainer="mpegts">
<Matches container="mp4" vCodec="h264"/>
<Matches container="avi" vCodec="h264"/> </Video>
Now search for:
Code:
<MediaFormatProfile mime-type="video/divx">MATROSKA</MediaFormatProfile>
and remove this line. 2012 BDPs would then play MKVs natively as video/x-matroska MIME type...
Hope this helps one or another frustrated owner

All Credit Goes To a-LeXx