INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Video Freezing In MC15  (Read 4006 times)

Facel

  • World Citizen
  • ***
  • Posts: 201
Video Freezing In MC15
« on: November 10, 2010, 08:54:46 am »

hello

my PC is running J river on Windows 7 (32) on an Zotac Geforce 9300 (nvidia ) + Asus Xonar STX essence audi card.

I have some freezing while playing a video (Wildlife in HD) under JRiver and the same video played by Window Madia Player does not freeze at all !!

The problem is even worth when I try to play a DVD

Do you have any solution !!!
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: Video Freezing In MC15
« Reply #1 on: November 10, 2010, 12:45:15 pm »

Follow these instructions (except for setting the Playback Method part, unless you've messed with it) and report the results back:
http://yabb.jriver.com/interact/index.php?topic=59569.msg402449#msg402449
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

Facel

  • World Citizen
  • ***
  • Posts: 201
Re: Video Freezing In MC15
« Reply #2 on: November 12, 2010, 08:00:05 am »

Filter Graph Info:

    Filter 'JRiver Audio Renderer'
        CLSID: {A4002F8E-510F-442C-8AD3-F9C7B23FB394}
        Host:
        Input Pin 'In'
            Connected to pin 'Out' of filter 'ffdshow Audio Decoder'
            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\system32\evr.dll
        Input Pin 'EVR Input0'
            Connected to pin 'Out' of filter 'ffdshow raw video filter'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_YV12, Format type FORMAT_VideoInfo2
        Input Pin 'EVR Input1'
            Connected to pin 'XForm Out' of filter 'Line 21 Decoder 2'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_AI44, Format type FORMAT_VideoInfo
        Input Pin 'EVR Input2'
            Connected to pin '~Subpicture Output' of filter 'Microsoft DTV-DVD Video Decoder'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_AI44, Format type FORMAT_VideoInfo2

    Filter 'ffdshow raw video filter'
        CLSID: {0B390488-D80F-4A68-8408-48DC199F0E97}
        Host: c:\program files\ffdshow\ffdshow.ax
        Input Pin 'In'
            Connected to pin 'Video Output 1' of filter 'Microsoft DTV-DVD Video Decoder'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_NV12, Format type FORMAT_VideoInfo2
        Output Pin 'Out'
            Connected to pin 'EVR Input0' of filter 'Enhanced Video Renderer'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_YV12, Format type FORMAT_VideoInfo2
        Input Pin 'In Text'

    Filter 'Line 21 Decoder 2'
        CLSID: {E4206432-01A1-4BEE-B3E1-3702C8EDC574}
        Host: c:\windows\system32\quartz.dll
        Input Pin 'XForm In'
            Connected to pin '~Line21 Output' of filter 'Microsoft DTV-DVD Video Decoder'
            Major type MEDIATYPE_AUXLine21Data  Sub type MEDIASUBTYPE_Line21_GOPPacket, Format type FORMAT_None
        Output Pin 'XForm Out'
            Connected to pin 'EVR Input1' of filter 'Enhanced Video Renderer'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_AI44, Format type FORMAT_VideoInfo

    Filter 'ffdshow Audio Decoder'
        CLSID: {0F40E1E5-4F79-4988-B1A9-CC98794E6B55}
        Host: c:\program files\ffdshow\ffdshow.ax
        Output Pin 'Out'
            Connected to pin 'In' of filter 'JRiver Audio Renderer'
            Major type MEDIATYPE_Audio  Sub type MEDIASUBTYPE_PCM, Format type FORMAT_WaveFormatEx
        Input Pin 'In'
            Connected to pin 'AC3' of filter 'DVD Navigator'
            Major type MEDIATYPE_DVD_ENCRYPTED_PACK  Sub type MEDIASUBTYPE_DOLBY_AC3, Format type FORMAT_WaveFormatEx

    Filter 'Microsoft DTV-DVD Video Decoder'
        CLSID: {212690FB-83E5-4526-8FD7-74478B7939CD}
        Host: c:\windows\system32\msmpeg2vdec.dll
        Input Pin 'Video Input'
            Connected to pin 'Video' of filter 'DVD Navigator'
            Major type MEDIATYPE_DVD_ENCRYPTED_PACK  Sub type MEDIASUBTYPE_MPEG2_VIDEO, Format type FORMAT_MPEG2_VIDEO
        Input Pin 'Subpicture Input'
            Connected to pin 'SubPicture' of filter 'DVD Navigator'
            Major type MEDIATYPE_DVD_ENCRYPTED_PACK  Sub type MEDIASUBTYPE_DVD_SUBPICTURE, Format type FORMAT_MPEG2_VIDEO
        Output Pin 'Video Output 1'
            Connected to pin 'In' of filter 'ffdshow raw video filter'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_NV12, Format type FORMAT_VideoInfo2
        Output Pin '~Line21 Output'
            Connected to pin 'XForm In' of filter 'Line 21 Decoder 2'
            Major type MEDIATYPE_AUXLine21Data  Sub type MEDIASUBTYPE_Line21_GOPPacket, Format type FORMAT_None
        Output Pin '~Subpicture Output'
            Connected to pin 'EVR Input2' of filter 'Enhanced Video Renderer'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_AI44, Format type FORMAT_VideoInfo2

    Filter 'DVD Navigator'
        CLSID: {9B8C4620-2C1A-11D0-8493-00A02438AD48}
        Host: c:\windows\system32\qdvd.dll
        Output Pin 'Video'
            Connected to pin 'Video Input' of filter 'Microsoft DTV-DVD Video Decoder'
            Major type MEDIATYPE_DVD_ENCRYPTED_PACK  Sub type MEDIASUBTYPE_MPEG2_VIDEO, Format type FORMAT_MPEG2_VIDEO
        Output Pin 'AC3'
            Connected to pin 'In' of filter 'ffdshow Audio Decoder'
            Major type MEDIATYPE_DVD_ENCRYPTED_PACK  Sub type MEDIASUBTYPE_DOLBY_AC3, Format type FORMAT_WaveFormatEx
        Output Pin 'SubPicture'
            Connected to pin 'Subpicture Input' of filter 'Microsoft DTV-DVD Video Decoder'
            Major type MEDIATYPE_DVD_ENCRYPTED_PACK  Sub type MEDIASUBTYPE_DVD_SUBPICTURE, Format type FORMAT_MPEG2_VIDEO
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72439
  • Where did I put my teeth?
Re: Video Freezing In MC15
« Reply #3 on: November 12, 2010, 08:17:28 am »

Please take a look at this thread:
http://yabb.jriver.com/interact/index.php?topic=59603.msg408223#msg408223

and the DirectShow Guide on our wiki.
Logged

Facel

  • World Citizen
  • ***
  • Posts: 201
Re: Video Freezing In MC15
« Reply #4 on: November 12, 2010, 08:44:09 am »

hello again

I have loaded The CCCP pack codec and now the Video does not freez anymore !

I beleive that there is stil a pb because
   - time code and audio infos do not seem correct (-9:25/ 9:58 - 0,0 khz - 0 ch 1 of 1)
   - audio has some crash but onlu at the begginning
   -it is not possible to play again normally (its starts from somwhaer in the middle and jump to the end of the movie)

here are the fdd show info

Filter Graph Info:

    Filter 'Default DirectSound Device'
        CLSID: {79376820-07D0-11CF-A24D-0020AFD79767}
        Host: c:\windows\system32\quartz.dll
        Input Pin 'Audio Input pin (rendered)'
            Connected to pin 'Out' of filter 'ffdshow Audio Decoder'
            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\system32\evr.dll
        Input Pin 'EVR Input0'
            Connected to pin 'Out' of filter 'ffdshow raw video filter'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_YV12, Format type FORMAT_VideoInfo2
        Input Pin 'EVR Input1'
            Connected to pin 'XForm Out' of filter 'Line 21 Decoder 2'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_AI44, Format type FORMAT_VideoInfo
        Input Pin 'EVR Input2'
            Connected to pin '~Subpicture Output' of filter 'Microsoft DTV-DVD Video Decoder'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_AI44, Format type FORMAT_VideoInfo2

    Filter 'ffdshow raw video filter'
        CLSID: {0B390488-D80F-4A68-8408-48DC199F0E97}
        Host: c:\program files\ffdshow\ffdshow.ax
        Input Pin 'In'
            Connected to pin 'Video Output 1' of filter 'Microsoft DTV-DVD Video Decoder'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_NV12, Format type FORMAT_VideoInfo2
        Output Pin 'Out'
            Connected to pin 'EVR Input0' of filter 'Enhanced Video Renderer'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_YV12, Format type FORMAT_VideoInfo2
        Input Pin 'In Text'

    Filter 'Line 21 Decoder 2'
        CLSID: {E4206432-01A1-4BEE-B3E1-3702C8EDC574}
        Host: c:\windows\system32\quartz.dll
        Input Pin 'XForm In'
            Connected to pin '~Line21 Output' of filter 'Microsoft DTV-DVD Video Decoder'
            Major type MEDIATYPE_AUXLine21Data  Sub type MEDIASUBTYPE_Line21_GOPPacket, Format type FORMAT_None
        Output Pin 'XForm Out'
            Connected to pin 'EVR Input1' of filter 'Enhanced Video Renderer'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_AI44, Format type FORMAT_VideoInfo

    Filter 'ffdshow Audio Decoder'
        CLSID: {0F40E1E5-4F79-4988-B1A9-CC98794E6B55}
        Host: c:\program files\ffdshow\ffdshow.ax
        Output Pin 'Out'
            Connected to pin 'Audio Input pin (rendered)' of filter 'Default DirectSound Device'
            Major type MEDIATYPE_Audio  Sub type MEDIASUBTYPE_PCM, Format type FORMAT_WaveFormatEx
        Input Pin 'In'
            Connected to pin 'AC3' of filter 'DVD Navigator'
            Major type MEDIATYPE_DVD_ENCRYPTED_PACK  Sub type MEDIASUBTYPE_DOLBY_AC3, Format type FORMAT_WaveFormatEx

    Filter 'Microsoft DTV-DVD Video Decoder'
        CLSID: {212690FB-83E5-4526-8FD7-74478B7939CD}
        Host: c:\windows\system32\msmpeg2vdec.dll
        Input Pin 'Video Input'
            Connected to pin 'Video' of filter 'DVD Navigator'
            Major type MEDIATYPE_DVD_ENCRYPTED_PACK  Sub type MEDIASUBTYPE_MPEG2_VIDEO, Format type FORMAT_MPEG2_VIDEO
        Input Pin 'Subpicture Input'
            Connected to pin 'SubPicture' of filter 'DVD Navigator'
            Major type MEDIATYPE_DVD_ENCRYPTED_PACK  Sub type MEDIASUBTYPE_DVD_SUBPICTURE, Format type FORMAT_MPEG2_VIDEO
        Output Pin 'Video Output 1'
            Connected to pin 'In' of filter 'ffdshow raw video filter'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_NV12, Format type FORMAT_VideoInfo2
        Output Pin '~Line21 Output'
            Connected to pin 'XForm In' of filter 'Line 21 Decoder 2'
            Major type MEDIATYPE_AUXLine21Data  Sub type MEDIASUBTYPE_Line21_GOPPacket, Format type FORMAT_None
        Output Pin '~Subpicture Output'
            Connected to pin 'EVR Input2' of filter 'Enhanced Video Renderer'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_AI44, Format type FORMAT_VideoInfo2

    Filter 'DVD Navigator'
        CLSID: {9B8C4620-2C1A-11D0-8493-00A02438AD48}
        Host: c:\windows\system32\qdvd.dll
        Output Pin 'Video'
            Connected to pin 'Video Input' of filter 'Microsoft DTV-DVD Video Decoder'
            Major type MEDIATYPE_DVD_ENCRYPTED_PACK  Sub type MEDIASUBTYPE_MPEG2_VIDEO, Format type FORMAT_MPEG2_VIDEO
        Output Pin 'AC3'
            Connected to pin 'In' of filter 'ffdshow Audio Decoder'
            Major type MEDIATYPE_DVD_ENCRYPTED_PACK  Sub type MEDIASUBTYPE_DOLBY_AC3, Format type FORMAT_WaveFormatEx
        Output Pin 'SubPicture'
            Connected to pin 'Subpicture Input' of filter 'Microsoft DTV-DVD Video Decoder'
            Major type MEDIATYPE_DVD_ENCRYPTED_PACK  Sub type MEDIASUBTYPE_DVD_SUBPICTURE, Format type FORMAT_MPEG2_VIDEO
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72439
  • Where did I put my teeth?
Re: Video Freezing In MC15
« Reply #5 on: November 12, 2010, 08:55:27 am »

   -it is not possible to play again normally (its starts from somwhaer in the middle and jump to the end of the movie)
That's probably just a "bookmark".  It plays from where you last stopped.  Press stop a second time to remove the bookmark.
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: Video Freezing In MC15
« Reply #6 on: November 12, 2010, 09:20:12 am »

here are the fdd show info

Filter Graph Info:

[contents omitted]

This all looked fine, though Yaobing may want to take a peek too to make sure.

  - audio has some crash but onlu at the begginning
   -it is not possible to play again normally (its starts from somwhaer in the middle and jump to the end of the movie)

Can you try to explain these two things in a little more detail?  I know English isn't your first language, but that's okay, just do your best.  I'm just not sure exactly what you're seeing with these things.  A few other questions:

1. Do the issues occur only with DVD Playback, or does it also happen with video files (AVI, MKV, MP4, etc)?
2. How do you have your sound card hooked up to your amplifier (digital or analog)?
3. In MC under Tools -> Options -> Video -> Audio for Video.  What is the Playback Device and Connection Type set to?
4. If it applies to video files too, is the Playback Method for all types under Decoders, Renderers, and More set to Automatic, or do you have other settings enabled?

Thanks.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

Facel

  • World Citizen
  • ***
  • Posts: 201
Re: Video Freezing In MC15
« Reply #7 on: November 15, 2010, 04:34:10 am »

Hello

1) this occurs with video files (WMV file (trailers Wildlife in HD) and also DVD file (with AVI file it seems OK
2) the sound card is hooked via Analog
3) Playback device is set to : "same device used in audio playback
4) The playback method is set to automatic

