Page 1 of 1

Sony SMP-N200 divx avi profiles.xml update for US

PostPosted: Fri Jan 11, 2013 3:19 pm
by sachiel
New to serviio as of yesterday, but what a great, simple tool. I installed Serviio 1.1, and I'm in the US, so was having the Sony US/DivX issues. I looked for a few quick fixes, but cannot FourCC change all of the files as they're still hooked into torrents. Transcoding them for streaming seemed like the best option, so here's what worked for me:

Change:
  Code:
         <!-- unsupported codecs will be transcoded to mpegts with mpeg2video and ac3 audio -->
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3">
            <Matches container="asf" />
            <Matches container="flv" />
            <Matches container="ogg" />
            <Matches container="rm" />
            <Matches container="avi" vCodec="dvvideo" />
            <Matches container="mp4" vCodec="dvvideo" />
            <!-- digital camera video formats -->
            <Matches container="avi" vCodec="mjpeg" />
            <Matches container="mp4" vCodec="mjpeg" />
         </Video>

to:
  Code:
         <!-- unsupported codecs will be transcoded to mpegts with mpeg2video and ac3 audio -->
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3">
            <Matches container="asf" />
            <Matches container="flv" />
            <Matches container="ogg" />
            <Matches container="rm" />
            <Matches container="avi" vCodec="dvvideo" />
            <Matches container="mp4" vCodec="dvvideo" />
            <!-- DivX  -->
            <Matches container="avi" vCodec="mpeg4" vFourCC="div3,div4,div5,divx,dm4v,dx50" />
            <Matches container="avi" vCodec="msmpeg4" vFourCC="div3,div4,div5,divx,dm4v,dx50" />
            <!-- digital camera video formats -->
            <Matches container="avi" vCodec="mjpeg" />
            <Matches container="mp4" vCodec="mjpeg" />
         </Video>


Hope this helps someone else with DivX issues.

Re: Sony SMP-N200 divx avi profiles.xml update for US

PostPosted: Fri Feb 22, 2013 8:02 pm
by Darkfalz
Thanks, made these changes and it works. Also had to change the mime type back to avi instead of mpeg for Xvid AVIs to work at all. Thankfully most of my AVIs are Xvid so I don't need to transcode them all.

Re: Sony SMP-N200 divx avi profiles.xml update for US

PostPosted: Wed Feb 27, 2013 12:50 am
by Darkfalz
An even better solution would be for such files to spoof a XVID FourCC without need for reencoding, something like targetVFourCC parameter. But I don't think Serviio can do this yet.

Re: Sony SMP-N200 divx avi profiles.xml update for US

PostPosted: Wed Feb 27, 2013 8:43 am
by aminits
Also had to change the mime type back to avi instead of mpeg for Xvid AVIs to work at all

Can you please explain how to do that (change mime type to avi)?

Re: Sony SMP-N200 divx avi profiles.xml update for US

PostPosted: Wed Feb 27, 2013 8:49 am
by Illico
aminits wrote:Can you please explain how to do that (change mime type to avi)?


Replace
<MediaFormatProfile mime-type="video/mpeg" name="MPEG_PS_PAL,MPEG_PS_NTSC">AVI</MediaFormatProfile>
by
<MediaFormatProfile mime-type="video/avi" name="">AVI</MediaFormatProfile>

Re: Sony SMP-N200 divx avi profiles.xml update for US

PostPosted: Wed Feb 27, 2013 1:14 pm
by Darkfalz
You can just delete that line actually and let inheritance do it's job. :)

I've made several other modifications/tweaks to the BDP (and Bravia) profile (ie. to get Flac in Movie working, LPCM in MPEG-2 streams working etc). I like how Serviio is so customisable.

I also wonder if you should add the FourCC MP42 to the list - although I guess it doesn't matter if you don't have any with these old codecs.

Still haven't figured out why AVI files show up with a "*" before their names on the BDP (they don't on the TV, nor do any other formats on the BDP) - incorrect expected mime type or something?

Re: Sony SMP-N200 divx avi profiles.xml update for US

PostPosted: Wed Feb 27, 2013 1:43 pm
by Illico
Darkfalz wrote:Still haven't figured out why AVI files show up with a "*" before their names on the BDP (they don't on the TV, nor do any other formats on the BDP) - incorrect expected mime type or something?

I noticed that too, but I don't know what this mean...

That could be fine to post your profile used, there are probably some good ideas that could be set to the official serviio release (FLAC, LPCM,etc).
(for SMP device you can continue with this topic, for Sony Bravia or BDP you can create a new topic...)

Re: Sony SMP-N200 divx avi profiles.xml update for US

PostPosted: Wed Feb 27, 2013 11:08 pm
by Darkfalz
I'll post my changes. I didn't comment them so it may take a bit to figure out what I did. I also got rid of the > 4.1 restriction because my TV/BDP seem to play the few I have fine (except one on the BD player, which works fine on the TV) but I wouldn't recommend that for the official xml for obvious reasons.

Re: Sony SMP-N200 divx avi profiles.xml update for US

PostPosted: Sat Mar 02, 2013 12:55 pm
by patters
These changes are integrated into the Sony BDP-Sx90 (2012) profile built in to Serviio 1.2, and they are not US-specific.

Re: Sony SMP-N200 divx avi profiles.xml update for US

PostPosted: Sat Apr 13, 2013 4:11 pm
by sachiel
patters wrote:These changes are integrated into the Sony BDP-Sx90 (2012) profile built in to Serviio 1.2, and they are not US-specific.


Thanks for that. Had to to a reinstall after a 1.2.1 update failed. Saves me a bit of work, but my library is still rebuilding.

Re: Sony SMP-N200 divx avi profiles.xml update for US

PostPosted: Sun Apr 14, 2013 11:07 pm
by atc98092
patters wrote:These changes are integrated into the Sony BDP-Sx90 (2012) profile built in to Serviio 1.2, and they are not US-specific.


When I try using that profile a get an unsupported format error. Playing using the 2011 profile (Sony BDP-Sx80/SMP-N200 (2011)) plays them all fine.

I do have one strange issue, perhaps profile related. I have a ripped BD file that says it has the DTS Master Audio sound track. When I stream it from a Windows 7 box, I see DTS as the audio track using my Sony's display function. I copy the same file to my Serviio box and it only gives me Dolby Digital and no other audio track is selectable. I have played other videos that give me the DTS core track, and my AVR shows DTS as the received audio stream. However, this file only gives me the DD track.