INTERACT FORUM

More => Old Versions => Media Center 16 (Development Ended) => Topic started by: Osho on June 22, 2011, 07:12:25 pm

Title: Wildlife HD video stutterring at the very beginning (even with RO standard)
Post by: Osho on June 22, 2011, 07:12:25 pm
I was just trying different videos on my system to see how well they play back. I noticed that the Wildlife HD video (typically in C:\Users\Public\Videos\Sample Videos in most Windows 7 machines) shows terrible stuttering at the very beginning. I tried it with all of the RO options - Standard, HQ, windows merit based etc. And, it stutters pretty badly right at the beginning. The horses seem to be running in a very slow motion. The CPU usage is about 25% or so.

The same video runs just fine in Windows Media Player or Media Player Classic.

Thanks,
Osho
Title: Re: Wildlife HD video stutterring at the very beginning (even with RO standard)
Post by: Matt on June 22, 2011, 07:19:21 pm
How long does it stutter?

If it's just a second or two, try reducing the buffering in Options > Audio > Output mode settings...
Title: Re: Wildlife HD video stutterring at the very beginning (even with RO standard)
Post by: JimH on June 22, 2011, 07:25:26 pm
I have a pretty low powered laptop, and this clip doesn't play very well at all when in ROHQ mode, but in ROST mode, it's fine.
Title: Re: Wildlife HD video stutterring at the very beginning (even with RO standard)
Post by: jmone on June 22, 2011, 07:55:56 pm
It's an 720/60i VC-1 Content and with RO it plays as you would expect using the MS DMO filters (just like it would in MS Media Player).  Plays fine for me in both std and HQ and graph as follows:

Code: [Select]
Filter Graph Info:

    Filter 'JRiver Audio Renderer'
        CLSID: {A4002F8E-510F-442C-8AD3-F9C7B23FB394}
        Host:
        Input Pin 'In'
            Connected to pin 'out0' of filter 'WMAudio Decoder DMO'
            Major type MEDIATYPE_Audio  Sub type MEDIASUBTYPE_PCM, Format type FORMAT_WaveFormatEx

    Filter 'madVR'
        CLSID: {E1A8B82A-32CE-4B0D-BE0D-AA68C772E423}
        Host: C:\Users\Mum and Dad\AppData\Roaming\J River\Media Center 16\Plugins\madvr\madvr.ax
        Input Pin 'Input'
            Connected to pin 'out0' of filter 'WMVideo Decoder DMO'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_NV12, Format type FORMAT_VideoInfo

    Filter 'WMVideo Decoder DMO'
        CLSID: {94297043-BD82-4DFD-B0DE-8177739C6D20}
        Host: c:\windows\syswow64\qasf.dll
        Input Pin 'in0'
            Connected to pin 'Output' of filter 'JRiver Video Monitor'
            Major type MEDIATYPE_Video  Sub type Unknown GUID Name: {31435657-0000-0010-8000-00AA00389B71}, Format type FORMAT_VideoInfo
        Output Pin 'out0'
            Connected to pin 'Input' of filter 'madVR'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_NV12, Format type FORMAT_VideoInfo

    Filter 'WMAudio Decoder DMO'
        CLSID: {94297043-BD82-4DFD-B0DE-8177739C6D20}
        Host: c:\windows\syswow64\qasf.dll
        Input Pin 'in0'
            Connected to pin 'Output' of filter 'JRiver Audio Monitor'
            Major type MEDIATYPE_Audio  Sub type Unknown GUID Name: {00000161-0000-0010-8000-00AA00389B71}, Format type FORMAT_WaveFormatEx
        Output Pin 'out0'
            Connected to pin 'In' of filter 'JRiver Audio Renderer'
            Major type MEDIATYPE_Audio  Sub type MEDIASUBTYPE_PCM, Format type FORMAT_WaveFormatEx

    Filter 'JRiver Video Monitor'
        CLSID: {A4207487-E7D8-406B-9882-B66370DE2492}
        Host:
        Input Pin 'Input'
            Connected to pin 'Raw Video 1' of filter 'ASF Reader'
            Major type MEDIATYPE_Video  Sub type Unknown GUID Name: {31435657-0000-0010-8000-00AA00389B71}, Format type FORMAT_VideoInfo
        Output Pin 'Output'
            Connected to pin 'in0' of filter 'WMVideo Decoder DMO'
            Major type MEDIATYPE_Video  Sub type Unknown GUID Name: {31435657-0000-0010-8000-00AA00389B71}, Format type FORMAT_VideoInfo

    Filter 'JRiver Audio Monitor'
        CLSID: {A4207487-E7D8-406B-9882-B66370DE2492}
        Host:
        Input Pin 'Input'
            Connected to pin 'Raw Audio 0' of filter 'ASF Reader'
            Major type MEDIATYPE_Audio  Sub type Unknown GUID Name: {00000161-0000-0010-8000-00AA00389B71}, Format type FORMAT_WaveFormatEx
        Output Pin 'Output'
            Connected to pin 'in0' of filter 'WMAudio Decoder DMO'
            Major type MEDIATYPE_Audio  Sub type Unknown GUID Name: {00000161-0000-0010-8000-00AA00389B71}, Format type FORMAT_WaveFormatEx

    Filter 'ASF Reader'
        CLSID: {187463A0-5BB7-11D3-ACBE-0080C75E246E}
        Host: c:\windows\syswow64\qasf.dll
        Output Pin 'Raw Audio 0'
            Connected to pin 'Input' of filter 'JRiver Audio Monitor'
            Major type MEDIATYPE_Audio  Sub type Unknown GUID Name: {00000161-0000-0010-8000-00AA00389B71}, Format type FORMAT_WaveFormatEx
        Output Pin 'Raw Video 1'
            Connected to pin 'Input' of filter 'JRiver Video Monitor'
            Major type MEDIATYPE_Video  Sub type Unknown GUID Name: {31435657-0000-0010-8000-00AA00389B71}, Format type FORMAT_VideoInfo
