FAQ  •  Register  •  Login

How do i enable flv transcoding for LG TV?

<<

Spookyy

Serviio newbie

Posts: 17

Joined: Sat Sep 22, 2012 5:54 pm

Post Sun Sep 23, 2012 3:40 pm

How do i enable flv transcoding for LG TV?

My LG TV can't play .flv files so i need help how to enable transcoding for that file. I'm no pro user so go easy please =)
<<

Illico

User avatar

DLNA master

Posts: 4649

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Sun Sep 23, 2012 6:07 pm

Re: How do i enable flv transcoding for LG TV?

This is a local or online flv streaming ?
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

Spookyy

Serviio newbie

Posts: 17

Joined: Sat Sep 22, 2012 5:54 pm

Post Sun Sep 23, 2012 7:02 pm

Re: How do i enable flv transcoding for LG TV?

Local files from my HD.
<<

Illico

User avatar

DLNA master

Posts: 4649

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Mon Sep 24, 2012 7:31 am

Re: How do i enable flv transcoding for LG TV?

You can edit LG profile (profile.xml) like this:
But it seems that Transcoding doesn't work with LG TV...
  Code:
   <Profile id="8" name="LG TV / player" extendsProfileId="1">
      <Detection>
         <HttpHeaders>
            <friendlyName.dlna.org>LG.*</friendlyName.dlna.org>
         </HttpHeaders>
      </Detection>
      <MediaFormatProfiles>
         <MediaFormatProfile mime-type="video/mp4" name="">AVI</MediaFormatProfile>
      </MediaFormatProfiles>
      <SubtitlesMimeType>text/srt</SubtitlesMimeType>      
      <!--Transcoding doesn't seem to work and some files can be played natively:
      http://forum.serviio.org/viewtopic.php?f=12&t=3914#p26273 -->
      <Transcoding>
         <Video targetContainer="mpegts" targetACodec="mp3">
            <Matches container="matroska" aCodec="ac3" />
         </Video>
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" >
            <Matches container="avi" vCodec="msmpeg4"/>
            <Matches container="flv" />
         </Video>
      </Transcoding>
   </Profile>
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

Spookyy

Serviio newbie

Posts: 17

Joined: Sat Sep 22, 2012 5:54 pm

Post Mon Sep 24, 2012 9:21 am

Re: How do i enable flv transcoding for LG TV?

Thanks! that worked just fine. :lol:

I have another file format that the LG don't support (.wmv) so i tried to add that also but Seriio service kept refusing to start so i had to figure out why... some sort of crash log i've read about in the forum. Yep, after some more searching i found that you need to name it .asf. Now Serviio starts up again, and i can transcode .wmv files also =)

It looks like this now if anyone else needs it:

  Code:
<Profile id="8" name="LG TV / player" extendsProfileId="1">
      <Detection>
         <HttpHeaders>
            <friendlyName.dlna.org>LG.*</friendlyName.dlna.org>
         </HttpHeaders>
      </Detection>
      <MediaFormatProfiles>
         <MediaFormatProfile mime-type="video/mp4" name="">AVI</MediaFormatProfile>
      </MediaFormatProfiles>
      <SubtitlesMimeType>text/srt</SubtitlesMimeType>     
      <!--Transcoding doesn't seem to work and some files can be played natively:
      http://forum.serviio.org/viewtopic.php?f=12&t=3914#p26273 -->
      <Transcoding>
         <Video targetContainer="mpegts" targetACodec="mp3">
            <Matches container="matroska" aCodec="ac3" />
         </Video>
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" >
            <Matches container="avi" vCodec="msmpeg4"/>
            <Matches container="flv" />
            <Matches container="asf" />
         </Video>
      </Transcoding>
   </Profile>
<<

Illico

User avatar

DLNA master

Posts: 4649

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Mon Sep 24, 2012 10:48 am

Re: How do i enable flv transcoding for LG TV?

Great!

For information, could you provide protocolInfo result of your device ? http://wiki.serviio.org/doku.php?id=device_sf
Could you also provide some elements like <modelNumber>,<friendlyname>,etc from device description xml with the upnp tools?
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

Spookyy

Serviio newbie

Posts: 17

Joined: Sat Sep 22, 2012 5:54 pm

Post Mon Sep 24, 2012 12:35 pm

