Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
6th September 2015, 01:04 | #1 | Link |
Soul Architect
Join Date: Apr 2014
Posts: 2,559
|
DirectShowSource fails on Windows 10
I'm having a weird issue with DirectShowSource. Whenever I'm trying to read a standard MP4 video file, it returns the error "the filter graph manager won't talk to me".
This was working before. However, DirectShowSource can load AVI files. I tried with both AviSynth 2.6 and AviSynth+, and the result is the same. What could be going wrong? |
7th September 2015, 23:49 | #3 | Link | |
Soul Architect
Join Date: Apr 2014
Posts: 2,559
|
Quote:
Yes, I can play in my video players. Here's the mediainfo of one video file General Unique ID : 106555786679087755391058062049318847546 (0x5029E5E561158E59C59F4CE81B30C43A) Complete name : F:\NaturalGrounding\Rainbow\A.mkv Format : Matroska Format version : Version 4 / Version 2 File size : 80.4 MiB Duration : 3mn 27s Overall bit rate : 3 257 Kbps Writing application : Lavf56.10.100 Writing library : Lavf56.10.100 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L3.1 Format settings, CABAC : Yes Format settings, ReFrames : 1 frame Codec ID : V_MPEG4/ISO/AVC Duration : 3mn 27s Width : 1 280 pixels Height : 720 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 29.970 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Default : Yes Forced : No HANDLER_NAME : VideoHandler Audio ID : 2 Format : AAC Format/Info : Advanced Audio Codec Format profile : LC Codec ID : A_AAC Duration : 3mn 27s Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 44.1 KHz Compression mode : Lossy Default : Yes Forced : No Encoded date : UTC 2015-05-24 07:29:39 HANDLER_NAME : SoundHandler DirectShowSource is a last resort, but there are cases where it can be useful as a backup plan. |
|
8th September 2015, 08:16 | #4 | Link |
Registered User
Join Date: May 2006
Posts: 3,997
|
I did a few tests with Avisynth 2.5.8 / DirectShowSource / Windows 10 and ran into the same problem with a mpeg2 .m2v video file. Remuxing the .m2v file with Muxman (which put it into a .vob container) solved the problem......
|
6th September 2015, 12:29 | #5 | Link |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
The DirectShowSource is the last method to open a file in AviSynth.
The recommended method to open a mp4 file is: LoadPlugin("...\LSMASHSource.dll") LSMASHAudioSource("...\file.mp4") # or/and LSMASHVideoSource("...\file.mp4")
__________________
BeHappy, AviSynth audio transcoder. |
8th September 2015, 11:27 | #6 | Link | |
Retried Guesser
Join Date: Jun 2012
Posts: 1,373
|
http://avisynth.nl/index.php/DirectShowSource
Quote:
DirectShowSource(filename, logfile="C:\mypath\log.txt") |
|
22nd September 2015, 17:39 | #7 | Link |
Soul Architect
Join Date: Apr 2014
Posts: 2,559
|
Interestingly enough, if I remove pixel_type="YV12" then it does open, but the input is corrupt.
Here's the log. 00:00:00.000 fff 0x00000000 DirectShowSource 2.6.0 build:Mar 31 2015 [16:38:37] 00:00:00.046 020 0x041F84F0 0x00004CD0 GetSample::ConnectedTo() ** VFW_E_NOT_CONNECTED ** 00:00:00.046 020 0x041F84F0 0x00004CD0 GetSample::ConnectedTo() ** VFW_E_NOT_CONNECTED ** 00:00:00.046 001 0x041F84F0 0x00004CD0 GetSample::QueryAccept(video) MEDIATYPE_Video 00:00:00.046 001 0x041F84F0 0x00004CD0 *** Video: Subtype rejected - 'AVC1' {31435641-0000-0010-8000-00aa00389b71} 00:00:00.046 001 0x041F84F0 0x00004CD0 *** Video: Format type - {e06d80e3-db46-11cf-b4d1-00805f6cbbea} 00:00:00.046 020 0x041F84F0 0x00004CD0 GetSample::ReceiveConnection() ** VFW_E_TYPE_NOT_ACCEPTED ** 00:00:00.215 020 0x041F84F0 0x00004CD0 GetSample::ConnectedTo() ** VFW_E_NOT_CONNECTED ** 00:00:00.215 001 0x041F84F0 0x00004CD0 GetSample::QueryAccept(video) MEDIATYPE_Video 00:00:00.215 001 0x041F84F0 0x00004CD0 *** Video: Subtype rejected - '....' {1b81be0a-a0c7-11d3-b984-00c04f2e73c5} 00:00:00.215 001 0x041F84F0 0x00004CD0 *** Video: Format type - {f72a76a0-eb0a-11d0-ace4-0000c0cc16ba} 00:00:00.215 020 0x041F84F0 0x00004CD0 GetSample::ReceiveConnection() ** VFW_E_TYPE_NOT_ACCEPTED ** 00:00:00.215 001 0x041F84F0 0x00004CD0 GetSample::QueryAccept(video) MEDIATYPE_Video 00:00:00.215 001 0x041F84F0 0x00004CD0 *** Video: Subtype rejected - '....' {1b81be0a-a0c7-11d3-b984-00c04f2e73c5} 00:00:00.215 001 0x041F84F0 0x00004CD0 *** Video: Format type - {f72a76a0-eb0a-11d0-ace4-0000c0cc16ba} 00:00:00.215 020 0x041F84F0 0x00004CD0 GetSample::ReceiveConnection() ** VFW_E_TYPE_NOT_ACCEPTED ** 00:00:00.215 001 0x041F84F0 0x00004CD0 GetSample::QueryAccept(video) MEDIATYPE_Video 00:00:00.215 001 0x041F84F0 0x00004CD0 *** Video: Subtype rejected - '....' {1b81be0c-a0c7-11d3-b984-00c04f2e73c5} 00:00:00.215 001 0x041F84F0 0x00004CD0 *** Video: Format type - {f72a76a0-eb0a-11d0-ace4-0000c0cc16ba} 00:00:00.215 020 0x041F84F0 0x00004CD0 GetSample::ReceiveConnection() ** VFW_E_TYPE_NOT_ACCEPTED ** 00:00:00.215 001 0x041F84F0 0x00004CD0 GetSample::QueryAccept(video) MEDIATYPE_Video 00:00:00.215 001 0x041F84F0 0x00004CD0 *** Video: Subtype rejected - '....' {1b81be0c-a0c7-11d3-b984-00c04f2e73c5} 00:00:00.215 001 0x041F84F0 0x00004CD0 *** Video: Format type - {f72a76a0-eb0a-11d0-ace4-0000c0cc16ba} 00:00:00.215 020 0x041F84F0 0x00004CD0 GetSample::ReceiveConnection() ** VFW_E_TYPE_NOT_ACCEPTED ** 00:00:00.215 001 0x041F84F0 0x00004CD0 GetSample::QueryAccept(video) MEDIATYPE_Video 00:00:00.215 001 0x041F84F0 0x00004CD0 *** Video: Subtype denied - NV12 00:00:00.215 020 0x041F84F0 0x00004CD0 GetSample::ReceiveConnection() ** VFW_E_TYPE_NOT_ACCEPTED ** 00:00:00.215 001 0x041F84F0 0x00004CD0 GetSample::QueryAccept(video) MEDIATYPE_Video 00:00:00.215 001 0x041F84F0 0x00004CD0 *** Video: Subtype denied - NV12 00:00:00.215 020 0x041F84F0 0x00004CD0 GetSample::ReceiveConnection() ** VFW_E_TYPE_NOT_ACCEPTED ** 00:00:00.215 001 0x041F84F0 0x00004CD0 GetSample::QueryAccept(video) MEDIATYPE_Video 00:00:00.215 001 0x041F84F0 0x00004CD0 *** Video: Subtype denied - I420 00:00:00.215 020 0x041F84F0 0x00004CD0 GetSample::ReceiveConnection() ** VFW_E_TYPE_NOT_ACCEPTED ** 00:00:00.215 001 0x041F84F0 0x00004CD0 GetSample::QueryAccept(video) MEDIATYPE_Video 00:00:00.215 001 0x041F84F0 0x00004CD0 *** Video: Subtype denied - I420 00:00:00.215 020 0x041F84F0 0x00004CD0 GetSample::ReceiveConnection() ** VFW_E_TYPE_NOT_ACCEPTED ** 00:00:00.215 001 0x041F84F0 0x00004CD0 GetSample::QueryAccept(video) MEDIATYPE_Video 00:00:00.215 001 0x041F84F0 0x00004CD0 *** Video: Subtype denied - YUY2 00:00:00.215 020 0x041F84F0 0x00004CD0 GetSample::ReceiveConnection() ** VFW_E_TYPE_NOT_ACCEPTED ** 00:00:00.215 001 0x041F84F0 0x00004CD0 GetSample::QueryAccept(video) MEDIATYPE_Video 00:00:00.215 001 0x041F84F0 0x00004CD0 *** Video: Subtype denied - YUY2 00:00:00.215 020 0x041F84F0 0x00004CD0 GetSample::ReceiveConnection() ** VFW_E_TYPE_NOT_ACCEPTED ** 00:00:00.215 001 0x041F84F0 0x00004CD0 GetSample::QueryAccept(video) MEDIATYPE_Video 00:00:00.215 001 0x041F84F0 0x00004CD0 *** Video: Subtype accepted - 'YV12' {32315659-0000-0010-8000-00aa00389b71} 00:00:00.236 001 0x041F84F0 0x00004CD0 *** Video: Format type accepted - {f72a76a0-eb0a-11d0-ace4-0000c0cc16ba} 00:00:00.236 001 0x041F84F0 0x00004CD0 *** Video: format accepted: 1920x1080, pixel_type YV12, avg_time_per_frame 417111x100ns 00:00:00.236 001 0x041F84F0 0x00004CD0 *** Video: bFixedSizeSamples=1, bTemporalCompression=0, lSampleSize=3110400 00:00:00.236 001 0x041F84F0 0x00004CD0 GetSample::QueryAccept(video) MEDIATYPE_Video 00:00:00.236 001 0x041F84F0 0x00004CD0 *** Video: Subtype accepted - 'YV12' {32315659-0000-0010-8000-00aa00389b71} 00:00:00.236 001 0x041F84F0 0x00004CD0 *** Video: Format type accepted - {f72a76a0-eb0a-11d0-ace4-0000c0cc16ba} 00:00:00.236 001 0x041F84F0 0x00004CD0 *** Video: format accepted: 1920x1080, pixel_type YV12, avg_time_per_frame 417111x100ns 00:00:00.236 001 0x041F84F0 0x00004CD0 *** Video: bFixedSizeSamples=1, bTemporalCompression=0, lSampleSize=3110400 00:00:00.236 001 0x041F84F0 0x00004CD0 GetSample::QueryAccept(video) MEDIATYPE_Video 00:00:00.236 001 0x041F84F0 0x00004CD0 *** Video: Subtype rejected - 'IMC4' {34434d49-0000-0010-8000-00aa00389b71} 00:00:00.236 001 0x041F84F0 0x00004CD0 *** Video: Format type - {f72a76a0-eb0a-11d0-ace4-0000c0cc16ba} 00:00:00.236 020 0x041F84F0 0x00004CD0 GetSample::ReceiveConnection() ** VFW_E_TYPE_NOT_ACCEPTED ** 00:00:00.236 001 0x041F84F0 0x00004CD0 GetSample::QueryAccept(video) MEDIATYPE_Video 00:00:00.236 001 0x041F84F0 0x00004CD0 *** Video: Subtype rejected - 'IMC4' {34434d49-0000-0010-8000-00aa00389b71} 00:00:00.236 001 0x041F84F0 0x00004CD0 *** Video: Format type - {f72a76a0-eb0a-11d0-ace4-0000c0cc16ba} 00:00:00.236 020 0x041F84F0 0x00004CD0 GetSample::ReceiveConnection() ** VFW_E_TYPE_NOT_ACCEPTED ** 00:00:00.236 001 0x041F84F0 0x00004CD0 GetSample::QueryAccept(video) MEDIATYPE_Video 00:00:00.236 001 0x041F84F0 0x00004CD0 *** Video: Subtype rejected - 'IMC3' {33434d49-0000-0010-8000-00aa00389b71} 00:00:00.236 001 0x041F84F0 0x00004CD0 *** Video: Format type - {f72a76a0-eb0a-11d0-ace4-0000c0cc16ba} 00:00:00.236 020 0x041F84F0 0x00004CD0 GetSample::ReceiveConnection() ** VFW_E_TYPE_NOT_ACCEPTED ** 00:00:00.236 001 0x041F84F0 0x00004CD0 GetSample::QueryAccept(video) MEDIATYPE_Video 00:00:00.236 001 0x041F84F0 0x00004CD0 *** Video: Subtype rejected - 'IMC3' {33434d49-0000-0010-8000-00aa00389b71} 00:00:00.236 001 0x041F84F0 0x00004CD0 *** Video: Format type - {f72a76a0-eb0a-11d0-ace4-0000c0cc16ba} 00:00:00.236 020 0x041F84F0 0x00004CD0 GetSample::ReceiveConnection() ** VFW_E_TYPE_NOT_ACCEPTED ** 00:00:00.236 001 0x041F84F0 0x00004CD0 GetSample::QueryAccept(video) MEDIATYPE_Video 00:00:00.236 001 0x041F84F0 0x00004CD0 *** Video: Subtype rejected - 'S340' {30343353-0000-0010-8000-00aa00389b71} 00:00:00.236 001 0x041F84F0 0x00004CD0 *** Video: Format type - {f72a76a0-eb0a-11d0-ace4-0000c0cc16ba} 00:00:00.236 020 0x041F84F0 0x00004CD0 GetSample::ReceiveConnection() ** VFW_E_TYPE_NOT_ACCEPTED ** 00:00:00.236 001 0x041F84F0 0x00004CD0 GetSample::QueryAccept(video) MEDIATYPE_Video 00:00:00.236 001 0x041F84F0 0x00004CD0 *** Video: Subtype rejected - 'S340' {30343353-0000-0010-8000-00aa00389b71} 00:00:00.236 001 0x041F84F0 0x00004CD0 *** Video: Format type - {f72a76a0-eb0a-11d0-ace4-0000c0cc16ba} 00:00:00.236 020 0x041F84F0 0x00004CD0 GetSample::ReceiveConnection() ** VFW_E_TYPE_NOT_ACCEPTED ** 00:00:00.236 001 0x041F84F0 0x00004CD0 GetSample::QueryAccept(video) MEDIATYPE_Video 00:00:00.236 001 0x041F84F0 0x00004CD0 *** Video: Subtype rejected - 'NV24' {3432564e-0000-0010-8000-00aa00389b71} 00:00:00.236 001 0x041F84F0 0x00004CD0 *** Video: Format type - {f72a76a0-eb0a-11d0-ace4-0000c0cc16ba} 00:00:00.236 020 0x041F84F0 0x00004CD0 GetSample::ReceiveConnection() ** VFW_E_TYPE_NOT_ACCEPTED ** 00:00:00.236 001 0x041F84F0 0x00004CD0 GetSample::QueryAccept(video) MEDIATYPE_Video 00:00:00.236 001 0x041F84F0 0x00004CD0 *** Video: Subtype rejected - 'NV24' {3432564e-0000-0010-8000-00aa00389b71} 00:00:00.236 001 0x041F84F0 0x00004CD0 *** Video: Format type - {f72a76a0-eb0a-11d0-ace4-0000c0cc16ba} 00:00:00.236 020 0x041F84F0 0x00004CD0 GetSample::ReceiveConnection() ** VFW_E_TYPE_NOT_ACCEPTED ** 00:00:00.257 001 0x041F84F0 0x00004CD0 GetSample::QueryAccept(video) MEDIATYPE_Video 00:00:00.257 001 0x041F84F0 0x00004CD0 *** Video: Subtype rejected - '420O' {4f303234-0000-0010-8000-00aa00389b71} 00:00:00.257 001 0x041F84F0 0x00004CD0 *** Video: Format type - {f72a76a0-eb0a-11d0-ace4-0000c0cc16ba} 00:00:00.257 020 0x041F84F0 0x00004CD0 GetSample::ReceiveConnection() ** VFW_E_TYPE_NOT_ACCEPTED ** 00:00:00.257 001 0x041F84F0 0x00004CD0 GetSample::QueryAccept(video) MEDIATYPE_Video 00:00:00.257 001 0x041F84F0 0x00004CD0 *** Video: Subtype rejected - '420O' {4f303234-0000-0010-8000-00aa00389b71} 00:00:00.257 001 0x041F84F0 0x00004CD0 *** Video: Format type - {f72a76a0-eb0a-11d0-ace4-0000c0cc16ba} 00:00:00.257 020 0x041F84F0 0x00004CD0 GetSample::ReceiveConnection() ** VFW_E_TYPE_NOT_ACCEPTED ** 00:00:00.363 020 0x041F84F0 0x00004CD0 GetSample::ConnectedTo() ** VFW_E_NOT_CONNECTED ** 00:00:00.363 001 0x041F84F0 0x00004CD0 GetSample::QueryAccept(video) MEDIATYPE_Audio 00:00:00.363 001 0x041F84F0 0x00004CD0 *** Audio: Subtype - {53544441-0000-0010-8000-00aa00389b71} 00:00:00.363 001 0x041F84F0 0x00004CD0 *** Audio: Format type - {05589f81-c356-11ce-bf01-00aa0055595a} 00:00:00.363 020 0x041F84F0 0x00004CD0 GetSample::ReceiveConnection() ** VFW_E_TYPE_NOT_ACCEPTED ** 00:00:00.363 001 0x041F84F0 0x00004CD0 GetSample::QueryAccept(video) MEDIATYPE_Audio 00:00:00.363 001 0x041F84F0 0x00004CD0 *** Audio: Subtype - {000000ff-0000-0010-8000-00aa00389b71} 00:00:00.363 001 0x041F84F0 0x00004CD0 *** Audio: Format type - {05589f81-c356-11ce-bf01-00aa0055595a} 00:00:00.363 020 0x041F84F0 0x00004CD0 GetSample::ReceiveConnection() ** VFW_E_TYPE_NOT_ACCEPTED ** 00:00:00.363 001 0x041F84F0 0x00004CD0 GetSample::QueryAccept(video) MEDIATYPE_Audio 00:00:00.363 001 0x041F84F0 0x00004CD0 *** Audio: Subtype - {afbc2343-3dcb-4047-9655-e1e62a61b1c5} 00:00:00.363 001 0x041F84F0 0x00004CD0 *** Audio: Format type - {35189950-cac9-4c8d-819d-b6faee15dd9d} 00:00:00.363 020 0x041F84F0 0x00004CD0 GetSample::ReceiveConnection() ** VFW_E_TYPE_NOT_ACCEPTED ** 00:00:00.392 020 0x041F84F0 0x00004CD0 GetSample::ConnectedTo() ** VFW_E_NOT_CONNECTED ** 00:00:00.392 001 0x041F84F0 0x00004CD0 GetSample::QueryAccept(video) MEDIATYPE_Audio 00:00:00.392 001 0x041F84F0 0x00004CD0 *** Audio: Subtype - {00000092-0000-0010-8000-00aa00389b71} 00:00:00.392 001 0x041F84F0 0x00004CD0 *** Audio: Format type - {05589f81-c356-11ce-bf01-00aa0055595a} 00:00:00.392 020 0x041F84F0 0x00004CD0 GetSample::ReceiveConnection() ** VFW_E_TYPE_NOT_ACCEPTED ** 00:00:00.392 001 0x041F84F0 0x00004CD0 GetSample::QueryAccept(video) MEDIATYPE_Audio 00:00:00.392 001 0x041F84F0 0x00004CD0 *** Audio: Subtype - {00000003-0000-0010-8000-00aa00389b71} 00:00:00.392 001 0x041F84F0 0x00004CD0 *** Audio: Format type - {05589f81-c356-11ce-bf01-00aa0055595a} 00:00:00.392 020 0x041F84F0 0x00004CD0 GetSample::ReceiveConnection() ** VFW_E_TYPE_NOT_ACCEPTED ** 00:00:00.392 001 0x041F84F0 0x00004CD0 GetSample::QueryAccept(video) MEDIATYPE_Audio 00:00:00.392 001 0x041F84F0 0x00004CD0 *** Audio: Subtype - {00000001-0000-0010-8000-00aa00389b71} 00:00:00.392 001 0x041F84F0 0x00004CD0 *** Audio: Format type - {05589f81-c356-11ce-bf01-00aa0055595a} 00:00:00.392 020 0x041F84F0 0x00004CD0 GetSample::ReceiveConnection() ** VFW_E_TYPE_NOT_ACCEPTED ** 00:00:00.392 001 0x041F84F0 0x00004CD0 GetSample::QueryAccept(video) MEDIATYPE_Audio 00:00:00.392 001 0x041F84F0 0x00004CD0 *** Audio: Subtype - {00000003-0000-0010-8000-00aa00389b71} 00:00:00.392 001 0x041F84F0 0x00004CD0 *** Audio: Format type - {05589f81-c356-11ce-bf01-00aa0055595a} 00:00:00.392 020 0x041F84F0 0x00004CD0 GetSample::ReceiveConnection() ** VFW_E_TYPE_NOT_ACCEPTED ** 00:00:00.392 001 0x041F84F0 0x00004CD0 GetSample::QueryAccept(video) MEDIATYPE_Audio 00:00:00.392 001 0x041F84F0 0x00004CD0 *** Audio: Subtype - {00000001-0000-0010-8000-00aa00389b71} 00:00:00.392 001 0x041F84F0 0x00004CD0 *** Audio: Format type - {05589f81-c356-11ce-bf01-00aa0055595a} 00:00:00.392 020 0x041F84F0 0x00004CD0 GetSample::ReceiveConnection() ** VFW_E_TYPE_NOT_ACCEPTED ** 00:00:00.435 020 0x041F84F0 0x00004CD0 GetSample::ConnectedTo() ** VFW_E_NOT_CONNECTED ** 00:00:00.439 020 0x041F84F0 0x00004CD0 GetSample::ConnectedTo() ** VFW_E_NOT_CONNECTED ** 00:00:00.443 fff 0x00000000 Close video log 1. |
22nd September 2015, 18:51 | #8 | Link | |
Retried Guesser
Join Date: Jun 2012
Posts: 1,373
|
Quote:
Going with the assumption that it's a codec or DirectShow configuration issue (unless someone has a better idea), I'm gonna suggest getting K-Lite Codec Pack ('Mega' package) and running Codec Tweak Tool with the 'repair' option during the installation. I have never seen it do bad things to anyone's system, but I have seen it fix many people's codec issues. (I know 'codec pack' generally equals 'virus installer', but this one is different) |
|
23rd September 2015, 09:58 | #10 | Link |
Registered User
Join Date: May 2006
Posts: 3,997
|
DirectShowSource is a pain with Avisynth, more even so under Windows 10, it seems.
Try alternatives like FFmpegSource, or LSMASHSource, or index the file beforehand with DGindex for example, which will provide frame accurate seeking. |
|
|