Page 1 of 1

TV not supported video won't transcode on serviio

PostPosted: Tue Jul 12, 2016 10:35 pm
by QuiGon
I've been searching forums and solutions for two days but either i can't make it work or i don't understand what is the problem

here are the file mediainfo details. So am I to understand that HEVC transcoding is added to 1.6.1 serviio (which i use) but i still don't see it under profiles.xml. Why can't i play this video?

please help me. Thank you all.

System OS: win7 Ultimate 64bit.
K-Lite Codec Pack installed (V 1210_Mega) i don't know if it helps. Fil will play on PC normally.
TV : Telefunken (some cheap tv, probably noone heard of. but it works... :)

Re: TV not supported video won't transcode on serviio

PostPosted: Wed Jul 13, 2016 4:30 am
by DenyAll
What profile are you assigning to the TV?
H265 is supported and has been added to most standard profiles contained within profiles.xml. I suspect that either your TV is being assigned to the Generic DLNA profile (which doesn't do any transcoding) or you have turned transcoding off.

You will need to assign a standard profile manually to the TV, or write your own. Search the forum to see what profiles others might be using for the Telefunken. If its only H265 files that you are having trouble with probably easiest to write your own profile - something like:

  Code:
   <Profile id="tf" name="Telefunken" extendsProfileId="1">
      <Transcoding>
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
            <Matches container="*" vCodec="h265" />
         </Video>
      </Transcoding>
   </Profile>

Re: TV not supported video won't transcode on serviio

PostPosted: Wed Jul 13, 2016 7:57 am
by QuiGon
hey, thanks for the reply.

The thing is i have no idea how to write profile. I have found something like this, but code itself i don't understand very much, and i have no idea where to place it. I have tried edit profiles.xml and found ismilar lines like this, and kinda tried to fit it in, but after that i can't start servio anymore. I suppose that i didn't edit it corectly.

can you be kind and edit my profiles.xml for me..or tell me in more details how would i do it myself.
also i have no idea how to load custom profile after (if) i fix it. is it loaded by default or how would Serviio know. i don't beileve that there is tag that will recognize my tv. and how would i force standard reecnoding.
it's not turned off. I have it on and it works for everything else, just h265 is the problem.

thank you a lot.

in any case there is default profiles file in attachment.

Re: TV not supported video won't transcode on serviio

PostPosted: Wed Jul 13, 2016 8:33 am
by DenyAll
No problem.

  • Open profiles.xml - located in the Serviio/Config folder - with your favorite text editor (I prefer Notepad++ as it is context aware which aids editing).
  • Navigate to the very bottom of the file
  • Copy and Paste the new profile from my post above just before the last line (the one that contains "</Profiles>")
  • Save the file and restart your PC (or the Serviio service if you know how)
  • On restarting go to Serviio Console (http://localhost:23423/console)
  • On the status tab, find your device (you may need to identify it by IP address) and press Edit
  • Click on the Profile text box. Change the Profile by selecting your new profile from the list (it will be at the bottom of the list)
  • Press OK and then Save
Note:
  • If Serviio does not start, there is something wrong with the profile - check the serviio\log\serviio.log file and it will generally tell you what. I haven't tested the above profile as I am not in front of my server at the mo.
  • If transcoding doesn't work (you still cannot play the file) try changing: targetContainer="mpegts" to: targetContainer="mpeg"

Re: TV not supported video won't transcode on serviio

PostPosted: Wed Jul 13, 2016 2:03 pm
by QuiGon
O thank you a lot. I did go slowly and figured it a bit. From your post I understand now how adding new profile works and close tags and load it from serviio. Thank you for that, again.
NOTE: it doesn't work by stoping and starting serviio service (at least for me it didn't). i had to restart computer in order to show profile on list in serviio console.

now strangest thing happend. as it turns out it works now..all episodes but the first one i tried to load. It gave me msg UNSUPORTED FILE FORMAT. and than i moved to 2nd episode, it works. They all work but first one. I did also compare file over mediainfo and it's the same.

this has happend before while using servio. I know i sometimes watch episode that needs reencoding, and it worked..but at some point it stopped working and it doesn't since then. I don't know how i have to fix it, might try empting temp, or restart computer couple of times..and give it more time or something.

i'll try to figure it. if you have any insight about this, please tell.

EDIT : it does work now..after some time. tnx. still have to figure why that happens in a first place.

Re: TV not supported video won't transcode on serviio

PostPosted: Sun Jul 17, 2016 9:18 am
by DenyAll
Cool - good to see its all working.

Re: TV not supported video won't transcode on serviio

PostPosted: Thu Jul 21, 2016 11:40 pm
by QuiGon
Hello again,

might i ask you for another help. While it is working the way you described, i figured that i have dynamic IP. Very frequently on status of serviio console i get new devices which is actually the same device, but with different IP and i can't indetify this device.

Is there any way i could add this transcoding code to generic DLNA profile (default) so i don't have to get into console an everytime i get new ip i have to change to Telefunken profile. IT would certanly be easier to have it either by default, or add code to generic DLNA profile and don't care what is the ip at all?

Thank you.

Re: TV not supported video won't transcode on serviio

PostPosted: Fri Jul 22, 2016 1:57 am
by DenyAll
Yes, there are two ways.

  1. Allocate a Reserved IP address for your server. This will stop the IP address of that PC changing. You do this in your router (normally under the LAN settings, but without knowing the router I cant really be specific). Google "Reserved IP address" and your router model, and you'll generally find instructions relevant to your router.
  2. You can use the Detection capabilities within the profile, to assign the profile automatically based on the make, model and "Friendly Name" of the device. To get the Friendly Name and make and model that DLNA sees, use the Intel UPNP Tools (see http://wiki.serviio.org/doku.php?id=device_sf&s) or sometime you can see it in the Serviio detailed log when the device is detected.

Re: TV not supported video won't transcode on serviio

PostPosted: Mon Jul 25, 2016 9:44 pm
by QuiGon
Oh thank you for reminding me that i can use DHCP binding. To be honest when getting used to get answers i kinda give up on thinking myself :) Sorry for stupid or needless questions :)

