Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to save files with WMVideo9 Encoder DMO filter?

27 views
Skip to first unread message

Olivier Antoine

unread,
Dec 9, 2004, 5:33:04 AM12/9/04
to
Hello,

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

Olivier Antoine

unread,
Dec 9, 2004, 5:35:06 AM12/9/04
to

enze

unread,
Dec 9, 2004, 7:39:34 AM12/9/04
to
Hi,
use the WMAsfWriter filter, this filter is a combination of:
Encoder,Muxer,FileWriter.
Also install the WMFormat sdk to be able to set,create WM profiles
programatically. (read the sdk doc about WMAsfWriter/Reader filter).

enze, www.mpegcode.com

"Olivier Antoine" <o.an...@discussions.microsoft.com> schrieb im
Newsbeitrag news:2A48A2B3-A80B-468C...@microsoft.com...

Olivier Antoine

unread,
Dec 9, 2004, 9:57:02 AM12/9/04
to
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

Iain

unread,
Dec 9, 2004, 12:37:00 PM12/9/04
to
On Thu, 9 Dec 2004 06:57:02 -0800, Olivier Antoine wrote:

> 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

0 new messages