Title: Re: Wildlife HD video stutterring at the very beginning (even with RO standard)
Post by: glynor on June 23, 2011, 01:33:32 am
in ROST mode

That's a new term there.  ;)
Title: Re: Wildlife HD video stutterring at the very beginning (even with RO standard)
Post by: Osho on June 23, 2011, 04:13:00 pm
For me, the stutter issue is present through-out the clip but more prominent for the entire duration when the horses are running. I have a pretty decently powered laptop ( HP 8510w - with discrete graphics chip Nvidia Quadro 570M). In ROST mode (I like that term!), this is the graph filter:

Code: [Select]
Filter Graph Info:

    Filter 'JRiver Audio Renderer'
        CLSID: {A4002F8E-510F-442C-8AD3-F9C7B23FB394}
        Host:
        Input Pin 'In'
            Connected to pin 'out0' of filter 'WMAudio Decoder DMO'
            Major type MEDIATYPE_Audio  Sub type MEDIASUBTYPE_PCM, Format type FORMAT_WaveFormatEx

    Filter 'Enhanced Video Renderer'
        CLSID: {FA10746C-9B63-4B6C-BC49-FC300EA5F256}
        Host: c:\windows\syswow64\evr.dll
        Input Pin 'EVR Input0'
            Connected to pin 'out0' of filter 'WMVideo Decoder DMO'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_NV12, Format type FORMAT_VideoInfo
        Input Pin 'EVR Input1'

    Filter 'WMVideo Decoder DMO'
        CLSID: {94297043-BD82-4DFD-B0DE-8177739C6D20}
        Host: c:\windows\syswow64\qasf.dll
        Input Pin 'in0'
            Connected to pin 'Output' of filter 'JRiver Video Monitor'
            Major type MEDIATYPE_Video  Sub type Unknown GUID Name: {31435657-0000-0010-8000-00AA00389B71}, Format type FORMAT_VideoInfo
        Output Pin 'out0'
            Connected to pin 'EVR Input0' of filter 'Enhanced Video Renderer'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_NV12, Format type FORMAT_VideoInfo

    Filter 'WMAudio Decoder DMO'
        CLSID: {94297043-BD82-4DFD-B0DE-8177739C6D20}
        Host: c:\windows\syswow64\qasf.dll
        Input Pin 'in0'
            Connected to pin 'Output' of filter 'JRiver Audio Monitor'
            Major type MEDIATYPE_Audio  Sub type Unknown GUID Name: {00000161-0000-0010-8000-00AA00389B71}, Format type FORMAT_WaveFormatEx
        Output Pin 'out0'
            Connected to pin 'In' of filter 'JRiver Audio Renderer'
            Major type MEDIATYPE_Audio  Sub type MEDIASUBTYPE_PCM, Format type FORMAT_WaveFormatEx

    Filter 'JRiver Video Monitor'
        CLSID: {A4207487-E7D8-406B-9882-B66370DE2492}
        Host:
        Input Pin 'Input'
            Connected to pin 'Raw Video 1' of filter 'ASF Reader'
            Major type MEDIATYPE_Video  Sub type Unknown GUID Name: {31435657-0000-0010-8000-00AA00389B71}, Format type FORMAT_VideoInfo
        Output Pin 'Output'
            Connected to pin 'in0' of filter 'WMVideo Decoder DMO'
            Major type MEDIATYPE_Video  Sub type Unknown GUID Name: {31435657-0000-0010-8000-00AA00389B71}, Format type FORMAT_VideoInfo

    Filter 'JRiver Audio Monitor'
        CLSID: {A4207487-E7D8-406B-9882-B66370DE2492}
        Host:
        Input Pin 'Input'
            Connected to pin 'Raw Audio 0' of filter 'ASF Reader'
            Major type MEDIATYPE_Audio  Sub type Unknown GUID Name: {00000161-0000-0010-8000-00AA00389B71}, Format type FORMAT_WaveFormatEx
        Output Pin 'Output'
            Connected to pin 'in0' of filter 'WMAudio Decoder DMO'
            Major type MEDIATYPE_Audio  Sub type Unknown GUID Name: {00000161-0000-0010-8000-00AA00389B71}, Format type FORMAT_WaveFormatEx

    Filter 'ASF Reader'
        CLSID: {187463A0-5BB7-11D3-ACBE-0080C75E246E}
        Host: c:\windows\syswow64\qasf.dll
        Output Pin 'Raw Audio 0'
            Connected to pin 'Input' of filter 'JRiver Audio Monitor'
            Major type MEDIATYPE_Audio  Sub type Unknown GUID Name: {00000161-0000-0010-8000-00AA00389B71}, Format type FORMAT_WaveFormatEx
        Output Pin 'Raw Video 1'
            Connected to pin 'Input' of filter 'JRiver Video Monitor'
            Major type MEDIATYPE_Video  Sub type Unknown GUID Name: {31435657-0000-0010-8000-00AA00389B71}, Format type FORMAT_VideoInfo

