microsoft.public.win32.programmer.directx.video
  Home FAQ Contact Sign in
microsoft.public.win32.programmer.directx.video only
 
Advanced search
December 2008
motuwethfrsasuw
1234567 49
891011121314 50
15161718192021 51
22232425262728 52
293031     1
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
microsoft ... directx.video Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  GetDVDTextStringAsUnicode - Reading DVD Titles         


Author: jameschi
Date: Dec 26, 2008 14:37

Hi,

I'm looking to use the GetDVDTextStringAsUnicode() method to read DVD Titles
and Chapters (described here
http://msdn.microsoft.com/en-us/library/ms788146(VS.85).aspx) and have had no
luck getting this to work.

Is this the preferred technique to iterate over and read chapter and title
strings? I can accomplish this with the AxWindowsMediaplayer object, but
can't seem to pull the same information with pure DirectShow calls.

Thanks
no comments
  Re: Network source filter         


Author: Tim Roberts
Date: Dec 26, 2008 12:35

Geraint Davies gdcl.co.uk> wrote:
>dev gmail.com> >wrote:
>>
>>I have buffers of size 1316bytes 800 in number.I read in to them in a
>>thread .
>>The buffers are dispatched out in FillBuffer call. Both read and
>>writes synched using semaphores.
>>
>>I tried the following:
>>1. output one buffer at once from read pool, 1 buffer of 1316 is
>>copied into IMediaSample in FillBuffer.
>>Result: Jerky play out
>
>Of course you could have lots of things wrong, but it is certainly
>likely that you would get jerky playback even if the network code was
>perfect if your timestamps are late on arrival at the renderers. You
>need to think about how you timestamp your data in the playback graph
>so that it is comfortably ahead of stream time. With a live source,
>you are likely to do this by calling the filter's StreamTime method
>and adding on 50-100ms for the first timestamp and then setting all ...
Show full article (1.13Kb)
no comments
  Re: Network source filter         


Author: Tim Roberts
Date: Dec 26, 2008 12:31

dev gmail.com> wrote:
Show full article (0.89Kb)
no comments
  Re: Time taken by the Avi Decompressor and colour space converter filter during pin connection         


Author: Tim Roberts
Date: Dec 26, 2008 12:26

mahantesh gmail.com> wrote:
>
>For YUY2 format my graph look like Push_source(web cam)-
>>AVI_decompressor->vmr9 and for RGB format Push_source-
>>Colour_space_converter->vmr9
>
>I think my push source is not pushing data fast,

Why? What makes you think that? What is the PROBLEM you are trying to
solve?
>and if I want to deliver the data fast what I must do.

What kind of web cam is this? Most web cams should have AVStream drivers,
where you don't use a push source filter.
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.
no comments
  Error Message : Marshaler restriction: Excessively long string.         


Author: micro_o
Date: Dec 25, 2008 22:50

I encounter the following error in my application sometimes.

Message: Marshaler restriction: Excessively long string.
StackTrace: at System.RuntimeType.CreateInstanceImpl(Boolean
publicOnly)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)

I think the error happens at about here in my code

CleanUp()
comtype = Type.GetTypeFromCLSID(Clsid.FilterGraph)
comobj = Activator.CreateInstance(comtype)
graphBuilder = CType(comobj, IGraphBuilder)
hr = graphBuilder.RenderFile(media, Nothing)

m_objMediaControl = CType(graphBuilder, IMediaControl)
m_objVideoWindow = CType(graphBuilder, IVideoWindow)
m_objVideoWindow.put_Owner(Me.Handle)
m_objVideoWindow.put_WindowStyle(1073741824 Or 33554432)
m_objVideoWindow.SetWindowPosition(Me.ClientRectangle.Left,
Me.ClientRectangle.Top, Me.ClientRectangle.Width,
Me.ClientRectangle.Height)
m_objMediaControl.Run()
Show full article (1.05Kb)
no comments
  Re: Custom DES effect property         


Author: rep_movsd
Date: Dec 24, 2008 23:00

How about creating a COM object that wraps the struct?
Just implement two methods in the wrapper, one to set the struct and
one to get it.
no comments
  DirectX11 Compute Shader Hardware Requirements         


Author: Sebastian
Date: Dec 24, 2008 11:23

Hi,

Not sure if this is the correct place but I need to ask a DirectX11
developer working on the API a quick question - In the documentation for the
HDR Compute Shader example program, this is said : "Until the real Direct3D
11 hardware comes along, the sample only runs on the software reference
device." - Does this mean only the latest GPUs can run the Compute Shader
programs or can my Nvidia 260GTX still run it? Even though it ony nativey
supports DirextX 10? Please let me know asap. I wish to create a GPU
raytracer using directX11 as soon as the API is fully released for my final
year project at university.

Thanks,

Sebastian
1 Comment
  IMediaSeeking wrapper for capture source         


Author: mtsay
Date: Dec 24, 2008 10:37

Greetings,

I'm working on a multimedia application that uses DirectShow Editing
Services ( DES ) as its underlying engine. I wanted to use capture sources as
sources in my timeline.

After some research on the newsgroup, it seems that the source filter needs
to implement IMediaSeeking for DES to be able to use it as a source, and most
video capture filters do not support this interface.

Essentially, I just need the source filter to support IMediaSeeking so I can
use it in DES so the filter can basically ignore all calls ( less relevant
book keeping ).

This appears to be a common problem so I was wondering if someone's already
developed some filter to do this?

If not, the current approach I've read was to create a source filter that
implements IMediaSeeking by inheriting CSource and have its output pin
inherit CSourceStream and CSourceSeeking. Other posts also mentioned using
another filter graph inside the filter and use sample grabber to extract the
frames. And I was wondering if this is the simplest method?

I've also read up on IMediaDet and I was wondering if I can simply use that
to wrap up the capture source and use it as a source in DES timeline?
Show full article (1.19Kb)
1 Comment
  how change render timeline DES (Decklink) ?         


Author:
Date: Sep 23, 2008 03:21

Hi, sorry with my english

I´m newbe development in directx (vb6), i´m trying to change render engine
for Timeline using DES. The Render in display window run ok, but when i try
to change render engito to decklink don´t work.

When I load XTL file to renderengine and get the filtergraph and inspect it,
the filter colletion show ¿DEXTER? filter and i don´t know how connect it
with decklink card.

Can I help me, please?

Thanks for all.

Bye, ad2.
no comments
  Can two connected filters operate on the same DirectDraw surface using Directx APIs.         


Author: Santosh
Date: Sep 22, 2008 05:35

Suppose FilterA takes control of allocator, Allocator allocates the
DirectDraw surfaces using Directx APIs
Output pin of Filter B connects with input pin of Filter A.
AFAIK Filter B will get the buffer address using
IMemAllocator::GetBuffer(). And hence
if filter B want to do any operation with the Surface, it has to read/
write to buffer memory which is either DMA or CPU operation.
But Can Filter B somehow use DirectX APIs to perform some operation on
the surface (i.e. memory pointed by IMemAllocator::GetBuffer(). )?
Since it will result in faster GPU operation.

That is in general, can two connected filters operate on the same
DirectDraw surface using Directx APIs.
3 Comments
1 2 3 4 5 6 7 8 9