home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Products
MPTvClient (stand alone TV client)
[Announce] MPTvClient V1.2.5 (20.12.2007) II
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="MJGraf" data-source="post: 231368" data-attributes="member: 17886"><p><strong>MPTvClient with remoting Capabilities</strong></p><p></p><p>ok guys, here we go...</p><p></p><p>This is my first C# project ever - so please be kind with me <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p><p></p><p>I always wanted to use MPTvClient also from remote destinations, where I can vpn into my home network, my Tv-Server is locate at. The problem is: my DSL-connection to the internet is to slow for the whole rtsp stream. I think Frodo provided an example of how to transcode the stream with VLC on the server to a lower bandwidth. To be able to use MPTvClient for this, it would be necessary that MPTvClient starts the VLC server on the TV-Server before it starts VLC on the client-side. Now it can do that...</p><p></p><p>In the external player configuration you now find two additional check-boxes and two edit boxes.</p><p></p><p>"Start remote program before starting VLC viewer" does exactly that. It starts on the server whatever you put behind "Cmd-Line". For me this looks something like:</p><p></p><p>C:\Programme\VideoLAN\VLC\vlc.exe --extraintf telnet --vlm-conf=C:\Programme\VideoLAN\VLC\vlm.txt</p><p></p><p>(don't forget the path to the vlm-file, which cost me a lot of time to find out...)</p><p></p><p>"Stop remote task after stopping VLC viewer" is the other side of the game. I didn't use the one provided in the start-section, because when you start e.g. a batch-file, the running task may be different from the command line you startet. For me this looks like:</p><p></p><p>vlc.exe</p><p></p><p>Now you put in gemx' "Override stream URL" option something like "htpc:8080" and there you go...</p><p></p><p>To achieve this, I used WMI - but please be aware that I didn't include a username / password management (I don't like my password stored anywhere except for my head...). This means that your client side must have enough rights to start and end processes on the server side.</p><p></p><p>All the credits for this go to gemx for his wonderful plugin. Gemx, I know, my programming skills are fading away from day to day. If you think the code is useable, please feel free to include it into your main version - but don't beat me for the terrible exception handling <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p><p></p><p>cheers,</p><p>Michael</p><p></p><p>edit 04.02.08 00:13 - sorry, there were two ifs missing, which could cause an exception when using MPTvClient in the original config (without transcoding). Should now be solved with the new version 0.02.</p></blockquote><p></p>
[QUOTE="MJGraf, post: 231368, member: 17886"] [b]MPTvClient with remoting Capabilities[/b] ok guys, here we go... This is my first C# project ever - so please be kind with me ;) I always wanted to use MPTvClient also from remote destinations, where I can vpn into my home network, my Tv-Server is locate at. The problem is: my DSL-connection to the internet is to slow for the whole rtsp stream. I think Frodo provided an example of how to transcode the stream with VLC on the server to a lower bandwidth. To be able to use MPTvClient for this, it would be necessary that MPTvClient starts the VLC server on the TV-Server before it starts VLC on the client-side. Now it can do that... In the external player configuration you now find two additional check-boxes and two edit boxes. "Start remote program before starting VLC viewer" does exactly that. It starts on the server whatever you put behind "Cmd-Line". For me this looks something like: C:\Programme\VideoLAN\VLC\vlc.exe --extraintf telnet --vlm-conf=C:\Programme\VideoLAN\VLC\vlm.txt (don't forget the path to the vlm-file, which cost me a lot of time to find out...) "Stop remote task after stopping VLC viewer" is the other side of the game. I didn't use the one provided in the start-section, because when you start e.g. a batch-file, the running task may be different from the command line you startet. For me this looks like: vlc.exe Now you put in gemx' "Override stream URL" option something like "htpc:8080" and there you go... To achieve this, I used WMI - but please be aware that I didn't include a username / password management (I don't like my password stored anywhere except for my head...). This means that your client side must have enough rights to start and end processes on the server side. All the credits for this go to gemx for his wonderful plugin. Gemx, I know, my programming skills are fading away from day to day. If you think the code is useable, please feel free to include it into your main version - but don't beat me for the terrible exception handling ;) cheers, Michael edit 04.02.08 00:13 - sorry, there were two ifs missing, which could cause an exception when using MPTvClient in the original config (without transcoding). Should now be solved with the new version 0.02. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Products
MPTvClient (stand alone TV client)
[Announce] MPTvClient V1.2.5 (20.12.2007) II
Contact us
RSS
Top
Bottom