PDA

View Full Version : DirectShowSource distorted image


Lele-brz
13th October 2008, 09:42
Hi,
I'm using a avisynth script as input to x264.
I notice that when I have a source like 854x480 (width non multiple of 4) and I play it with Media Player Classic:
DirectShowSource("lebanon.mp4", fps=29.5, audio=false)
BicubicResize(480, 360, 0, 0.5)
ConvertToYV12()

The image is distorted, if I play directly with MPC I have no problem.
Tryin on another machine the avs works fine.

What should I check? On both I installed Cole 2k Media - Code Pack.

What dll or environment DirectShowSource uses? (to compare what's different)

Thanks a lot

Sagekilla
13th October 2008, 16:08
Where did you get the video file from?

Alex_ander
13th October 2008, 16:30
Before you recover the machine from codec pack problems, try DGAVCIndex/AVCSource() after demuxing in YAMB to raw .h264.
BTW, why that strange fps value?

Lele-brz
14th October 2008, 10:58
yes, the video is strage, both fps and res.
What I want to understand, since similar things already happened to me, what is the real dll loaded for demuxing, decoding?

And why sometime Media Player Classic can play a file but not the same file in a avs with DirectShowSource.