[Approved] Fix for stuttering/corrupted streaming of live tv (1 Viewer)

disaster123

MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    AW: Fix for stuttering/corrupted streaming of live tv

    that's it - only NTFS supports sparse. Even when my new patch does not make the use of SPARSE i think NTFS would be faster than FAT32 for timeshifting. I'm not quite sure if FAT32 supports preallocated files without filling the files with 0... perhaps tourettes knows it.
     

    romuz

    Retired Team Member
  • Premium Supporter
  • July 26, 2008
    1,045
    250
    Moskau
    Home Country
    Russian Federation Russian Federation
    ill try with ntfs but for imho ramdrive it is not a problem to fill all by 0
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    that's it - only NTFS supports sparse. Even when my new patch does not make the use of SPARSE i think NTFS would be faster than FAT32 for timeshifting. I'm not quite sure if FAT32 supports preallocated files without filling the files with 0... perhaps tourettes knows it.

    Sparse files should be as fast / slow to be created as the conventional ones. But I'm not 100%, so we should build a test application that creates 50GB file with both options. Then timing that creation time for 10 times and calculating the differences.

    ill try with ntfs but for imho ramdrive it is not a problem to fill all by 0

    I'm quite sure that the file creation speed has no role in the issue we are seeing but instead the SMB cache that wont get updated and the file is not available to the client side even when the server side has the file available.
     

    pilehave

    Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    I'm quite sure that the file creation speed has no role in the issue we are seeing but instead the SMB cache that wont get updated and the file is not available to the client side even when the server side has the file available.

    Could this be fixed by calling the file on forehand, say 60 seconds before the real access is about to take places?
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    AW: Re: Fix for stuttering/corrupted streaming of live tv

    that's it - only NTFS supports sparse. Even when my new patch does not make the use of SPARSE i think NTFS would be faster than FAT32 for timeshifting. I'm not quite sure if FAT32 supports preallocated files without filling the files with 0... perhaps tourettes knows it.

    Sparse files should be as fast / slow to be created as the conventional ones. But I'm not 100%, so we should build a test application that creates 50GB file with both options. Then timing that creation time for 10 times and calculating the differences.
    .

    I've tested this while working on my DS filter. At least on FAT32 it takes really long to create a 4GB file (without sparse as it is not supported). I'm not quite sure if SPARSE will have any influence on NTFS.

    I'm also quite sure that the problem is notrelated to SMB file caching. As it happens at least to me mostly when the tsbuffer file changes. I'm also seeing discontinue errors at the client at that time but not on the server.
     

    arion_p

    Retired Team Member
  • Premium Supporter
  • February 7, 2007
    3,367
    1,642
    Athens
    Home Country
    Greece Greece
    Re: AW: Re: Fix for stuttering/corrupted streaming of live tv

    I'm also quite sure that the problem is notrelated to SMB file caching. As it happens at least to me mostly when the tsbuffer file changes. I'm also seeing discontinue errors at the client at that time but not on the server.
    SMB file caching has everything to do with the issue. When the tsbuffer file changes, the change should be immediately visible to the client but instead the client sees the cached data. Simply put, SMB is not suitable for this and that is why it is not supported.
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    AW: Fix for stuttering/corrupted streaming of live tv

    arion_p
    OK - same question, i already asked to tourettes, to you. What should the users use instead? rtsp implementation in MP / TsReader is even more buggy than SMB. There are very often loops when the audio / video changes. That's even more worth than sometimes stuttering. Except you're just watching SD with MPEG audio.
     

    mylle

    Portal Pro
    April 14, 2005
    574
    66
    Denmark
    Home Country
    Denmark Denmark
    Re: AW: Re: Fix for stuttering/corrupted streaming of live tv

    I'm also quite sure that the problem is notrelated to SMB file caching. As it happens at least to me mostly when the tsbuffer file changes. I'm also seeing discontinue errors at the client at that time but not on the server.
    SMB file caching has everything to do with the issue. When the tsbuffer file changes, the change should be immediately visible to the client but instead the client sees the cached data. Simply put, SMB is not suitable for this and that is why it is not supported.

    Is it not possible to work around this?
     

    Users who are viewing this thread

    Top Bottom