Page 1 of 1

[SOLVED] Futubox (and other) streams on LG

PostPosted: Sat Oct 20, 2012 6:08 pm
by catnip
hi all, i'm new and i'm reading this forum every minute i can for figure out my problem...after 3 days i still have any idea...i'm Italian (sorry for my english) and i've a LG 42LM670S screen...smart tv, 3d, dlna, bla bla bla ok i've try PLEX app and it's good for streaming movies pics and mp3 with metadata covers and so on...i've also a futubox account so i can see italian tv and ppv from my pc; my problem is how can i stream a futubox channel on this TV?

i've done 1000000 try first of all sharing desktop with vlc and tversity (or also serviio) but it sucks...the best thing i think i've done still now is that i've installed playlist.groovy and download the futubox channels playlist, i've rtmp, rtsp, http format of the channels...i've adeed to serviio like web resource with this command :

http://-SW-ufile:///c:/playlist.m3u-SW-tVIDEO

the playlist is a valid playlist with the source coded in this way : http://tv.futubox.com/ilive/z050210.str ... UTUBOXCODE

it's all ok, if i try to connect to serviio with another pc wirelesly i haven''t any kind of problem, i can see the channel and i can play it...in my lg 42lm670s i can see the folders, the channel (with a mp3 icon) i try to play it and after 10 or more seconds of waiting (with the ring) it says in italian (il file corrente non e' valido) i can traduct it as "the current file is not valid"
i've try with this method with an udp channel and it works on the other pc and also on my tv...

i've try a lot of things :
-try to change playlist with another one in xspf (try also m3u8) format
-try to use transcoding option in serviio
-try to use rtmp, rtsp and http streams in the playlist (all tested first in vlc)
-try to modify the profile.xlm with the code that a guy posted here adding transcode for flv format
-try to connect tv and router with a cable
and a lot of other things that i've forgot, all work everytime from another pc via wireless (or cable) but never on tv...

i can't figure out the problem and i hope you can help me :)

thanks a lot
waiting for a response :)

Re: Futubox (and other) streams on LG

PostPosted: Sun Oct 21, 2012 2:43 pm
by jhb50

Re: Futubox (and other) streams on LG

PostPosted: Sun Oct 21, 2012 3:55 pm
by catnip
i've used the ffmpeg command and i've gather these info :

all these stream works perfectly f i open them with VLC or also with serviio server from another PC connected wireless with router...LG don't work

ffmpeg -i http://tv.webport.tv/ilive/z050230.stre ... 8?lp=_MYID

retrieve me : http error 404 not found, I\O error

but the stream works and i can see it connecting with another PC to serviio server with web interface...

LG and all other devices are able to play this link : rtmp://www.teledunet.com:1935/teledunet playpath=abu_dhabi_sport_1
but if i try to do ffmpeg -i rtmp://www.teledunet.com:1935/teledunet playpath=abu_dhabi_sport_1
it says :

closing connection : netstream.play.failed
rtmp://www.teledunet.com:1935/teledunet playpath=abu_dhabi_sport_1 Unknown error occurred

Re: Futubox (and other) streams on LG

PostPosted: Sun Oct 21, 2012 8:37 pm
by jhb50
You must use
  Code:
ffmpeg -i "http://tv.webport.tv/ilive/z050230.stream/playlist.m3u8?lp=_MYID live=1"
and
ffmpeg -i "rtmp://www.teledunet.com:1935/teledunet playpath=abu_dhabi_sport_1 live=1"

When you add the livestreams to serviio use the test link box. If it stays red, add live=1 and try again.

Re: Futubox (and other) streams on LG

PostPosted: Sun Oct 21, 2012 9:04 pm
by catnip
ok thanks

with the rtmp link it says video h264 audio aac
this link i've no problem to play on tv...

the other (the http link) ffmpeg says http error / 403 forbidden all the link and then input output error, this link i can stream via serviio to all pc in my house and it works but not on tv...

obviously i stream the rtmp link as live stream and the http link as web resource...

Re: Futubox (and other) streams on LG

PostPosted: Sun Oct 21, 2012 9:28 pm
by jhb50
obviously i stream the rtmp link as live stream and the http link as web resource...
No they are both livestreams. You have no plugin for futubox.

