Live TV streaming | Page 3

Discussion in 'iPiMP' started by nicx, May 25, 2010.

  1. DieBagger
    • Team MediaPortal

    DieBagger Retired Team Member

    Joined:
    September 11, 2007
    Messages:
    2,516
    Likes Received:
    1,257
    Gender:
    Male
    Occupation:
    Android Developer
    Location:
    Austria
    Ratings:
    +1,302 / 0
    Home Country:
    Austria Austria
    Show System Specs
    Very exiting news!!!

    So how is the system working performance-wise? How long are the delays and how much cpu does this take (if not all ;))? Have you tried it on hdtv channels? Is this real smoothstreaming with quality-changing when bandwidth drops? Have you tried it with a flash/html5 player?



    Man lots of questions... ;)

    :D a bunch for all your work!
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. cheezey

    cheezey Community Plugin Dev

    Joined:
    August 26, 2004
    Messages:
    1,560
    Likes Received:
    315
    Occupation:
    Technical architect
    Location:
    West Yorks, UK
    Ratings:
    +315 / 0
    Home Country:
    United Kingdom United Kingdom
    Performance is OK, my CPU runs at 30%, it does take 25-30 sec for the SmoothStreaming module to buffer, prepare the stream and manifests though. This initial version will just transcode at one video bitrate but adding other streams should just require additional ffmpeg parameters in config.xml (using the -newvideo parameter).

    I haven't tried it with Flash/Html5 or Silverlight yet.

    I have found that the stream stops on my iphone now and again at different intervals, I don't know if its a PC problem or wireless problem or iPhone problem, the tuner remains tuned in and transcoding continues so I can just reattach to the stream. We'll just have to see what others experience.
     
  4. cheezey

    cheezey Community Plugin Dev

    Joined:
    August 26, 2004
    Messages:
    1,560
    Likes Received:
    315
    Occupation:
    Technical architect
    Location:
    West Yorks, UK
    Ratings:
    +315 / 0
    Home Country:
    United Kingdom United Kingdom
    I tested over 3G this morning and got the audio stream only which is what you'd expect with an Adaptive stream bearing in mind I have only a 400kbps upstream ASDL. I also downloaded Expression 4 this morning to try to knock up a quick Silverlight player.
     
    • Like Like x 2
  5. cheezey

    cheezey Community Plugin Dev

    Joined:
    August 26, 2004
    Messages:
    1,560
    Likes Received:
    315
    Occupation:
    Technical architect
    Location:
    West Yorks, UK
    Ratings:
    +315 / 0
    Home Country:
    United Kingdom United Kingdom
    Another update....streaming an HD channel pushed my ffmpeg process up to 50-60% The stream was still fine though. I gave the Smooth Streaming devs access to my iPiMP install to have a look and they were impressed :D

    After looking through my Apache access logs, we think we've found a bug that may lead to the drop outs and they are working on fixing that but that fixed version won't be ready for a while as there are other changes going on too.

    So in the meantime I will release iPiMP 5.0.0 tomorrow morning. I have to compile tonight for MP 1.0.2 and MP 1.1.0 RC4, there's also a breaking change in MP version which means that browsing schedules in iPiMP 1.0.2 won't work - all the more reason to upgrade ;)
     
    • Like Like x 2
  6. Lolento

    Lolento Portal Pro

    Joined:
    September 9, 2006
    Messages:
    150
    Likes Received:
    7
    Ratings:
    +7 / 0
    Home Country:
    United States of America United States of America
    Hi Cheezey,

    Can the live streaming be applied to the recorded TV and movie files (of different formats)?
     
  7. cheezey

    cheezey Community Plugin Dev

    Joined:
    August 26, 2004
    Messages:
    1,560
    Likes Received:
    315
    Occupation:
    Technical architect
    Location:
    West Yorks, UK
    Ratings:
    +315 / 0
    Home Country:
    United Kingdom United Kingdom
    Not yet - but that's the plan!
     
    • Like Like x 1
  8. Khurram

    Khurram Portal Pro

    Joined:
    May 12, 2008
    Messages:
    211
    Likes Received:
    5
    Ratings:
    +5 / 0
    Home Country:
    Pakistan Pakistan
    I got really excited when I that you posted the new version. But I cannot get live streaming to work :confused: Tapping "Watch" gives this error:
    Code (Text):
    1. The system cannot find the file specified
    2.  
    3. Server stack trace: at System.Diagnostics.Process.StartWithCreateProcess
    4. (ProcessStartInfo startInfo) at System.Diagnostics.Process.Start() at
    5. uWiMP.TVServer.MPWebServices.EncoderWrapper.StartProcess(String input) at
    6. uWiMP.TVServer.MPWebServices.EncoderWrapper.StartPipe() at
    7. uWiMP.TVServer.MPWebServices.EncoderWrapper..ctor(Stream mediaStream,
    8. EncoderConfig encCfg) at Website.uWiMP.TVServer.Streamer.Stream
    9. (MediaType mediatype, Int32 id) in D:\Dev\vs2008\MediaPortal Universal Web
    10. Interface\Website\Code\TVServer\Streamer.vb:line 148 at Website
    11. .uWiMP.TVServer.Streamer.ExecuteAsyncTask() in D:\Dev
    12. \vs2008\MediaPortal Universal Web Interface\Website\Code\TVServer\Streamer.vb:line 79 at
    13. System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage
    14. (IntPtr md, Object[] args, Object server, Int32 methodPtr,
    15. Boolean fExecuteInContext, Object[]& outArgs) at
    16. System.Runtime.Remoting.Messaging.StackBuilderSink
    17. .PrivateProcessMessage(RuntimeMethodHandle md, Object[] args,
    18. Object server, Int32 methodPtr, Boolean fExecuteInContext,
    19. Object[]& outArgs) at System.Runtime.Remoting.Messaging
    20. .StackBuilderSink.AsyncProcessMessage (IMessage msg,
    21. IMessageSink replySink) Exception rethrown at [0]:
    22. at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper
    23. (Message reqMsg, Boolean bProxyCase) at System.Runtime.Remoting
    24. .Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData) at
    25. Website.uWiMP.TVServer.Streamer.AsyncTaskDelegate.EndInvoke
    26. (IAsyncResult DelegateAsyncResult) at Website.uWiMP.TVServer
    27. .Streamer.OnEnd(IAsyncResult ar) in
    28. D:\Dev\vs2008\MediaPortal Universal Web Interface\Website
    29. \Code\TVServer\Streamer.vb:line 96 at
    30. System.Web.UI.PageAsyncTask.CompleteTask(Boolean timedOut, Boolean
    31. syncTimeoutCaller)
    Is it because the tv guide is empty? I actually copied the error message by opening the link in firefox, but I think the error message is the same.
     
  9. cheezey

    cheezey Community Plugin Dev

    Joined:
    August 26, 2004
    Messages:
    1,560
    Likes Received:
    315
    Occupation:
    Technical architect
    Location:
    West Yorks, UK
    Ratings:
    +315 / 0
    Home Country:
    United Kingdom United Kingdom
    Have a look at c:\program files\ipimp\aspx\config.xml there is a path to ffmpeg in there. Can you confirm that is the correct path?
     
  10. Khurram

    Khurram Portal Pro

    Joined:
    May 12, 2008
    Messages:
    211
    Likes Received:
    5
    Ratings:
    +5 / 0
    Home Country:
    Pakistan Pakistan
    Thanks for the reply. Config.xml contents
    I have no idea what ##FFMPEGPATH## means ;) My windows drive is G, so ffmpeg.exe is in G:\Program Files....
     
  11. cheezey

    cheezey Community Plugin Dev

    Joined:
    August 26, 2004
    Messages:
    1,560
    Likes Received:
    315
    Occupation:
    Technical architect
    Location:
    West Yorks, UK
    Ratings:
    +315 / 0
    Home Country:
    United Kingdom United Kingdom
    The installer should replace ##FFMPEGPATH## with - well the path to ffmpeg ;) Usually c:\program files\ipimp\utilities\ffmpeg\ffmpeg.exe

    Similarly the installer should replace ##LISTEN## with the IP: Port that the iPiMP app is listening on. e.g. 127.0.0.1:80

    If I remember correctly you're the iPiMP user that does an 'existing Apache install' - I guess in all the excitment I didn't put these changes in for that type of install. I'll fix that for the next version. In the meantime though replace those ##PLACEHOLDERS## manually.
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!