here is how is my stuff is connected.
-I have one ADSL+WROUTER combo device which is connected to my PC via LAN Cable.
-My tv does not have wireless implemented so i had to purcahse wireless reciever that attaches to USB in tv.

it worked with DHCP Binding. Thank you a lot for this.

Re: TV not supported video won't transcode on serviio

PostPosted: Fri Nov 18, 2016 5:02 pm
by pedi
I had also the problem, that Serviio loses the connection between the profile and the TV (the TV has a fixed IP). I had to reassign it every time. I detected, that the TV uses two friendly names - I don't know why. So I prepared the following profile:
  Code:
       <Profile id="telefunken" name="Telefunken" extendsProfileId="1">
      <Detection>
         <UPnPSearch>
            <FriendlyName>(TELEFUNKENTV.*|FollowTVServer.*)</FriendlyName>
         </UPnPSearch>
      </Detection>
      <Transcoding>
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="mp2" maxVBitrate="8192" forceStereo="true" DAR="16:9">
            <Matches container="*" />
         </Video>
         <Audio targetContainer="mp3">
             <Matches container="*" />
         </Audio>
      </Transcoding>
      <OnlineTranscoding>
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="mp2" maxVBitrate="8192" forceStereo="true" DAR="16:9">
            <Matches container="*" />
         </Video>
      </OnlineTranscoding>
      <GenericTranscoding>
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="mp2" maxVBitrate="8192" forceStereo="true" DAR="16:9" />
      </GenericTranscoding>
      <Subtitles>
         <SoftSubs mime-type="smi/caption" />
         <HardSubs>
            <TextBased supported="false" />
         </HardSubs>
      </Subtitles>   
      <LimitImageResolution>false</LimitImageResolution>
   </Profile>

I know, that this is maybe not a perfect solution, but with the friendly names listed above the profile keeps connected in Serviio. If I have time, then maybe I will tune the profile, but it works for the moment.