PDA

View Full Version : x264 doesn't use ffdshow?


daimroc
23rd March 2009, 20:27
I use x264 in commando line (cmd), and I encode the avs script with the DirectShowSource() function. In this case, It would be used ffdshow to decode the video but I don't see the icon in the systray.

The avs script is:

DirectShowSource("video", audio = false)
Crop(0,136,0,-136)

I have configurated ffdshow to decode this kind of videos, in fact, when I open the video (the avs script) with media playe classic, I can see the icon in the tray.

I don't see what I can do wrong, because I always use x264 at the same way.

Also, I would like to know what decoder It has been used really.



Thanks.
Daimroc.


P.D: well, I see the error. My last videos was mpeg2 and now I have an VC1 video, and ffdshow is configurated to use wm9.

is it better to use WM9 or libavcdec to use ffdshow?

LoRd_MuldeR
23rd March 2009, 21:36
x264 doesn't choose the decoder! It simply receives the uncompressed video data from Avisynth.

Since you are using DirectShowSource() in Avisynth, the DirectShow Framework will choose the decoder/splitter. This can be any suitable filter installed on your system!

If there are several DirectShow filters installed which could handle the input file, then DirectShow will choose the preferred filter based on its "Merit" value.

This may not be the same filter that MediaPlayerClassic chooses, because MediaPlayerClassic has got its own filter management code...

Inspector.Gadget
23rd March 2009, 22:18
is it better to use WM9 or libavcdec to use ffdshow?

For VC-1, do neither; allow Avisynth to use the normal Windows Media Directshow object that comes with Windows. If you're doing ffdshow prefiltering you can always apply it to the raw video, but you might as well use the reference decoder for VC-1 decoding.