INTERACT FORUM

Please login or register.

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

Author Topic: AVCHD (.mts) files are taking a long time to start.  (Read 5190 times)

raldo

  • Citizen of the Universe
  • *****
  • Posts: 1102
AVCHD (.mts) files are taking a long time to start.
« on: November 26, 2010, 02:39:01 am »

10-12 seconds.

MKVs start pretty quickly. Any tricks to get this working?
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: AVCHD (.mts) files are taking a long time to start.
« Reply #1 on: November 26, 2010, 03:24:48 am »

Mate - post your filter info, I'd say your splitter is giving you grief.
Logged
JRiver CEO Elect

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: AVCHD (.mts) files are taking a long time to start.
« Reply #2 on: November 26, 2010, 03:26:38 am »

FYI - here is mine

Code: [Select]
Filter Graph Info:

    Filter 'ReClock Audio Renderer'
        CLSID: {9DC15360-914C-46B8-B9DF-BFE67FD36C6A}
        Host: c:\program files (x86)\reclock\reclock.dll
        Input Pin 'In'
            Connected to pin 'XForm Out' of filter 'ArcSoft Audio Decoder HD'
            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 'Output' of filter 'CoreAVC Video Decoder'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_NV12, Format type FORMAT_VideoInfo2
        Input Pin 'EVR Input1'

    Filter 'ArcSoft Audio Decoder HD'
        CLSID: {1A89085B-B654-4ED8-8831-5AC629A05FF5}
        Host: c:\program files (x86)\arcsoft\totalmedia theatre 5\codec\asaudiohd.ax
        Input Pin 'XForm In'
            Connected to pin 'Audio' of filter 'lavf dshow source filter'
            Major type MEDIATYPE_Audio  Sub type MEDIASUBTYPE_DOLBY_AC3, Format type FORMAT_WaveFormatEx
        Output Pin 'XForm Out'
            Connected to pin 'In' of filter 'ReClock Audio Renderer'
            Major type MEDIATYPE_Audio  Sub type MEDIASUBTYPE_PCM, Format type FORMAT_WaveFormatEx

    Filter 'CoreAVC Video Decoder'
        CLSID: {09571A4B-F1FE-4C60-9760-DE6D310C7C31}
        Host: c:\program files (x86)\corecodec\coreavc professional edition\coreavcdecoder.ax
        Input Pin 'Input'
            Connected to pin 'Video' of filter 'lavf dshow source filter'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_H264, Format type FORMAT_MPEG2_VIDEO
        Output Pin 'Output'
            Connected to pin 'EVR Input0' of filter 'Enhanced Video Renderer'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_NV12, Format type FORMAT_VideoInfo2

    Filter 'lavf dshow source filter'
        CLSID: {B98D13E7-55DB-4385-A33D-09FD1BA26338}
        Host: c:\users\mum and dad\downloads\lavfsplitter-0.11\lavfdshowsplitter.ax
        Output Pin 'Video'
            Connected to pin 'Input' of filter 'CoreAVC Video Decoder'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_H264, Format type FORMAT_MPEG2_VIDEO
        Output Pin 'Audio'
            Connected to pin 'XForm In' of filter 'ArcSoft Audio Decoder HD'
            Major type MEDIATYPE_Audio  Sub type MEDIASUBTYPE_DOLBY_AC3, Format type FORMAT_WaveFormatEx
        Output Pin 'Subtitle'
Logged
JRiver CEO Elect

raldo

  • Citizen of the Universe
  • *****
  • Posts: 1102
Re: AVCHD (.mts) files are taking a long time to start.
« Reply #3 on: November 26, 2010, 05:26:47 am »

Mate - post your filter info, I'd say your splitter is giving you grief.

Here it is:

