Slow playback on SD XviD files with VSFilter double resolution turned on (1 Viewer)

Nazgulled

Portal Pro
January 1, 2009
83
0
Home Country
Portugal Portugal
Hi,

I had this problem in the past on MKV HD files, but that made sense. An 720p HD file had a resolution of 1280xXXX and doubling that, was too much for the CPU to handle VSFilter on that resolution.

But now, I'm having the same problem on SD XviD files. The resolution of these files are no more than 640xXXX and I don't understand why it's slow... And the sad fact is, I don't think this was happening before but now it is and as far as I can remember, I haven't done a single change to the system since the time it was working.

If I set VSFilter to "original resolution" the files play fine but the subtitles look horrible, if I set "double resolution if smaller than 720x512" (so it only affects SD video files) the subtitles will look much nicer but the video playback is so slow...

I'm using ffdshow to decode the XviD (CCCP installed) and I always had, always used ffdshow to decode these type of files and they were playing fine. Just the other day I watched a movie in SD with double resolution in VSFilter and now it's not working anymore. This also seems to happen only when I set the desktop resolution to 1920x1080. If I play the videos at 1280x720, it doesn't seem to be slow.

Any ideas on what the problem might be?
 

tourettes

Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Sounds like VSFilter has just inefficient scaling code in use. ffdshow can scale the video also. Maybe it would worth to try if it could scale up the video with smaller CPU usage.
     

    magao

    Portal Member
    December 22, 2008
    44
    3
    Home Country
    Set ffdshow to resize to screen resolution - depending on your CPU you may want it to only do this for SD resolutions - I've set mine to only resize if width < 1280 or height < 720.

    Then apply the subtitles.

    For this to work, ffdshow must be in the filter graph before DirectVobSub. You can achieve this be either decoding using ffdshow (as you are) or making sure that ffdshow "decodes" raw video (all supported) e.g. if you're decoding h.264 using CoreAVC. If you instead set up ffdshow post-processing in MediaPortal, it will happen after DirectVobSub, and won't give the results you want.
     

    Nazgulled

    Portal Pro
    January 1, 2009
    83
    0
    Home Country
    Portugal Portugal
    Tried your solution but it didn't help... For one thing, the video was very pixelated when with "resize to screen resolution" option turned on, but the subtitles rendered had very nice quality.

    Either with ffdshow resize (following your settings) or VSFilter's own resize in Windows Media Player, video files play just fine with high quality subtitles. When I test them on MediaPortal, it doesn't matter if the resize is done with ffdshow or VSFilter, the video playback is just too slow...

    There's something wrong with how MediaPortal handles video rendering because I had this problem in the past with HD video files which was fixed by not doubling the resolution. I was doubling (by mistake) an HD resolution and that was really too much for the CPU to handle, but doubling an SD resolution? It shouldn't be a problem since 1080p movies play just fine and doubling an SD resolution doesn't go beyond a 1080p resolution.

    I have already clean installed Windows numerous times and I can't make it work... However, sometimes, right after installing Windows I installed MediaPortal and the same codecs, played the files with double resolution and they worked. Then I proceeded to configure Windows and install all my software and tried to play the files again, this time slow. Tried to reinstall Windows again, installed MediaPortal right after installing Windows and this time I was going to test playing videos right after installing individual softwares to see which one was causing the problem... Surprise, without anything installed (besides MediaPortal and the codecs, it was slow...)

    There's something wrong with MediaPortal...
     

    Nazgulled

    Portal Pro
    January 1, 2009
    83
    0
    Home Country
    Portugal Portugal
    Since nobody seemed to be able to help me and I got tired of all this annoying problems with MediaPortal where everything else plays the files but MediaPortal doesn't, I decided to go with XBMC and everything seems to be working right out of the box.
     

    Users who are viewing this thread

    Top Bottom