[Obsolete] MPWebStream: Stream TV over the internet (1 Viewer)

jezush

New Member
June 9, 2011
1
0
Home Country
Spain Spain
Hello!

Fistly, congratulations for this fantastic plugin. Live Tv is one of the most demanded features by some enthusiastic users, and it will help to improve other projects in this section to a better stage respect other media centers ;-).

I have a pair of questions:

STREAMING TO ANDROID: I don´t know if Ffmpeg is able to stream with "RTSP" protcol. In any case, it`s possible to stream (using these protocol) all files and media formats that Videolan can plays with its own broadcast feature to all type of Android devices and Mobo player for example. (I tested it on a Xperia X10 mini that has a very modest hardware).

Is it possible to create a new profile with this videolan parameters (i don´t know for Ffmpeg) ?

:sout=#transcode{soverlay, ab=64, samplerate=44100,channels=2, acodec=mp4a, vcodec=h264, width=480,height=320,fps=25,vb=400,venc=x264{vbv-bufsize=10000, partitions=all,level=12,no-cabac, subme=7, threads=4, ref=2,mixed-refs=1,bframes=0,min-keyint=1,keyint=50,trellis=2, direct=auto, qcomp=0.0, qpmax=51}}:gather:rtp{mp4a-latm, sdp=rtsp://0.0.0.0:1234/stream.sdp}

The code above is a standard example and it doesn´t work very smoothly yet. But every user could adjust the parameters attending to his own device behaviour.

Last question. I guess it will be in relation to firewalls, ports, etc. But is it possible to access MPWebStream from outside LAN? For example, over the internet with "http://username.dyndns.org:8080"?

Thanks.
 

Oxan

Retired Team Member
  • Premium Supporter
  • August 29, 2009
    1,730
    1,124
    Home Country
    Netherlands Netherlands
    Well, currently it isn't possible to stream using an external output (i.e. not HTTP but RTSP/<insert protocol>). I'm currently doing some work on that topic as it's relevant for GMA too, so it will probably end up in a future release. Using VLC isn't a problem.

    Accessing from outside the LAN is possible. You just need to forward the port you run MPWebStream on in your router (Port Forwarding Guides Listed by Manufacturer and Model - PortForward.com) and then change the domain name in the configuration to http://username.dyndns.org:8080/ and then it should work.
     

    vuego

    Documentation Group
  • Team MediaPortal
  • August 5, 2006
    1,643
    764
    Göteborg
    Home Country
    Sweden Sweden
    Running the site under IIS is quite easy: disable the webserver and change the site root in the configuration and configure IIS. Specify <mediaportal installation dir>\Plugins\MPWebStream as application root.

    This doesn't work. You need to specify \Plugins\MPWebStream\Site as root.

    Also it could be a good idea to move logging to something like C:\ProgramData\Team MediaPortal\MediaPortal TV Server\log. The default path of C:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server\Plugins\MPWebStream\log.txt makes my IIS server give an access denied message.

    jezush: you also need to make a firewall exception for C:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server\Plugins\MPWebStream\Cassini.exe.
     

    Oxan

    Retired Team Member
  • Premium Supporter
  • August 29, 2009
    1,730
    1,124
    Home Country
    Netherlands Netherlands
    This doesn't work. You need to specify \Plugins\MPWebStream\Site as root.
    Fixed.

    Also it could be a good idea to move logging to something like C:\ProgramData\Team MediaPortal\MediaPortal TV Server\log. The default path of C:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server\Plugins\MPWebStream\log.txt makes my IIS server give an access denied message.
    Yeah, that's an good idea. Will implement it in the next version.
     

    lodale

    Portal Pro
    April 9, 2009
    245
    27
    Home Country
    Norway Norway
    Hei
    I have MP ver 1.2 Beta
    downloaded 2 files from first post TV4 home beta for MP 1.2 and MP steamplugin ver. 0.9.9.0.
    Installed TV4 home core and then Plugin. restarted TV server.
    In the plugin section of mediaportal server, I get incompatible plugin. Therefor I am not able to switch on the MP webservices
    Any Idea or workaround?
     

    Oxan

    Retired Team Member
  • Premium Supporter
  • August 29, 2009
    1,730
    1,124
    Home Country
    Netherlands Netherlands
    You need version 1.0.0 for MP 1.2 (MPWebStream-v1.0.0-MP1.2beta.zip), v0.9.9 is only compatible with MP 1.1.
     

    lodale

    Portal Pro
    April 9, 2009
    245
    27
    Home Country
    Norway Norway
    :oops: thanx its working :). Some questions:
    The TV list shows all chanels, could i change this to favorite list?
    I am using firefox with VLC, how do I get fullscreen

    To enable fullscreen I degraded VLC player to version 1.0.0. Fullscreen worked, but I lost all commands in VLC (not able to use esc to return to normal screen). Infact I was not able to stop the sound, even with task manager. So degrading VLC to lower version did not work for me.
     

    Oxan

    Retired Team Member
  • Premium Supporter
  • August 29, 2009
    1,730
    1,124
    Home Country
    Netherlands Netherlands
    Yeah, the VLC plugin is in quite a bad state. For WebMediaPortal, which eventually will become the successor of this, I've implemented a flash player. Till that gets released you sadly will have to do it with this.

    Changing the channel list is not possible at the moment, maybe I'll implement it later.
     

    cubii

    Portal Pro
    November 1, 2006
    627
    32
    48
    AW: [Updated!] MPWebStream: Stream TV over the internet

    hi oxan, i have your plugin working on my tv server pc, but cant connect inside lan with another pc.

    i opend the port (8082) i chosed in tv service in my router, but cant connect to the webpage <my-ip>8082.

    i have windows 7, firewall is configured to allow this webserver (cassini). is there another port i have to open ? i can use for example ipiimp without problems...
     

    Oxan

    Retired Team Member
  • Premium Supporter
  • August 29, 2009
    1,730
    1,124
    Home Country
    Netherlands Netherlands
    If you're inside your LAN, you should use your internal IP, while you should use your external IP if you're outside your LAN. That can be really confusing and you have a chance that the stream links are generated to the wrong IP (they always link to the IP configured in the settings). I'm still looking for a solution to this problem.
     

    Users who are viewing this thread

    Top Bottom