Code: [Select]
Filter Graph Info:

    Filter 'Default DirectSound Device'
        CLSID: {79376820-07D0-11CF-A24D-0020AFD79767}
        Host: c:\windows\syswow64\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\syswow64\evr.dll
        Input Pin 'EVR Input0'
            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
        Input Pin 'EVR Input1'

    Filter 'ffdshow Audio Decoder'
        CLSID: {0F40E1E5-4F79-4988-B1A9-CC98794E6B55}
        Host: c:\program files (x86)\combined community codec pack\filters\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 'Output' of filter 'JRiver Media Proxy Audio'
            Major type MEDIATYPE_Audio  Sub type MEDIASUBTYPE_DOLBY_AC3, Format type FORMAT_WaveFormatEx

    Filter 'Microsoft DTV-DVD Video Decoder'
        CLSID: {212690FB-83E5-4526-8FD7-74478B7939CD}
        Host: c:\windows\syswow64\msmpeg2vdec.dll
        Input Pin 'Video Input'
            Connected to pin 'Output' of filter 'JRiver Media Proxy Video'
            Major type MEDIATYPE_Video  Sub type Unknown GUID Name: {31435641-0000-0010-8000-00AA00389B71}, Format type FORMAT_MPEG2_VIDEO
        Input Pin 'Subpicture Input'
        Output Pin 'Video Output 1'
            Connected to pin 'EVR Input0' of filter 'Enhanced Video Renderer'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_NV12, Format type FORMAT_VideoInfo2
        Output Pin '~Line21 Output'

    Filter 'JRiver Media Proxy Audio'
        CLSID: {A4207487-E7D8-406B-9882-B66370DE2492}
        Host:
        Input Pin 'Input'
            Connected to pin 'Audio' of filter '\\Server\Photos\Mathilde kommer til verden!\00012.MTS'
            Major type MEDIATYPE_Audio  Sub type MEDIASUBTYPE_DOLBY_AC3, Format type FORMAT_WaveFormatEx
        Output Pin 'Output'
            Connected to pin 'In' of filter 'ffdshow Audio Decoder'
            Major type MEDIATYPE_Audio  Sub type MEDIASUBTYPE_DOLBY_AC3, Format type FORMAT_WaveFormatEx

    Filter 'JRiver Media Proxy Video'
        CLSID: {A4207487-E7D8-406B-9882-B66370DE2492}
        Host:
        Input Pin 'Input'
            Connected to pin 'Video' of filter '\\Server\Photos\Mathilde kommer til verden!\00012.MTS'
            Major type MEDIATYPE_Video  Sub type Unknown GUID Name: {31435641-0000-0010-8000-00AA00389B71}, Format type FORMAT_MPEG2_VIDEO
        Output Pin 'Output'
            Connected to pin 'Video Input' of filter 'Microsoft DTV-DVD Video Decoder'
            Major type MEDIATYPE_Video  Sub type Unknown GUID Name: {31435641-0000-0010-8000-00AA00389B71}, Format type FORMAT_MPEG2_VIDEO

    Filter '\\Server\Photos\Mathilde kommer til verden!\00012.MTS'
        CLSID: {55DA30FC-F16B-49FC-BAA5-AE59FC65F82D}
        Host: c:\program files (x86)\combined community codec pack\filters\haali\splitter.ax
        Output Pin 'Video'
            Connected to pin 'Input' of filter 'JRiver Media Proxy Video'
            Major type MEDIATYPE_Video  Sub type Unknown GUID Name: {31435641-0000-0010-8000-00AA00389B71}, Format type FORMAT_MPEG2_VIDEO
        Output Pin 'Audio'
            Connected to pin 'Input' of filter 'JRiver Media Proxy Audio'
            Major type MEDIATYPE_Audio  Sub type MEDIASUBTYPE_DOLBY_AC3, Format type FORMAT_WaveFormatEx
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: AVCHD (.mts) files are taking a long time to start.
« Reply #4 on: November 26, 2010, 01:13:57 pm »

All looks pretty std to to me MTS --> Haali --> MS Video / FFDSHOW Audio --> EVR / DirectSound.

