View Full Version : MPCVideoDec only outputs NV12 ?
Hi people,
Since 2 weeks or so i finally have a graphics board that can do DXVA, an Ati 5770.
So i thought, i can use MPC's video-decoder in DXVA mode in my graphs that i use to input H264/AVC video into avisynth. So i contstruct a graph, Halli media splitter into MPCvideodec. The script is simple, a Directshowsource with the graph as source.
But when i open this i get the message that the output-pin of the graph offers no supported color-format or plane (the message offers all supported formats form YV12 to RGB).
When i look in graphedit i see the output-pin of MPCvideodec offering NV12. And AVisynth doesnt work with that
How can i change this color-space in my graph, so i can still use MPCvideodec/DXVA in my graphs ?
Keiyakusha
9th May 2010, 14:59
Not sure about outputting only NV12, but DXVA is only for playback. You can't use it with avisynth. Decoder should be connected directly to EVR renderer on Vista/7 and VMR9 on XP otherwise it won't work.
Not sure about outputting only NV12, but DXVA is only for playback. You can't use it with avisynth. Decoder should be connected directly to EVR renderer on Vista/7 and VMR9 on XP otherwise it won't work.
Use ffdshow instead.
Thank you both.
I'm sorry to hear that only ffdshow might work. I've just installed Win7 64, and tried to install as few codecs or players as possible. And since mpc-ht doenst really need other codecs' that was my first choice, and why i hoped mpc's decoder would work. But i'll rethink the options available.
MPCVideoDec is basically a stripped down (read: inferior) version of ffdshow.
MPCVideoDec is basically a stripped down (read: inferior) version of ffdshow.
Yes i realised.
Anyway, i've set it up on my XP (dual boot) and i still cant get the DXVA input into avisynth working. I've made a graph with ffdshow's DXVA decoder and that outputs NV12 too (according to the overlay/OSD). ffdshows raw video filter doesnt want to connect. How can i get DXVA to work as input, i need any type color-space that AviSynth can use ?
You can't use DXVA in avisynth afaik.
Keiyakusha
9th May 2010, 16:49
Yes i realised.
Anyway, i've set it up on my XP (dual boot) and i still cant get the DXVA input into avisynth working. I've made a graph with ffdshow's DXVA decoder and that outputs NV12 too (according to the overlay/OSD). ffdshows raw video filter doesnt want to connect. How can i get DXVA to work as input, i need any type color-space that AviSynth can use ?
Sorry but I want to quote myself:
Not sure about outputting only NV12, but DXVA is only for playback. You can't use it with avisynth. Decoder should be connected directly to EVR renderer on Vista/7 and VMR9 on XP otherwise it won't work.
This is valid for any kind of DXVA, not only MPCVideoDec.
EDIT: If you want non-DXVA hardware decoding, you need CUDA-enabled NVIDIA card with VP2(or higher) decoding engine.
Too bad. But thx for clarifying :)
popper
15th July 2010, 08:25
"<Dark_Shikari> x264 now supports NV12 input. Do we care enough to add it to ffmpeg? , Is there any decoder that outputs NV12? "
Keiyakusha, so there's currently nothing easy open and available that directly outputs NV12 that could feed this latest x264 ? "not even the gpu decode stuff ?" what about any known cross platform working alpha/beta OpenCL codebase somewhere that could run on the CPU or ATI Gfx and other cards today ? perhaps a GSOC project of some sort at midterms ?
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.