Re: How do i enable flv transcoding for LG TV?

Okies, heres goes; ... i see now that wmv is mentioned in there but it will not play those directly.

  Code:
http-get:*:audio/l16;rate=44100;channels=1:DLNA.ORG_PN=LPCM,
http-get:*:audio/l16;rate=44100;channels=2:DLNA.ORG_PN=LPCM,
http-get:*:audio/mpeg:DLNA.ORG_PN=MP3,
http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_SM,
http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_MED,
http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_LRG,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_NTSC,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA_T,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_NA_ISO,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_KO,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_KO_T,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_KO_ISO,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU_T,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_EU_ISO,
http-get:*:audio/mpegurl:*,
http-get:*:audio/mp3:*,
http-get:*:audio/mpeg:*,
http-get:*:audio/mpeg3:*,
http-get:*:video/x-ms-wmv:*,
http-get:*:video/x-ms-asf:*,
http-get:*:video/x-ms-avi:*,
http-get:*:video/mpeg:*,
http-get:*:video/avi:*,
http-get:*:video/mp4:*,
http-get:*:video/x-matroska:*,
http-get:*:video/3gpp:*,
http-get:*:video/x-msvideo:*
Attachments
MediaRenderer1.xml
(2.2 KiB) Downloaded 308 times
<<

Illico

User avatar

DLNA master

Posts: 4649

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Mon Sep 24, 2012 2:00 pm

Re: How do i enable flv transcoding for LG TV?

Thanks,
That is the same than "LG Smart TVs " : http://wiki.serviio.org/doku.php?id=dev ... at_support
According to information, your TV should support WMV in native format (no need to transcode)
http-get:*:video/x-ms-wmv:*,
http-get:*:video/x-ms-asf:*,

Do you have another information about format supported (usermanual) ?
Could you provide information about your wmv file ? (ffmpeg -i <file>)
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

Spookyy

Serviio newbie

Posts: 17

Joined: Sat Sep 22, 2012 5:54 pm

Post Mon Sep 24, 2012 2:39 pm

Re: How do i enable flv transcoding for LG TV?

Yeah, you are right'ish. I had some other wmv files that actually worked directly. But the one i tried first do not work. So there might be some wierd stuff going on with that file.

Here is the results from that file: (fl_intro.wmv taken from Freelancer game)

  Code:
c:\Program Files\Serviio\lib>ffmpeg -i fl_intro.wmv
ffmpeg version N-42368-gbf53863 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul 10 2012 03:40:45 with gcc 4.6.3
  configuration: --enable-static --disable-shared --disable-ffplay --disable-ffserver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enable-pthreads --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --pkg-config=pkg-config
  libavutil      51. 64.100 / 51. 64.100
  libavcodec     54. 33.100 / 54. 33.100
  libavformat    54. 15.102 / 54. 15.102
  libavdevice    54.  1.100 / 54.  1.100
  libavfilter     3.  1.100 /  3.  1.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, asf, from 'fl_intro.wmv':
  Metadata:
    ToolName        : Windows Media Encoding Utility
    ToolVersion     : 8.00.00.0343
    VBR Peak        : 2127.00.0343
    Buffer Average  : 5241.00.0343
  Duration: 00:03:46.76, start: 0.000000, bitrate: 1374 kb/s
    Stream #0:0: Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, stereo, s16, 64 kb/s
    Stream #0:1: Video: wmv2 (WMV2 / 0x32564D57), yuv420p, 720x480, 29.97 tbr, 1k tbn, 1k tbc
<<

Illico

User avatar

DLNA master

Posts: 4649

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Mon Sep 24, 2012 6:27 pm

Re: How do i enable flv transcoding for LG TV?

Seems to be a standard asf/wmv2/wmav2, don't know what is the problem.
Could you provide MediaInfo tool result (in text format) ?

Does the other wmv files are similar asf/wmv2/wmav2 format?

Btw, <Matches container="flv" /> should be added for the next serviio release.
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

Spookyy

Serviio newbie

Posts: 17

Joined: Sat Sep 22, 2012 5:54 pm

Post Mon Sep 24, 2012 9:14 pm

Re: How do i enable flv transcoding for LG TV?

I had another wmv file that hates my TV =)
Attachments
2dwarves.txt
(2.05 KiB) Downloaded 191 times
fl_intro.txt
(1.95 KiB) Downloaded 201 times
<<