In the direct show config (tools --> Options --> file types --> MTS --> JRiver video engine (useing DirectShow filters)), try selecting another Source Filter if you have one like:
"Nero" or "MPC - MPG Source (Gabest)".
Logged
JRiver CEO Elect

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: AVCHD (.mts) files are taking a long time to start.
« Reply #5 on: November 26, 2010, 02:18:31 pm »

FYI - I changed to the same filter set as your and I the files opens/plays in under 2sec and thumbnail generations is fine.


This is one is the Full "Haali Splitter" - you may want to try this one in the JR Options
Code: [Select]
Filter Graph Info:

    Filter 'ReClock Audio Renderer'
        CLSID: {9DC15360-914C-46B8-B9DF-BFE67FD36C6A}
        Host: c:\program files (x86)\reclock\reclock.dll
        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\syswow64\evr.dll
        Input Pin 'EVR Input0'
            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
        Input Pin 'EVR Input1'

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

    Filter 'Microsoft DTV-DVD Video Decoder'
        CLSID: {212690FB-83E5-4526-8FD7-74478B7939CD}
        Host: c:\windows\syswow64\msmpeg2vdec.dll
        Input Pin 'Video Input'
            Connected to pin 'Output' of filter 'JRiver Media Proxy Video'
            Major type MEDIATYPE_Video  Sub type Unknown GUID Name: {31435641-0000-0010-8000-00AA00389B71}, Format type FORMAT_MPEG2_VIDEO
        Input Pin 'Subpicture Input'
        Output Pin 'Video Output 1'
            Connected to pin 'EVR Input0' of filter 'Enhanced Video Renderer'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_NV12, Format type FORMAT_VideoInfo2
        Output Pin '~Line21 Output'

    Filter 'JRiver Media Proxy Audio'
        CLSID: {A4207487-E7D8-406B-9882-B66370DE2492}
        Host:
        Input Pin 'Input'
            Connected to pin 'Audio' of filter 'Haali Media Splitter'
            Major type MEDIATYPE_Audio  Sub type MEDIASUBTYPE_DOLBY_AC3, Format type FORMAT_WaveFormatEx
        Output Pin 'Output'
            Connected to pin 'In' of filter 'ffdshow Audio Decoder'
            Major type MEDIATYPE_Audio  Sub type MEDIASUBTYPE_DOLBY_AC3, Format type FORMAT_WaveFormatEx

    Filter 'JRiver Media Proxy Video'
        CLSID: {A4207487-E7D8-406B-9882-B66370DE2492}
        Host:
        Input Pin 'Input'
            Connected to pin 'Video' of filter 'Haali Media Splitter'
            Major type MEDIATYPE_Video  Sub type Unknown GUID Name: {31435641-0000-0010-8000-00AA00389B71}, Format type FORMAT_MPEG2_VIDEO
        Output Pin 'Output'
            Connected to pin 'Video Input' of filter 'Microsoft DTV-DVD Video Decoder'
            Major type MEDIATYPE_Video  Sub type Unknown GUID Name: {31435641-0000-0010-8000-00AA00389B71}, Format type FORMAT_MPEG2_VIDEO

    Filter 'Haali Media Splitter'
        CLSID: {55DA30FC-F16B-49FC-BAA5-AE59FC65F82D}
        Host: c:\program files (x86)\haali\matroskasplitter\splitter.ax
        Output Pin 'Video'
            Connected to pin 'Input' of filter 'JRiver Media Proxy Video'
            Major type MEDIATYPE_Video  Sub type Unknown GUID Name: {31435641-0000-0010-8000-00AA00389B71}, Format type FORMAT_MPEG2_VIDEO
        Output Pin 'Audio'
            Connected to pin 'Input' of filter 'JRiver Media Proxy Audio'
            Major type MEDIATYPE_Audio  Sub type MEDIASUBTYPE_DOLBY_AC3, Format type FORMAT_WaveFormatEx

