I am developing a Directshow based application where live video and audio
are captured with my Directshow compatible card and real-time encoded in a
Windows Media 9 wmv file.
Before to write any line of code, I am trying to build and validate the
capture-encoding-filesaving chain in the GraphEdit application.
I connected my capture filters to the WMVideo9 and WMAudio Encoder DMO
filters but now I need to mux their output into a wmv file... I tried to use
number of filters but cannot find the right one (i.e. the one whose pins
connections to WM9 DMO are accepted).
Can anybody help me?
Olivier
enze, www.mpegcode.com
"Olivier Antoine" <o.an...@discussions.microsoft.com> schrieb im
Newsbeitrag news:2A48A2B3-A80B-468C...@microsoft.com...
Olivier
> OK that works (I knew that will work with WMAsfWriter since I already used
> them), but what is the difference between WMAsfWriter and WMVideo9 Encoder
> DMO filters?
> i.e. What is the purpose of the WMVideo9 Encoder DMO filter then?
>
> Olivier
>
History is the reason (AFAIK).
If you want to plop WMV into non asf packets you can use the dmo filter
(for example you can write avi files which have WMV streams in).
I think things are the way they are because ASF Writer adn Reader were
written with the WM Format SDK which is how it does things.
Iain
--
Iain Downs (DirectShow MVP)
Software Product Consultant
www.idcl.co.uk