|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
|
Thread Tools | Search this Thread | Display Modes |
#61
|
||||
|
||||
Quote:
VLC --> Local Port (VLC streams to local port) Local Port --> web server (web server reads VLC's stream and...) web server --> client (...forwards it to the client as part of the HTTP response) So as it's currently implemented RTSP probably won't work.
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun. Extender: STP-HD300, Harmony 550 Remote, Netgear MCA1001 Ethernet over Coax. SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client, Java 1.6. Plugins: Jetty, Nielm's Web Server, Mobile Web Interface. |
#62
|
||||
|
||||
Quote:
The problem when trying to get from there (a preconverted video) to real-time transcoding is that HTTP progressive downloads request byte ranges from the server, and the file size is impossible to predict during a real-time transcode so there's no way to request something in the middle of the file. Apple's HTTP Live Streaming holds some promise because it's based on a playlist consisting of small segments defined in terms of time, not bytes.
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun. Extender: STP-HD300, Harmony 550 Remote, Netgear MCA1001 Ethernet over Coax. SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client, Java 1.6. Plugins: Jetty, Nielm's Web Server, Mobile Web Interface. |
#63
|
|||
|
|||
Quote:
The issue with this is that VLC seems to like/need to know your destination IP and port before your client has made the connection. As soon as I started this instance of VLC, wireshark showed that VLC started pumping data like mad to the phone's IP address (I had substitued my ip addrs for the ones you show above). But the phone (either at the phone level or the network provider) seems to effectively have the phone behind a firewall. Or maybe it's just that no app on the phone is listening on that port. Either way, the host and/or port are unreachable (according to an ICMP message that came back from the phone's IP addr). Sooo.. VLC needs to support a mode where it sets itself up as a server and waits for the phone to connect via RTSP links. Which is what VLC's VLM VideoOnDemand functionality is supposed to support. I had issues with that, you should be able to find some of that discussion earlier in this thread. |
#64
|
||||
|
||||
You are supposed to provide the port and IP of the SageTV server, not of the phone. Just like you were originally using 127.0.0.1, but wasn't working from another pc/device... Then from the phone you open up that connection...
__________________
SageTCPServer (2.3.5): Open source TCP interface to the SageTV API MLSageTV (3.1.8)/Sage Media Server (1.13): SageTV plugin for MainLobby/CQC TaSageTV (2.58)/TaSTVRemote (1.14): Monitor/control SageTV with an Android device TbSageTV (1.02)/STVRemote (1.11): Monitor/control SageTV with a PlayBook 2 TiSageTV (1.64)/TiSTVRemote (1.09): Monitor/control SageTV with an iPhone/iPod/iPad |
#65
|
||||
|
||||
I see, I didn't know the web server was re-encapsulating the stream or such...
__________________
SageTCPServer (2.3.5): Open source TCP interface to the SageTV API MLSageTV (3.1.8)/Sage Media Server (1.13): SageTV plugin for MainLobby/CQC TaSageTV (2.58)/TaSTVRemote (1.14): Monitor/control SageTV with an Android device TbSageTV (1.02)/STVRemote (1.11): Monitor/control SageTV with a PlayBook 2 TiSageTV (1.64)/TiSTVRemote (1.09): Monitor/control SageTV with an iPhone/iPod/iPad |
#66
|
||||
|
||||
But that seems more something between the web server and VLC, than between VLC and the client...
__________________
SageTCPServer (2.3.5): Open source TCP interface to the SageTV API MLSageTV (3.1.8)/Sage Media Server (1.13): SageTV plugin for MainLobby/CQC TaSageTV (2.58)/TaSTVRemote (1.14): Monitor/control SageTV with an Android device TbSageTV (1.02)/STVRemote (1.11): Monitor/control SageTV with a PlayBook 2 TiSageTV (1.64)/TiSTVRemote (1.09): Monitor/control SageTV with an iPhone/iPod/iPad |
#67
|
|||
|
|||
Quote:
Can anyone else with a droid take a crack at it, I probably won't be able to try much out the rest of the week. I havew my new antenna preamp coming tomorrow and ill be on the roof. I'm also taking some vacation soon for a few days. -J |
#68
|
||||
|
||||
I've seen 0.0.0.0 and 127.0.0.1 referenced, but neither worked from a different pc. I'm not sure all that redundancy is really needed, but since it worked, I didn't dig more.
__________________
SageTCPServer (2.3.5): Open source TCP interface to the SageTV API MLSageTV (3.1.8)/Sage Media Server (1.13): SageTV plugin for MainLobby/CQC TaSageTV (2.58)/TaSTVRemote (1.14): Monitor/control SageTV with an Android device TbSageTV (1.02)/STVRemote (1.11): Monitor/control SageTV with a PlayBook 2 TiSageTV (1.64)/TiSTVRemote (1.09): Monitor/control SageTV with an iPhone/iPod/iPad |
#69
|
|||
|
|||
What do you mean by this?
Thanks, - Josh. |
#70
|
||||
|
||||
If either of those addresses is used in VLC's command line then it listens for connections on the local network interface and processes on other computers cannot connect to them.
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun. Extender: STP-HD300, Harmony 550 Remote, Netgear MCA1001 Ethernet over Coax. SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client, Java 1.6. Plugins: Jetty, Nielm's Web Server, Mobile Web Interface. |
#71
|
||||
|
||||
As an alternative to testing by running a second instance of VLC, with the Mozila/ActiveX VLC plugin installed, you should be able to use an html file like:
Code:
<HTML> <HEAD> <TITLE>VLC streaming</TITLE> </HEAD> <BODY bgcolor="#CFFFFF"> <h1>VLC streaming</h1> <embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org" version="VideoLAN.VLCPlugin.2" width="320" height="180" id="vlc"> </embed> <script language="Javascript"> var vlc=document.getElementById("vlc"); var id=vlc.playlist.add("http://192.168.0.102:8000"); vlc.playlist.playItem(id); </script> <br /> <a href="javascript:;" onclick='vlc.playlist.play()'>Play video1</a> <a href="javascript:;" onclick='vlc.playlist.togglePause()'>Pause video1</a> <a href="javascript:;" onclick='vlc.playlist.stop()'>Stop video1</a> <a href="javascript:;" onclick='vlc.video.toggleFullscreen()'>Fullscreen</a> </BODY> </HTML> EDIT: That seems to only work for Firefox/Safari...
__________________
SageTCPServer (2.3.5): Open source TCP interface to the SageTV API MLSageTV (3.1.8)/Sage Media Server (1.13): SageTV plugin for MainLobby/CQC TaSageTV (2.58)/TaSTVRemote (1.14): Monitor/control SageTV with an Android device TbSageTV (1.02)/STVRemote (1.11): Monitor/control SageTV with a PlayBook 2 TiSageTV (1.64)/TiSTVRemote (1.09): Monitor/control SageTV with an iPhone/iPod/iPad Last edited by Fonceur; 04-01-2010 at 03:38 PM. |
#72
|
||||
|
||||
For completeness, here is how you would do it for IE:
Code:
<HTML> <HEAD> <TITLE>VLC streaming</TITLE> </HEAD> <BODY bgcolor="#CFFFFF"> <OBJECT classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921" codebase="http://downloads.videolan.org/pub/videolan/vlc/latest/win32/axvlc.cab" width="320" height="180" id="vlc" events="True"> <param name="Src" value="http://192.168.0.102:8000" /> <param name="ShowDisplay" value="True" /> <param name="AutoLoop" value="False" /> <param name="AutoPlay" value="True" /> </OBJECT> </BODY> </HTML>
__________________
SageTCPServer (2.3.5): Open source TCP interface to the SageTV API MLSageTV (3.1.8)/Sage Media Server (1.13): SageTV plugin for MainLobby/CQC TaSageTV (2.58)/TaSTVRemote (1.14): Monitor/control SageTV with an Android device TbSageTV (1.02)/STVRemote (1.11): Monitor/control SageTV with a PlayBook 2 TiSageTV (1.64)/TiSTVRemote (1.09): Monitor/control SageTV with an iPhone/iPod/iPad |
#73
|
|||
|
|||
fyi, no difference in android 2.1 update. Still seems to choke on the wvx file. Haven't had time to mess with anything else lately.
-J |
Tags |
android, error, jetty, streaming, transcode, vlc, webserver |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Webserver Java Error | bialio | SageTV Customizations | 5 | 12-07-2007 06:56 PM |
Nielm Webserver streaming issue | kck | SageTV Customizations | 1 | 07-09-2007 11:30 AM |
VLC Player Can Play iso DVD images -- How to Make SageTV Use VLC? | bbkim | SageTV Customizations | 3 | 06-07-2007 05:24 PM |
No sound on DVB-T recordings using Webserver 2.6 and VLC | Grunter | SageTV Customizations | 0 | 03-24-2006 11:56 PM |