Page 1 of 1

Convert Profile to use with Serviio

PostPosted: Sat Apr 19, 2014 2:25 pm
by DaFerociousBeast
If you can help me create a profile for my device, I'd really appreciate it.

File is attached.

This is all related to this topic:
viewtopic.php?f=5&t=16461&p=90185#p90185

Re: Convert Profile to use with Serviio

PostPosted: Sat Apr 26, 2014 2:58 pm
by DaFerociousBeast
Nobody?

Anything?

Re: Convert Profile to use with Serviio

PostPosted: Sat Apr 26, 2014 6:16 pm
by Illico
According to mezzmo profile, all formats are transcoded to mpeg. Similar to "DirecTV HD-DVR" profile with serviio (you can try it).

Could you provide format supported by your device using Intel Spy Tool ? see my signature link

Re: Convert Profile to use with Serviio

PostPosted: Sun Apr 27, 2014 4:11 pm
by DaFerociousBeast
Here's The UPnP Info.

I actually have transcoding off in Mezzmo, but maybe it just has to know that Serviio supports it's DLNA protocol.

Thanks in advance.

Re: Convert Profile to use with Serviio

PostPosted: Sun Apr 27, 2014 6:56 pm
by Illico
According to GetProtocolInfo result, these following formats ares supported by your MediaSmart Connect product (KC816AA)

  Code:
http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LPCM;DLNA.ORG_OP=11;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=9C100000000000000000000000000000,
http-get:*:audio/L16;rate=44100;channels=1:DLNA.ORG_PN=LPCM;DLNA.ORG_OP=11;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=9C100000000000000000000000000000,
http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM;DLNA.ORG_OP=11;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=9C100000000000000000000000000000,
http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM;DLNA.ORG_OP=11;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=9C100000000000000000000000000000,
http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=9C100000000000000000000000000000,
http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=9C100000000000000000000000000000,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL;DLNA.ORG_OP=11;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=9C100000000000000000000000000000,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_NTSC;DLNA.ORG_OP=11;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=9C100000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA;DLNA.ORG_OP=11;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=9C100000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA_T;DLNA.ORG_OP=11;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=9C100000000000000000000000000000,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_NA_ISO;DLNA.ORG_OP=11;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=9C100000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU;DLNA.ORG_OP=11;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=9C100000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU_T;DLNA.ORG_OP=11;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=9C100000000000000000000000000000,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_EU_ISO;DLNA.ORG_OP=11;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=9C100000000000000000000000000000,
http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVHIGH_FULL;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=9C100000000000000000000000000000,
http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_FULL;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=9C100000000000000000000000000000,
http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_BASE;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=9C100000000000000000000000000000,
http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVHIGH_PRO;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=9C100000000000000000000000000000,
http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_SM;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=9C100000000000000000000000000000,
http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_MED;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=9C100000000000000000000000000000,
http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_TN;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=9C100000000000000000000000000000,
http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_SM;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=9C100000000000000000000000000000,
http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_MED;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=9C100000000000000000000000000000,
http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_LRG;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=9C100000000000000000000000000000,
http-get:*:audio/wav:DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=9C100000000000000000000000000000,
http-get:*:application/ogg:DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=9C100000000000000000000000000000,
http-get:*:video/mpeg:DLNA.ORG_OP=11;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=9C100000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=9C100000000000000000000000000000,
http-get:*:video/mp4:DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=9C100000000000000000000000000000,
http-get:*:video/avi:DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=9C100000000000000000000000000000,
http-get:*:video/x-ms-wmv:DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=9C100000000000000000000000000000,
http-get:*:video/x-ms-asf:DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=9C100000000000000000000000000000,
http-get:*:image/bmp:DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=9C100000000000000000000000000000,
http-get:*:image/png:DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=9C100000000000000000000000000000


The best format for transcoding is : MPEG_TS_SD_NA mpegts/mpegvideo/ac3

1/ Could you provide device description.xml (INTEL Spy tool) of your device?
2/ First start with "Generic Profile", check with your file library format that are supported natively by your device.
3/ Post format that are not supported (for example mkv seems not supported)

Re: Convert Profile to use with Serviio