Illico

User avatar

DLNA master

Posts: 4649

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Tue Sep 25, 2012 7:21 am

Re: How do i enable flv transcoding for LG TV?

So these two files are asf/wmv2/wmav2 and are not supported by your TV model.
Spookyy wrote:...I had some other wmv files that actually worked directly. But the one i tried first do not work...

What are the format of others wmv files that are supported by your TV?
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

Spookyy

Serviio newbie

Posts: 17

Joined: Sat Sep 22, 2012 5:54 pm

Post Tue Sep 25, 2012 9:36 am

Re: How do i enable flv transcoding for LG TV?

These 2 worked directly:
Attachments
dans.txt
(2.27 KiB) Downloaded 256 times
pingu.txt
(2.37 KiB) Downloaded 243 times
<<

Illico

User avatar

DLNA master

Posts: 4649

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Tue Sep 25, 2012 3:52 pm

Re: How do i enable flv transcoding for LG TV?

Spookyy wrote:These 2 worked directly:

These files are asf/vc1/wma2 supported in native format, so we can edit the profile like this :
- asf/vc1/wma2 will be delivered in native format
- asf/wmv2/* will be transcoded

  Code:
   <Profile id="8" name="LG TV / player" extendsProfileId="1">
      <Detection>
         <HttpHeaders>
            <friendlyName.dlna.org>LG.*</friendlyName.dlna.org>
         </HttpHeaders>
      </Detection>
      <MediaFormatProfiles>
         <MediaFormatProfile mime-type="video/mp4" name="">AVI</MediaFormatProfile>
      </MediaFormatProfiles>
      <SubtitlesMimeType>text/srt</SubtitlesMimeType>     
      <!--Transcoding doesn't seem to work and some files can be played natively:
      http://forum.serviio.org/viewtopic.php?f=12&t=3914#p26273 -->
      <Transcoding>
         <Video targetContainer="mpegts" targetACodec="mp3">
            <Matches container="matroska" aCodec="ac3" />
         </Video>
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" >
            <Matches container="avi" vCodec="msmpeg4"/>
            <Matches container="flv" />
            <Matches container="asf" vCodec="wmv2"/>
         </Video>
      </Transcoding>
   </Profile>
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

Spookyy

Serviio newbie

Posts: 17

Joined: Sat Sep 22, 2012 5:54 pm

Post Tue Sep 25, 2012 5:01 pm

Re: How do i enable flv transcoding for LG TV?

Great! Thanks for all the help.
<<

Illico

User avatar

DLNA master

Posts: 4649

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Tue Sep 25, 2012 7:00 pm

Re: How do i enable flv transcoding for LG TV?

Zip, do you think that could be added to the next realease ?
<Matches container="flv" />
<Matches container="asf" vCodec="wmv2"/>
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

Spookyy

Serviio newbie

Posts: 17

Joined: Sat Sep 22, 2012 5:54 pm

Post Wed Sep 26, 2012 5:27 am

Re: How do i enable flv transcoding for LG TV?

It worked okay when i tried those changes so i guess so =)

...

I have a video file that i downloaded from youtube and it's called *.webm. Is there a way for Serviio to transcode that video format?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17051

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Sep 30, 2012 12:32 pm

Re: How do i enable flv transcoding for LG TV?

Spookyy wrote:I have a video file that i downloaded from youtube and it's called *.webm. Is there a way for Serviio to transcode that video format?

Rename it to .mkv and try then.
<<

Spookyy

Serviio newbie

Posts: 17

Joined: Sat Sep 22, 2012 5:54 pm

Post Mon Oct 01, 2012 7:08 am

Re: How do i enable flv transcoding for LG TV?

I get "file is invalid" when doing that.

I noticed some .mkv movies fails with "unsupported audio" error.
<<

Illico

User avatar

DLNA master

Posts: 4649

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Mon Oct 01, 2012 7:24 am

Re: How do i enable flv transcoding for LG TV?

Spookyy wrote:I get "file is invalid" when doing that.
I noticed some .mkv movies fails with "unsupported audio" error.

Could yo provide information about these *.webm and mkv files ?
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
Next

Return to LG

Who is online

Users browsing this forum: No registered users and 1 guest

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.