Additionnal info:
if I switch the playback methode from automatic to Window Player Media Engine, then The video does not freeze any more and the sound is present. (for the WMV file f course)

regards
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: Video Freezing In MC15
« Reply #8 on: November 15, 2010, 09:49:06 am »

3) Playback device is set to : "same device used in audio playback

Try changing this to "Default Windows Playback Device".  This will send the audio for video through the Windows mixer, which prevents bit-perfect playback and means the MC DSP won't work, but it will probably work around any flakiness in your sound card drivers or implementation.

I have a similar problem which I reported here: http://yabb.jriver.com/interact/index.php?topic=60327.0

This is really probably only relevant to the audio problems, not to the video freezing, but both might be related.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

Facel

  • World Citizen
  • ***
  • Posts: 201
Re: Video Freezing In MC15
« Reply #9 on: November 15, 2010, 10:55:48 am »

Thank you Glynor for your help

Both video and audio are correctly working when I set the playback Device to :  "Default Windows Playback Device" or to "Loudspeaker (2- Asus Xonar Essence STX Audio Device).

Does that mean that I will not be able to play a DVD with PCM or DTS sound with the best quality through my Asus audio card ?

Is there a way to play Bitperfect such DVD ?

By the way on the player view I have the following information : O,O Khz - 0 ch 1 of 1 (sample rate - channel and PN position of PN track) => is this normal ?
regards
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: Video Freezing In MC15
« Reply #10 on: November 15, 2010, 11:11:00 am »