This is one using the same "Simple Haali Splitter" that you currently have selected - this one does not like the high bit rate 264 stream as much!
Code: [Select]
Filter Graph Info:

    Filter 'ReClock Audio Renderer'
        CLSID: {9DC15360-914C-46B8-B9DF-BFE67FD36C6A}
        Host: c:\program files (x86)\reclock\reclock.dll
        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\syswow64\evr.dll
        Input Pin 'EVR Input0'
            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
        Input Pin 'EVR Input1'

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

    Filter 'Microsoft DTV-DVD Video Decoder'
        CLSID: {212690FB-83E5-4526-8FD7-74478B7939CD}
        Host: c:\windows\syswow64\msmpeg2vdec.dll
        Input Pin 'Video Input'
            Connected to pin 'Output' of filter 'JRiver Media Proxy Video'
            Major type MEDIATYPE_Video  Sub type Unknown GUID Name: {31435641-0000-0010-8000-00AA00389B71}, Format type FORMAT_MPEG2_VIDEO
        Input Pin 'Subpicture Input'
        Output Pin 'Video Output 1'
            Connected to pin 'EVR Input0' of filter 'Enhanced Video Renderer'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_NV12, Format type FORMAT_VideoInfo2
        Output Pin '~Line21 Output'

    Filter 'JRiver Media Proxy Audio'
        CLSID: {A4207487-E7D8-406B-9882-B66370DE2492}
        Host:
        Input Pin 'Input'
            Connected to pin 'Audio 1' of filter 'Haali Simple Media Splitter'
            Major type MEDIATYPE_Audio  Sub type MEDIASUBTYPE_DOLBY_AC3, Format type FORMAT_WaveFormatEx
        Output Pin 'Output'
            Connected to pin 'In' of filter 'ffdshow Audio Decoder'
            Major type MEDIATYPE_Audio  Sub type MEDIASUBTYPE_DOLBY_AC3, Format type FORMAT_WaveFormatEx

    Filter 'JRiver Media Proxy Video'
        CLSID: {A4207487-E7D8-406B-9882-B66370DE2492}
        Host:
        Input Pin 'Input'
            Connected to pin 'Video 1' of filter 'Haali Simple Media Splitter'
            Major type MEDIATYPE_Video  Sub type Unknown GUID Name: {31435641-0000-0010-8000-00AA00389B71}, Format type FORMAT_MPEG2_VIDEO
        Output Pin 'Output'
            Connected to pin 'Video Input' of filter 'Microsoft DTV-DVD Video Decoder'
            Major type MEDIATYPE_Video  Sub type Unknown GUID Name: {31435641-0000-0010-8000-00AA00389B71}, Format type FORMAT_MPEG2_VIDEO

    Filter 'Haali Simple Media Splitter'
        CLSID: {8F43B7D9-9D6B-4F48-BE18-4D787C795EEA}
        Host: c:\program files (x86)\haali\matroskasplitter\splitter.ax
        Output Pin 'Video 1'
            Connected to pin 'Input' of filter 'JRiver Media Proxy Video'
            Major type MEDIATYPE_Video  Sub type Unknown GUID Name: {31435641-0000-0010-8000-00AA00389B71}, Format type FORMAT_MPEG2_VIDEO
        Output Pin 'Audio 1'
            Connected to pin 'Input' of filter 'JRiver Media Proxy Audio'
            Major type MEDIATYPE_Audio  Sub type MEDIASUBTYPE_DOLBY_AC3, Format type FORMAT_WaveFormatEx
Logged
JRiver CEO Elect

raldo

  • Citizen of the Universe
  • *****
  • Posts: 1102
Re: AVCHD (.mts) files are taking a long time to start.
« Reply #6 on: March 21, 2011, 03:59:53 pm »

The files are still taking  a long time to start (>10 seconds)

Any more suggestions? I have tried several source filters.
Logged