Re: Futubox (and other) streams on LG

PostPosted: Mon Oct 22, 2012 5:30 am
by catnip
thanks a lot, now i'm working, when i return @ home i'll try but i'm quite sure that in the past days i've just try to add the http link as live stream but it gives back the red X on the check box...
later i'll try with live=1 and without...
thanks for the help!

Re: Futubox (and other) streams on LG

PostPosted: Mon Oct 22, 2012 12:24 pm
by catnip
if i add as live stream a link like this :
http://tv.futubox.com/ilive/z050231.str ... u8?lp=MYLP
it gives me the green tick, but LG says "current video is not valid"

ffmpeg -i "http://tv.futubox.com/ilive/z050231.stream/playlist.m3u8?lp=MYLP"

gives
  Code:
[hls,applehttp @ 0189CEC0] max_analyze_duration 5000000 reached at 5016000
[hls,applehttp @ 0189CEC0] Could not find codec parameters (Unknown: none ([21][
0][0][0] / 0x0015))
[hls,applehttp @ 0189CEC0] Estimating duration from bitrate, this may be inaccur
ate
Input #0, hls,applehttp, from 'http://tv.futubox.com/ilive/z050231.stream/playli
st.m3u8?lp':
  Duration: 00:00:00.03, start: 906.986311, bitrate: 37 kb/s
    Stream #0:0: Unknown: none ([21][0][0][0] / 0x0015)
    Metadata:
      variant_bitrate : 250000
    Stream #0:1: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yu
v420p, 1280x720 [SAR 1:1 DAR 16:9], 25 tbr, 90k tbn, 50 tbc
    Metadata:
      variant_bitrate : 250000
    Stream #0:2: Audio: mp3 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16, 128
kb/s
    Metadata:
      variant_bitrate : 250000
At least one output file must be specified


it seems like there are 3 streams...the first unknown...the second is the video h264 and the third audio in mp3 why?

edit :

this link works on tv :
rtmp://fl1.sz.xlcdn.com/live/_definst_/ ... =classtv_1

this not :
rtmp://cp49989.live.edgefcs.net:1935/live playpath=streamRM1@2564 pageUrl=http://video.sky.it/news/diretta live=1 swfUrl=http://videoplatform.sky.it/player/videoplayer_live.swf

Re: Futubox (and other) streams on LG

PostPosted: Mon Oct 22, 2012 2:48 pm
by jhb50
This works fine.
  Code:
ffmpeg -i "rtmp://cp49989.live.edgefcs.net:1935/live playpath=streamRM1@2564 pageUrl=http://video.sky.it/news/diretta live=1 swfUrl=http://videoplatform.sky.it/player/videoplayer_live.swf"


For futubox I suggest you forget about the playlist for now and just get the individual rtmp streams working on your TV. I cannot help you wit theplaylist groovy.

Re: Futubox (and other) streams on LG

PostPosted: Mon Oct 22, 2012 2:59 pm
by catnip
i don't know why after half an hour now it's fine for me also this link : ffmpeg -i "rtmp://cp49989.live.edgefcs.net:1935/live playpath=streamRM1@2564 pageUrl=http://video.sky.it/news/diretta live=1 swfUrl=http://videoplatform.sky.it/player/videoplayer_live.swf" t
hat is skytg24... an italian channel

for futubox i'm trying with individual links added as live streams as you can see on the code i attached for this stream few posts ago "http://tv.futubox.com/ilive/z050231.stream/playlist.m3u8?lp=MYLP"

but don't work on my tv...but works well on other serviio clients...dunno...

any ideas?

Re: Futubox (and other) streams on LG

PostPosted: Mon Oct 22, 2012 3:53 pm
by jhb50
Seems default profile transcodes applehttp to mpeg container. Try changing it to mpegts.

Re: Futubox (and other) streams on LG

PostPosted: Mon Oct 22, 2012 4:45 pm
by catnip
ok now i'll try...i must change this in profiles.xml right? in lg tv profile or in default profile?
thanks a lot.

by the way if you've time to try, this is a link taken from an xml list for SimpleTV (XBMC) and it works (in xbmc) if i change the lp code with mine...with this i don't know i haven't tested; the syntax should be this...but if i check with serviio i have the red X (also changing live=true in live=1)

