[Videos] - Buffering while playing from NAS

Discussion in 'Improvement Suggestions' started by Snoopy87, December 19, 2012.

  1. Snoopy87

    Snoopy87 Portal Pro

    Joined:
    August 12, 2012
    Messages:
    468
    Likes Received:
    123
    Gender:
    Male
    Ratings:
    +166 / 10
    Home Country:
    Germany Germany
    Show System Specs
    Hi,



    I had never any issues with watching my MKV files from my NAS over WiFi (WLAN-N) with MediaPortal (Moving Pictures).

    Yesterday I tried to watch "The Dark Knight Rises". This was not a smll MKV file, it was the whole Blu-ray Content (m2ts) stored on my NAS. The filesize is 47 GB and the video bitrate of this movie is very high. Also the movie comes with a DTS HD audio stream.

    It was impossible to watch the movie, because it took minutes to see the first frames (MediaPortal was not responsible while loading) and the it I got video frames or audio every few seconds....

    First, I thought my HTPC is too slow or MediaPortal is unable to watch such a movie (video and audio bitrate).

    Then I tried to copy the whole movie to an external HDD and plugged in it to my HTPC with USB 2.0 and everything workes great!

    So: Could you please add a buffering like online streaming? Then it doesn't matter if the video bitrate is higher than the wifi bitrate.
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. kiwijunglist
    • Team MediaPortal

    kiwijunglist Super Moderator

    Joined:
    June 10, 2008
    Messages:
    6,742
    Likes Received:
    1,417
    Occupation:
    Doctor
    Location:
    New Zealand
    Ratings:
    +1,846 / 9
    Home Country:
    New Zealand New Zealand
    Show System Specs
    This might be something to think about for mediaportal 2,

    What happens when video bit rate > connection speed when playing a remote share
    - buffering?
    - transcoding?
     
  4. tourettes
    • Premium Supporter

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
    For M2TS files the source filter is responsible for the caching (LAV probaby was used?). For Blu-ray playback libbluray is responsible for the filre reads & caching.

    Basicly there is not much what MP itself could do.
     
  5. Owlsroost
    • Team MediaPortal

    Owlsroost Development Group

    Joined:
    October 28, 2008
    Messages:
    5,537
    Likes Received:
    2,829
    Location:
    Cambridge
    Ratings:
    +4,131 / 1
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    If the (average) movie bitrate is higher than the (average) WLAN capability, no sensible amount of buffering/caching is going to help - the buffers will go empty eventually.

    The purpose of buffering is to compensate for the variations in movie bitrate/network throughput/latency, not to make the impossible work....

    Tony
     
  6. kiwijunglist
    • Team MediaPortal

    kiwijunglist Super Moderator

    Joined:
    June 10, 2008
    Messages:
    6,742
    Likes Received:
    1,417
    Occupation:
    Doctor
    Location:
    New Zealand
    Ratings:
    +1,846 / 9
    Home Country:
    New Zealand New Zealand
    Show System Specs
    I would agree that buffering seems pointless (I only mentioned it for the sake of options) which leaves either stuttering / crashing, or some kind of notification error, or automatic transcoding. I guess this consideration should tie into thoughts regarding DLNA / uPNP with MP2, but I think it is something worth thinking about in advance for MP2
     
    Last edited: December 19, 2012
  7. Snoopy87

    Snoopy87 Portal Pro

    Joined:
    August 12, 2012
    Messages:
    468
    Likes Received:
    123
    Gender:
    Male
    Ratings:
    +166 / 10
    Home Country:
    Germany Germany
    Show System Specs
    Of course buffering would help. If the movie bitrate is e.g. 35 Mbit/s and the wifi bitrate only 30 Mbit/s, buffering for XX seconds would overcome any stuttering, etc. Don't see why this would not help?
     
  8. Owlsroost
    • Team MediaPortal

    Owlsroost Development Group

    Joined:
    October 28, 2008
    Messages:
    5,537
    Likes Received:
    2,829
    Location:
    Cambridge
    Ratings:
    +4,131 / 1
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    In your example, 'XX' seconds would be 10 minutes per hour of movie, so for a 2 hour movie you would have to wait 20 minutes for the buffering to happen before the movie started playing, and it would need over 5GB of ram or hard disk space for the buffer.
     
  9. offbyone
    • Team MediaPortal

    offbyone Development Group

    Joined:
    April 26, 2008
    Messages:
    3,981
    Likes Received:
    2,704
    Gender:
    Male
    Location:
    Stuttgart
    Ratings:
    +3,303 / 3
    Home Country:
    Germany Germany
    Show System Specs
    The bitrate of your data (or network) connection is lower than the bitrate of the file you want to play in realtime. Just think about it... imagine you want to seek... as Owlsroost outlines this is not really what you want.
     
  10. jonm

    jonm Portal Pro

    Joined:
    January 12, 2009
    Messages:
    429
    Likes Received:
    13
    Gender:
    Male
    Occupation:
    Geeky stuff
    Location:
    Wales
    Ratings:
    +15 / 0
    Home Country:
    Wales Wales
    Show System Specs
    A wired connection is the way to fix this, Wifi just isn't appropriate for reliably streaming HD video.
     
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!