[Videos] Buffering while playing from NAS (1 Viewer)

Snoopy87

Portal Pro
August 12, 2012
468
167
Germany Germany
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.
 

kiwijunglist

Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,750
    New Zealand
    New Zealand New Zealand
    Country flag
    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?
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    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.
     

    Owlsroost

    Development Group
  • Team MediaPortal
  • October 28, 2008
    5,540
    5,038
    Cambridge
    United Kingdom United Kingdom
    Country flag
    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
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,750
    New Zealand
    New Zealand New Zealand
    Country flag
    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:

    Snoopy87

    Portal Pro
    August 12, 2012
    468
    167
    Germany Germany
    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?
     

    Owlsroost

    Development Group
  • Team MediaPortal
  • October 28, 2008
    5,540
    5,038
    Cambridge
    United Kingdom United Kingdom
    Country flag
    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.
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,981
    3,703
    Stuttgart
    Germany Germany
    Country flag
    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.
     

    jonm

    Portal Pro
    January 12, 2009
    429
    26
    Wales
    Wales Wales
    Country flag
    A wired connection is the way to fix this, Wifi just isn't appropriate for reliably streaming HD video.
     

    Users who are viewing this thread

    Similar threads
    OP Title Forum Replies Date
    L Live TV stoppt wenn Buffer "voll" TV / Streaming 1
    R Deadlock in TV Server if recording while importing EPG TV-Server 10
    M TV Server can't tune to some DVB-S multiplexes while other software can General 0
    F Show Player info while skipping Feature Requests 0
    Edwardfc [solved] Mp 2.2.1 Configuration Issues - Goes to Sleep while playing Music General 6
    M After a while Live TV or Recorded TV doesn't play first time General Support 9
    badboyxx MP 1.22 final is crashing when jumping forward while playing DVD-Iso watch/edit Videos 26
    G [fixed] No recorded video thumbnails created while recording. 2.2 Archive 2
    doskabouter Black screen while watching some iptv streams General Support 2
    uxDesign Can't play Blu Ray: VideoPlayer9: Exception while creating DShow graph 1.20 2
    amatesi MP2.2pre Client crash while streaming Live TV from remote MP2.2pre Server (both offline) 2.2 Archive 8
    D MP2 - V2.1 Recorded TV - recording corrupted if MP client used while recoding in progress Older releases 20
    doskabouter 1.26.0 Codec question (unable to play video, lv50 codec) Codecs, External Players 20
    W 1.25.0 Blu-ray disks that used to play are no longer playing Watch / Listen Media 2
    joecrow [solved] DVD won't play properly. General Support 3
    M.Hulot MP plays in Internal Blu-ray-Player-mode always first audio stream not the one I chosen in settings General Support 1
    BrownGhost Mepo/MediaInfo takes 59 secunds to open library and start play :o( General Support 26
    I 1.25.0 Videos in HEVC UHD 2160p don't play good watch/edit Videos 8
    CanadianEh MP TV server rebuild with Colossus 2 - Kodi clients receive PMT error when playing videos recoreded by Colossus 2 TV-Server 2
    M [solved] WTV Files does not play on client, MPEG files works well General 1
    A [solved] How to Play All Videos in a List watch/edit Videos 3
    horned_reaper [solved] When playing music Fanart does not shuffle Fanart Handler 20
    horned_reaper [solved] No Fanart when playing Fanart Handler 115
    horned_reaper [solved] When playing music Fanart does not appear immediately after downloading Fanart Handler 272
    B MP 2.2.3 Error playing videos from NAS Submit: Bug Reports 2

    Similar threads

    Top Bottom