View Full Version : DirectShowSource error
PiPPoNe92
18th April 2010, 18:51
Hello, people. This is a magnificent forum. I found all my questions in it but I have a problem.
When I load a file .avs on VDM appear:
http://i41.tinypic.com/2v3lipv.png
Why?
My avs script:
DirectShowSource("VT-009.vob")
ConvertToYV12()
Lanczos4Resize(592,336)
AutoCrop(mode=0, wMultOf=16, hMultOf=16, samples=50)
Thanks for your answers. I hope you can resolve this problem.
Inspector.Gadget
18th April 2010, 19:08
Don't use DSS for DVD input. Use DGIndex and MPEG2Source().
PiPPoNe92
18th April 2010, 19:10
First of all thanks Inspector.Gadget.
Yes, i know. But...first I didn't have this problem, but now yes. Why?
Edit:
when I use DGIndex and MPEG2Source, the final file.avi isbad. The quality is worst than DirectShowSource. Is it possible??
In fact the final video has macroblocks different from when I use DirectShowSource.
Inspector.Gadget
18th April 2010, 19:59
when I use DGIndex and MPEG2Source, the final file.avi isbad. The quality is worst than DirectShowSource. Is it possible??
In fact the final video has macroblocks different from when I use DirectShowSource.
It is very unlikely that DGIndex is the source of the error. Post an unprocessed sample cut from the original VOB with DGSplit; ~100 MB should be fine.
IanB
18th April 2010, 23:07
A little Google-fu turns "Impossibile caricare il filtro di origine per il file" into Error 0x80040241L VFW_E_CANNOT_LOAD_SOURCE_FILTER "The source filter for this file could not be loaded."
Start looking here "Windows Media Player Invalid File Format Error Message (http://support.microsoft.com/default.aspx?scid=kb;en-us;234019&Product=wmp)", or perhaps Googling with your original text will lead you to a native language solution.
Usually this means something is broken with your Directshow codec's. It could even be a licence restriction, a few stupid codecs only run is approved applications.
Does the file play in Windows Media Player?
Does the file render in Graphedit?
___________________________
As for the blocking, Directshow components are usually optimised for media player use. This means providing optimal viewing not accurate decoding. This means including some de-blocking and de-ringing processing. There are good tunable de-blocking and de-ringing filters as part of Mpeg2Source, try configuring them. You preferable only want to de-block once in a viewing experience. If you are doing a 1 for 1 transcode to a better compression then maybe you can defer the de-blocking until playing the final result. If you are resizing then you have to de-block because the original blocks will no longer match the final codec's block pattern.
___________________________
Since Win2k and later it is possible to select a popup Message Box and press Control-C to copy the error text into the clipboard. It is a lot more helpful to paste the exact error text into your post. This means we can also copy and paste your error text as needed instead of having to manually transcribe it (with the inevitable transcription errors).
Also when posting scripts post the script that matches your error message. The error message here pointed at line 4, and from context it obviously applies to the DirectShowSource on line 1 of your post.
___________________________
Not all of us blessed with the ability to speak multiple languages. The official language of this forum is English, your English writing is excellent, so when posting other language information please also provide us with the English translation. Computer translations are getting better but still suck.
Blue_MiSfit
18th April 2010, 23:12
It's very nearly impossible that DGIndex is what's causing the quality issues you describe. If anything, DirectShow decoding appears to be causing something other than YV12 output, which would actually lower quality since that implies multiple color space conversions.
~MiSfit
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.