C++/VB - starting and stopping a ASF Writer
Asked By Dave
13-Nov-09 05:12 PM
Hi,
I need to display live video from a video capture device and then be
able to selectively (at the push of a button) record sections of video
(to .wmv format files). I have created a graph which uses an 'Infinite
Tee' to split the video to a renderer and also to an instance of 'WM
ASF Writer'. This works OK.. However, having done this I cannot work
out how to stop and start the ASF Writer without stopping the whole
graph. Is it possible for me to stop and start the ASF Writer so that
I can record video sections whilst the live video is shown continually
by the renderer?.
Thanks for any help in advance,
Dave
Writer
(1)
Renderer
(1)
Sinks
(1)
Wrot
(1)
Wmv
(1)
Tsviatko Jongov replied to Dave
Hi,
You can change the ASF Writer Filter sinks, while the graph is
running. I guess it is be possible to remove all sinks.
Also, it is possible to use two separate graphs.
Regards,
Tsviatko Jongov
http://tsviatko.jongov.com
On 13 =EE=CF=C5=CD, 19:57, Dave <dave_m_mo...@post2me.freeserve.co.uk> wrot=
e:
Custom Asf Writer filter : NS_E_INVALID_DATA C++ / VB Hi, I am writing a custom ASF Writer renderer filter. My renderer filter is essentially a wrapper over the IWMWriter interface used to write ASF files. The reason for writing the filter and not using the WM ASF Writer filter is because i need more control of how my filter works. The profile is DirectX Video Discussions IFIleSinkFilter (1) IWMWriter (1) WMWriter (1) WriteSample (1) SetProfile (1) Folabi (1) Writer (1) Riseoftheants (1) Have you seen this - http: / / www.riseoftheants.com / mmx / faq.htm#wmvmuxsample I will have a look tonite and give you some feedback. Folabi keywords: Custom, Asf, Writer, filter, :, NS_E_INVALID_DATA description: Hi, I am writing a custom ASF Writer renderer filter. My renderer filter is essentially a wrapper over the IWMWriter interface used to
ASF Writer with no WriterSink C++ / VB I am trying to create an encoder graph with capture card as live sources, and create a WM ASF Writer as "encoder filter". I want to provide a preview / postview-only option, i.e. do not write to any file, therefore I remove all the writer sinks from the ASF Writer filter. But when trying to start the graph, it does not work. My question is, must the ASF Writer have at least 1 output writer sink in order to work? If it must be so, is there some kind of myself? Win32 DirectX Video Discussions WMASFWriter (1) WinSDK (1) DirectShow (1) PushSource (1) WriterSink (1) Writer (1) Riseoftheants (1) Profiles (1) From: "tfs" I think at least 1 sink is necessary
have a graph that looks like this Camera -> Smart Tee (preview) -> Preview Controller -> Preview Video Renderer Smart Tee (capture) -> Capture Controller -> Encoder -> H324 Dump | V | V Video Renderer <- Renderer Controller <- Decoder <- H324 Recv Ignore all the controllers, it doesn't do much. The correct frames coming into H324 Recv filter, and it also passes frames to the decoder. But Renderer Controller's receive() method wasn't invoked, so it means nothing was passed from decoder to Renderer Controller. 2) I also realized that as soon as Run() is invoked, an event EC_QUALITY_CHANGE I also test the application on fresh reboot. thanks! Win32 DirectX Video Discussions AgainCamera (1) Renderer (1) Encoder (1) Camera (1) Recv (1) Controllers (1) Correctness (1) Parsable (1) Sorry for i'll try to draw it again Camera -> Smart Tee (preview) -> Preview Controller -> Preview Video Renderer Smart Tee (capture) -> Capture Controller -> Encoder -> H324 Dump -> H324 Recv -> Decoder -> Renderer Controller -> Video Renderer keywords: What, effect, does, EC_QUALITY_CHANGE, give? description: Hi, I have a graph
About implementing Video Renderer C++ / VB Hi, I am an application developer on Windows Mobile (Win CE 5.0) platform. The video renderer on this platform is neither VMR 7 or VMR 9, I guess it is what most ppl call the "old" video renderer. I'm thinking of extending the functionality of this video renderer, perhaps to make it able to do upscaling and rotation when set to full screen. To accomplish this, does this means I need to implement a video renderer (base on C BaseRenderer), implement all the "essential" functions to make it work like MS Video Renderer, then implement those "extra" features I meantioned? Please point me to the right direction as I am very new to Video Renderer. thanks! Win32 DirectX Video Discussions IVideoWindow (1) BaseRenderer (1) DirectDraw (1) DirectShow (1) DDraw (1) Renderer (1) Windows (1) Ishida (1) The first thing I recommend is that you compile and