That's good.

Does that mean that I will not be able to play a DVD with PCM or DTS sound with the best quality through my Asus audio card ?

Is there a way to play Bitperfect such DVD ?

Well... It depends how you look at it.  It won't be bit-perfect, in most cases, because the Windows mixer will be ... Mixing it with other audio sources on your computer, which by-necessity means it isn't bit-perfect.  So it is best, theoretically, to avoid the windows default mixer if possible.  However, if you use the volume control in any application to modify the volume of the output, then it also isn't bit-perfect, so that may not be a goal relevant to your needs.

But either way... The way this is done is by using an audio rendering engine other than Direct Sound or Wave Out, usually either WASAPI or ASIO.

What do you have Options -> Audio -> Audio Output -> Output Mode set to?  Does Audio playback work fine?

It is possible that you could correct the Video playback issues while keeping the Video playback device set to "Same As Audio", by modifying this setting.  If "vanilla" WASAPI doesn't work, then try WASAPI - Event Style (or vice versa).  I don't know if the ASUS provided drivers are any good at ASIO, but they do support ASIO on those drivers, so you could maybe go that route as well.  Also try with and without the "Play Silence for hardware sync" option enabled.

Lastly, make sure you have the current drivers for your card.  I just looked, and the current driver for the Xonar cards was just released on 2010/10/29.  So, if you haven't updated in the past two weeks, you're on an old driver.  There is also a special beta ASIO driver on ASUS's website, which looks to be older, but is listed as: "Xonar Essence STX bit-perfect ASIO driver (beta) for Windows 7 32/64bit".  There appears to be some special needs with this driver, though, so you may experience issues.

