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

Capturing HDV using DirectShow

73 views
Skip to first unread message

joedca18

unread,
Nov 19, 2008, 3:59:01 PM11/19/08
to
I am new to DirectShow and am trying to use GraphEdit to capture an MPEG-2
transport stream to disk. The camera I'm using is a Canon HV10 and the video
is HDV format.

I have been successful in previewing the video using the following filters.

Microsoft AV/C Tape Subunit Device (MPEG2TS out) --> MPEG-2 Demultiplexer
(video PID 0x0810) --> Elecard MPEG-2 Video Decoder --> Video Renderer

What I would like to do is to preview the video as it is being captured to
disk using a Smart or Infinite Tee. But first I'm trying to simply capture
the video to disk. I thought the following would work:

Microsoft AV/C Tape Subunit Device (MPEG2TS out) --> File Writer

However, I immediately receive the following error:

"The graph could not change state. No time stamp has been set for this
sample. (Return code: 0x80040249)"

All I want to do is capture the MPEG2 transport stream to disk for playback
at a later time.

Any help would be greatly appreciated.


The March Hare [MVP]

unread,
Nov 19, 2008, 5:00:35 PM11/19/08
to
On Wed, 19 Nov 2008 12:59:01 -0800, joedca18 wrote:

> All I want to do is capture the MPEG2 transport stream to disk for playback
> at a later time.
>
> Any help would be greatly appreciated.

The file writer expects to be connected to a mux upstream (as stated in the
docs).

You can use the Dump filter sample to dump the TS to disk. Minor
adjustments may be necessary. Note that there is an updated Dump sample on
my Downloads page that uses CBaseRenderer (see link below).

Also, the best place for dshow questions is:

microsoft.public.win32.programmer.directx.video

(see my Help page for more info)

--
Please read this before replying:
1. Dshow & posting help: http://tmhare.mvps.org/help.htm
2. Trim & respond inline (please don't top post or snip everything)
3. Benefit others: follow up if you are helped or you found a solution

0 new messages