CapSwitchFilter
(1)
DirectShow
(1)
GraphEdit
(1)
SmartTee
(1)
Oprea
(1)
Oops
(1)
Riseoftheants
(1)
Windowless
(1)

Capture, Preview and wmv playback using windowless vmr9 picture in picture

Asked By Ian
03-Jul-08 05:10 AM
I have configured a vmr9 in windowless mode  with two inputs, one for
wmv playback and one for video capture preview using the smart Tee
filter The graph also writes captured video from a webcam with audio
to an ASF filewriter.

My goal is to playback the wmv file wjilst displaying the capture
preview within the playback area and at the same time capturing the
live video and audi to a asf file for later playback.

My Problem is that when I build the graph the wmv playback is very
slow. If I build the graph with 2 vmr9 renderers in windowed mode the
play back is fine.

Does anyone know if this is possible and if so please advise me on how
to go about it.

Ian

Capture, Preview and wmv playback using windowless vmr9 picture in picture

Asked By Chris P.
01-Jul-08 09:01 AM
Use 2 renderers.  When using a single renderer the presentation will be
held until there is a frame available on all active pins.  Also if there is
a difference in time stamps between the streams you will have problems
which may necessitate removing the timestamps from one stream.

--
http://www.chrisnet.net/code.htm
[MS MVP for DirectShow / MediaFoundation]

Hi,see our special capture engine, independent handle capture and preview

Asked By enz
01-Jul-08 09:36 AM
Hi,

see our special capture engine, independent handle capture and preview graph.
you can connect the capture preview to your render and the file preview also,

see www.mpegcode.com, download CapSwitchFilter, see attached pdf how to use,
easy to test within GraphEdit (wmv support by simple load the profile via
property page), free for uncommercial use,

enze

Capture, Preview and wmv playback using windowless vmr9 picture in picture

Asked By Alessandro Angeli
01-Jul-08 10:34 AM
From: "Chris P."


*If* the OP is connecting the preview output of the SmartTee
to the second input of the VMR9, he should be OK since the
preview pin strips the timestamps and the VMR9 will get its
timing from the first pin.


--
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// mvpnews at riseoftheants dot com
// http://www.riseoftheants.com/mmx/faq.htm
Capture, Preview and wmv playback using windowless vmr9 picture in picture
Asked By Chris P.
01-Jul-08 12:11 PM
Oops, overlooked that bit.

--
http://www.chrisnet.net/code.htm
[MS MVP for DirectShow / MediaFoundation]
Are you writing the output from the VMR to a file, or at some earlier point?
Asked By Dustin Opre
15-Sep-08 11:54 PM
Are you writing the output from the VMR to a file, or at some earlier point?
If the latter, how are you storing the information to a file in parallel from
the VMR? Have you written your own A/P?


Dustin Oprea
Post Question To EggHeadCafe