PostPosted: Mon Apr 28, 2014 12:56 am
by DaFerociousBeast
LVV2QGSY.xml
(3.07 KiB) Downloaded 498 times
Device Spy, right clicked device, get device xml, this is what I got.

ds_ce_x280n.pdf
(318.33 KiB) Downloaded 364 times
This is the formats the device supports from the HP Support page.

Not sure what you want in steps 2 & 3?

If I use generic profile in Serviio or Mezzmo, I get a "not authorized" error on the device. If I use the "HP Media Smart" profile which is included in Mezzmo, Mezzmo connects and works.
Mezzmo is able to connect/communicate with the HP MediaSmart Connect, through something in the profile, because the generic doesn't connect.

Re: Convert Profile to use with Serviio

PostPosted: Mon Apr 28, 2014 8:53 am
by Illico
Could you edit your ./serviio/config/profiles/xml file and add the following just before the last </Profiles> element :

  Code:
<Profile id="HPmedia" name="HP MediaSmart Connect" extendsProfileId="1">
      <!-- HP MediaSmart Connect -->
      <Detection>
         <UPnPSearch>
            <FriendlyName>HP MediaSmart Connect</FriendlyName>
            <Manufacturer>Hewlett-Packard</Manufacturer>
         </UPnPSearch>
      </Detection>
      <MediaFormatProfiles>
         <!-- rename native WMA formats to those supported by the device -->
         <MediaFormatProfile mime-type="audio/x-ms-wma" name="WMABASE">WMA_BASE</MediaFormatProfile>
         <MediaFormatProfile mime-type="audio/x-ms-wma" name="WMAFULL">WMA_FULL</MediaFormatProfile>     
      </MediaFormatProfiles>
      <Transcoding>
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3">
            <Matches container="matroska" />
         </Video>
         <!--For WLAN system mp3 target could be used -->
         <!--Audio targetContainer="mp3" aBitrate="192" aSamplerate="44100" -->
         <Audio targetContainer="lpcm">
            <Matches container="mp4" />
            <Matches container="flv" />
            <Matches container="asf" />
            <Matches container="rtp" />
            <Matches container="rtsp" />
            <Matches container="wavpack" />
            <Matches container="mpc" />
            <Matches container="ape" />
            <Matches container="ogg" />
         </Audio>
      </Transcoding>
   </Profile>



Restart serviio services or reboot your PC.

Check on serviio console (device list) that the "HP MediaSmart Connect" profile is automatically selected.
Try to play some popular file format :
mpeg, avi, mp4, mkv

Re: Convert Profile to use with Serviio

PostPosted: Tue Apr 29, 2014 2:10 am
by DaFerociousBeast
I will give it a try tomorrow.

Yard work...plus have extenders in use right now too.

Thanks for your help, I'll post my results tomorrow.

Re: Convert Profile to use with Serviio

PostPosted: Wed Apr 30, 2014 12:07 am
by DaFerociousBeast
PC that Serviio is on shows as HP MediaSmart Connect too.PNG
PC that Serviio is on shows as HP MediaSmart Connect too.PNG (46.96 KiB) Viewed 8010 times
Ok, Serviio sees HP MediaSmart Connect and assigns profile, but still getting "Not Authorized To Browse Server" when trying to access Serviio from device.

Here's something weird, Serviio also sees My PC as a HP MediaSmart Connect.

I'm assuming...that Loopback is doing something that doesn't agree with Serviio, possible causing the Access error on the MediaSmart Connect.

I know you can bound the server IP in Serviio, is there a way to bound the DLNA device IP in the profile. All my devices are assigned IP's through DHCP Reservations.

Re: Convert Profile to use with Serviio

PostPosted: Thu May 01, 2014 11:14 pm
by DaFerociousBeast
Anything else to try?

Re: Convert Profile to use with Serviio

PostPosted: Thu May 01, 2014 11:32 pm
by DaFerociousBeast
Looks like someone else had the same problem and just gave up.

viewtopic.php?f=13&t=10741&start=20

Re: Convert Profile to use with Serviio

PostPosted: Sat May 10, 2014 1:13 am
by DaFerociousBeast
Way beyond my knowledge, and problem shouldn't be occurring.

Thanks to any who tried.

I give up!!