rtmp://s01.webport.tv:1935/live?lp=UGhv ... 301.stream live=true

Re: Futubox (and other) streams on LG

PostPosted: Mon Oct 22, 2012 4:56 pm
by catnip
hmm i've changed in profiles.xml in "default profile" the container from mpeg to mpegts , i've added this url as live stream :

http://tv.webport.tv/ilive/z050230.stre ... 8?lp=_MYID live=1

the check box gives me the green tick...works on serviio media browser but not on LG...the current file it's not valid...

Re: Futubox (and other) streams on LG

PostPosted: Mon Oct 22, 2012 6:56 pm
by jhb50
Try as an rtmp stream, not applehttp. This worked as livestream when futubox was free.[url]"rtmp://tv.futubox.com/ilt/z050001.stream pageUrl=http://www.tvsector.com/ swfVfy=0 live=1"[/url]

Re: Futubox (and other) streams on LG

PostPosted: Tue Oct 23, 2012 12:13 pm
by catnip
don't work on serviio if i check the link i've the red X ; i've try with these formats :

rtmp://tv.futubox.com/ilt/z050001.stream pageUrl=http://www.tvsector.com/ swfVfy=0 live=1
rtmp://tv.futubox.com/ilt/z050001.stream?LP=MYLP pageUrl=http://www.tvsector.com/ swfVfy=0 live=1
rtmp://tv.futubox.com/ilt/z050001.strea ... u8?LP=MYLP pageUrl=http://www.tvsector.com/ swfVfy=0 live=1

also trying to change ilt with live and ilive but nothing...everytime the check fails

Re: Futubox (and other) streams on LG

PostPosted: Tue Oct 23, 2012 1:08 pm
by catnip
finally i can say : SOLVED!!!

i tell you how make futubox works if happend that in a future someone have my same issue :

serviio 1.0.1 under WINXP SP3 to a LG Smart TV 42LM670S

i don't think it's necessary to change the container from mpeg to mpegts as you say because i don't use applehttp links...by the way i leave it as mpegts

i follow your suggestion to use rtmp links and not applehttp links and this works!!! but the link must be coded in this way :

rtmp://s01.webport.tv:1935/live?lp=YOUR ... NEL.stream live=1

with this code i can see every futubox channels really fluid (better than server pc browser) without buffering (i've not a standard config for internet...i have my server pc connected to internet with an ALFA AWUS036H (speedtest around 7mbit (here in italy is quite good i live in a little town...)) and the router linked to pc via lan , the router transmit to TV and other devices serviio.
the router is not connected directly to internet, i can't sharing the internet connection of the server pc because it must be linked on lan port of the router for serving serviio , if i link the PC to the internet port of the router and sharing the wifi connection i've internet on all devices...
and the router is an old (around 8 y.o.) belkin 54g paid like 30Euro (8 years ago) so i'm surprised about the stability and fluidity of the stream! the tv is around 10 meters and upstairs far away from router.

really good!!

i don't know how to thanks you for your help,time and patience :) you give me a lot of hints really useful in a future!

thanks! great job!

Re: [SOLVED] Futubox (and other) streams on LG

PostPosted: Tue Oct 23, 2012 3:01 pm
by jhb50
Ok. Now you can put all your links in a folder using the LiveFeeds.groovy as documented in http://wiki.serviio.org/doku.php?id=live_stream_folders and like viewtopic.php?f=41&t=5117

Re: [SOLVED] Futubox (and other) streams on LG

PostPosted: Tue Oct 23, 2012 3:23 pm
by catnip
i've used playlist.groovy ; i've created a m3u playlist compatible with serviio (i saw that not all m3u and xml are compatible) and then i've created all the links of the futubox channels i'm interested for, saved and then added as web resource with this code :

http://-SW-ufile:///c:/FutuboxChan.m3u-SW-tVIDEO

and it's work like a charm! i'm really satisfied!

a hint,in this case if you add this link on serviio and then you need to edit futuboxchan.m3u you must edit the m3u, then save that with another name and then modify the web resource with the new name, only in this way serviio refresh the folder with the new channels.

thanks for update the topic :)

thanks again for all...