PS. I'm no ASIO/WASAPI expert, so someone else with more knowledge might want to chime in here...  I'd also really like to get it working correctly on my system at home.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

Facel

  • World Citizen
  • ***
  • Posts: 201
Re: Video Freezing In MC15
« Reply #11 on: November 15, 2010, 12:21:03 pm »

Thanks again for your explanation

The output mode is set to "ASIO" and audio palyback is working perfectly (without audio volume control but I knew that)

 the "Play Silence for hardware sync" was already without option enabled .

In the Audio => Output mode setting => I have modified the "Buffering"  to more responsive (0.1 second)
This change is making the DVD playing audio through Asio correctly with a non freezing image.

The AVI video is also working fine through ASIO driver

The WMV Video (Wildlife HD) has nos sound at all, but there is no image freeze (Option=> Tools=> Video => decoder Renderer  beeing set on automatice for Wondows media files.

By the way I have installed the latest Asus Driver.
Even if you are not an "Asio Expert" do you know if it is recommendend to install an other ASIO driver (Asio for All) instead (or in addditionnal) to the asus one ?
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: Video Freezing In MC15
« Reply #12 on: November 15, 2010, 12:44:55 pm »

You may want to try the two WASAPI modes.  Since you aren't using MC as a software synth and making music live, extremely low latency isn't really relevant, which is (I believe) the main benefit of ASIO over WASAPI modes.

Otherwise, those two options are functionally similar, and both allow bit-perfect output.  WASAPI tends to be better supported by commodity hardware vendors.

I don't know much about the ASIO-for-all options, but I would think that "real" ASIO (from your vendor's drivers) would be superior than something cobbled together by the open source community.  But who knows?

EDIT:  This line is in the Wiki:

"Please note that ASIO4All is basically Kernel Streaming with an ASIO wrapper. There's no good reason to use ASIO + ASIO4All vs just using Kernel Streaming directly in Media Center."

However, it also states this:

"The only way to prevent a Creative Labs X-Fi based card or Asus Xonar card from resampling all incoming audio is to use ASIO and the driver that came with the card. With these cards, WASAPI exclusive will not change the master clock of the card."

I suspect that Beta ASIO driver on ASUS's website may be what you need for ASIO to work in bit-perfect mode.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/
Pages: [1]   Go Up