raldo

  • Citizen of the Universe
  • *****
  • Posts: 1102
Re: AVCHD (.mts) files are taking a long time to start.
« Reply #7 on: March 22, 2011, 02:15:53 am »

Let me just add that this is a library client PC. I've ticked "Play files locally if they can be found", or whatever the option is called, under Options\network.
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: AVCHD (.mts) files are taking a long time to start.
« Reply #8 on: March 24, 2011, 03:24:55 pm »

I've the same LS Setup and they are fine for me.  One Q - is it slow the 2nd time you play it? (eg could the lag be the server waking up the HDD).....
Logged
JRiver CEO Elect

raldo

  • Citizen of the Universe
  • *****
  • Posts: 1102
Re: AVCHD (.mts) files are taking a long time to start.
« Reply #9 on: March 28, 2011, 03:00:17 am »

I've the same LS Setup and they are fine for me.  One Q - is it slow the 2nd time you play it? (eg could the lag be the server waking up the HDD).....

I see no difference in startup time the second time around.

Btw, I've been using Logmein to log onto the client. When I dump the splitter info, could it be that I'm seeing another video chain?
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: AVCHD (.mts) files are taking a long time to start.
« Reply #10 on: March 28, 2011, 03:46:17 am »

Try LAVSplitter - http://forum.doom9.org/showthread.php?t=156191 and see how it goes
Logged
JRiver CEO Elect

raldo

  • Citizen of the Universe
  • *****
  • Posts: 1102
Re: AVCHD (.mts) files are taking a long time to start.
« Reply #11 on: April 01, 2011, 02:12:15 pm »

Try LAVSplitter - http://forum.doom9.org/showthread.php?t=156191 and see how it goes

The LAVSplitter install failed. The project has the look and feel of prototype so I think I'll not pursue that track any further. I was also unable to find out if LAVSplitter really supports MTS/AVCHD.

The strange thing is that FFDSHOW supports mts files. Am I seeing bad performance in ffdshow, maybe?
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: AVCHD (.mts) files are taking a long time to start.
« Reply #12 on: April 01, 2011, 02:19:41 pm »

The LAVSplitter install failed. The project has the look and feel of prototype so I think I'll not pursue that track any further. I was also unable to find out if LAVSplitter really supports MTS/AVCHD.

The strange thing is that FFDSHOW supports mts files. Am I seeing bad performance in ffdshow, maybe?

It is the job of the file source/splitter filter to open the files and "split out" the Video and Audio to track (eg to FFDSHOW) that then decodes these and passes the decoded streams to the renderers.  The Splitter also handles the navigation requests (eg Play, Pause, FFD etc)  So it is the splitter that has to like the MTS file type, then FFDSHOW to decode the x264 / DD stream in it. 

I don't know why you system is slow for these file type (use "MediaInfo" to grab some more info of these file type and post it perhaps).

Also LAVSplitter is very well developed and if it is not installing it will be one of two things:
1) You have not yet installed "Binaries built by me currently require the VC++2010 Runtime (download 32-bit & 64-bit)"
2) You have to run the install as an administrator
Logged
JRiver CEO Elect

raldo

  • Citizen of the Universe
  • *****
  • Posts: 1102
Re: AVCHD (.mts) files are taking a long time to start.
« Reply #13 on: April 02, 2011, 05:08:21 am »

It is the job of the file source/splitter filter to open the files and "split out" the Video and Audio to track

Thanks for the clarification. I obviously need to read up on this.

I don't know why you system is slow for these file type (use "MediaInfo" to grab some more info of these file type and post it perhaps).

I'll look into this after the weekend.

Also LAVSplitter is very well developed and if it is not installing it will be one of two things:
1) You have not yet installed "Binaries built by me currently require the VC++2010 Runtime (download 32-bit & 64-bit)"
2) You have to run the install as an administrator

I installed as admin but missed out on the binaries. I'll try again.

Logged
Pages: [1]   Go Up