Page 1 of 1

TV LD LG840 youtbe plugin not works

PostPosted: Tue Oct 18, 2011 8:46 pm
by xpto09
In online services I put the url:
http://gdata.youtube.com/feeds/apl/standarfeeds/top_rated

When I try to play a video, there is the message "invalid file".
However, inside the /tmp I can see a file, for example, transcoding-temp-1000000000090012-MPEG2TS.stf

If I copy it inside the Folders and rename it to transcoding-temp-1000000000090012-MPEG2TS.avi,
I can play it.

I read that "transcoding only works with a specific Render Profile".
The profle is:
  Code:
   <Profile id="8" name="LG TV / player" extendsProfileId="1">

      <Detection>

         <HttpHeaders>

            <friendlyName.dlna.org>LG.*</friendlyName.dlna.org>

         </HttpHeaders>

      </Detection>

      <SubtitlesMimeType>text/srt</SubtitlesMimeType>

      <MediaFormatProfiles>

         <MediaFormatProfile mime-type="video/mp4" name="">AVI</MediaFormatProfile>

      </MediaFormatProfiles>

      <Transcoding>         

         <Video targetContainer="mpegts" targetACodec="mp3">

            <Matches container="matroska" aCodec="ac3" />

         </Video>

      </Transcoding>

   </Profile>


I tried other profiles (I changed the <Detection> to get this), but until now I can not play the youtube videos.

What can I do to solve this?

Re: TV LD LG840 youtbe plugin not works

PostPosted: Tue Oct 18, 2011 9:13 pm
by zip
The LG devices have problems playing any transcoded (incl online) content because of a bug in their firmware. Not sure if it's all of them, but some definitely do. You might be one affected. We can confirm this by you providing the detailed log of playing the file.

Re: TV LD LG840 youtbe plugin not works

PostPosted: Tue Oct 18, 2011 11:37 pm
by xpto09

Re: TV LD LG840 youtbe plugin not works

PostPosted: Wed Oct 19, 2011 10:51 am
by zip
Yep, that's the case where the TV asks for bytes range even though Serviio says it doesn't support it. :(

Re: TV LD LG840 youtbe plugin not works

PostPosted: Wed Oct 19, 2011 7:04 pm
by xpto09
Could you explain this issue?

1) Serviio gets to download the youtube file and save it like xxxx.stf;
2) Serviio does not get to transcode it.
3) Invalid file.

Then this is a firmware or transcodng problem?

Re: TV LD LG840 youtbe plugin not works

PostPosted: Wed Oct 19, 2011 10:16 pm
by zip
1) Serviio downloads the file and transcodes to .stf
2) the TV then asks for another chunk of the file, but in an invalid way (for non-existent portion of the file) so Serviio rejects the request
3) TV doesn't try again and stops the playback

-> TV firmware bug

Re: TV LD LG840 youtbe plugin not works

PostPosted: Wed Oct 19, 2011 10:50 pm
by xpto09
This is very interisiting.
I can play youtube files when I access the Netcast.

Serviio always download all the youtube file.

A stupid question:

Is it possible to serviio rename the files from .sft to .avi?

If it was possible, the tv could play the file!

Re: TV LD LG840 youtbe plugin not works

PostPosted: Thu Oct 20, 2011 10:45 am
by zip
Extension doesn't matter, the file is not completely written when you start watching. You can of course copy the stf file, rename to .mpg and add it to your library manually and watch it then, but it sucks.

I assume Netcast is LG connected TV app and therefore different kind of fish altogether.