Thanks,
Osho
Title: Re: Wildlife HD video stutterring at the very beginning (even with RO standard)
Post by: Matt on June 23, 2011, 04:14:19 pm
It probably won't matter, but could you try the smaller audio buffer size?

Thanks.
Title: Re: Wildlife HD video stutterring at the very beginning (even with RO standard)
Post by: Osho on June 23, 2011, 06:23:11 pm
It probably won't matter, but could you try the smaller audio buffer size?

Thanks.

It did matter :). Audio buffer size in my case was 5s (I find that useful to avoid skipping/pause when listening to audio while at work and connected to the media server at home). I turned down the audio buffer size to 1s and the stutter was present only for 2-3 second and then the video played smoothly. I turned it down further to 0.5s and the stutter pretty much completely went away.

Thanks,
Osho
Title: Re: Wildlife HD video stutterring at the very beginning (even with RO standard)
Post by: Matt on June 23, 2011, 06:30:41 pm
It did matter :). Audio buffer size in my case was 5s (I find that useful to avoid skipping/pause when listening to audio while at work and connected to the media server at home). I turned down the audio buffer size to 1s and the stutter was present only for 2-3 second and then the video played smoothly. I turned it down further to 0.5s and the stutter pretty much completely went away.

Thanks,
Osho

I'd recommend 100ms of primary audio buffering or less for a modern computer.  With ASIO or WASAPI Event Style, you can usually use even less (say 10 or 20ms).

It's on my to-do list to rework the buffering options because we shouldn't allow picking such large values.  This is more important for video where large buffers (which means large latency) cause lip-sync / stutter problems.

In your case, you want to increase Pre-buffering in Options > Audio.  There's no harm in selecting 20 seconds if you're playing over the internet.  This will have the same effect as enlarging the primary buffer size, but without any nasty side-effects (other than a little additional memory usage).
Title: Re: Wildlife HD video stutterring at the very beginning (even with RO standard)
Post by: Osho on June 23, 2011, 06:35:07 pm
Great - thanks for the info Matt. I have changed my settings accordingly.

thanks,
Osho
Title: Re: Wildlife HD video stutterring at the very beginning (even with RO standard)
Post by: glynor on June 24, 2011, 02:09:08 am
Jim, you should move this to the public board.  It is good general information.  It is possible others could encounter this same thing.

(Sometimes the tendency with slider controls like that is "if a little is good, a lot must be gooder", and to slam that thing all the way to the right.)