|
|
|
date: Thu, 7 Aug 2008 00:46:58 -0700 (PDT),
group: microsoft.public.win32.programmer.directx.video
back
Re: mpeg-4 filter
On Aug 7, 5:21 pm, "Chris P." wrote:
> On Thu, 7 Aug 2008 00:46:58 -0700 (PDT), dudu.co...@gmail.com wrote:
> > I am looking for a free mpeg-4 DirectX filter which is capable of
> > getting the duration of a selected mpeg4 file.
>
> > the k-lite codec pack and ffd-show pack are capable of playing an
> > mpeg-4 file but don't give a correct answer for the IMediaSeeking-
> >>GetDuration().
>
> > I found that the 3ivx filter does the job, but it is not free...
>
> > Any help on getting such a free filter is highly appreciated.
>
> What is the file container format? AVI, MP4, MPEG-2 TS, MKV ...
>
> It is the parser that responds to the GetDuration() request, not the
> decoder.
>
> --http://www.chrisnet.net/code.htm
> [MS MVP for DirectShow / MediaFoundation]
What do you mean the parser? then what shall I do in order to solve
this?
How can I learn what is the container format?
Thanks
date: Sat, 9 Aug 2008 23:22:32 -0700 (PDT)
author: unknown
Re: mpeg-4 filter
On Sat, 9 Aug 2008 23:22:32 -0700 (PDT), dudu.cohen@gmail.com wrote:
> What do you mean the parser?
A parser filter, also known as a splitter filter, takes the original
container format and splits the streams into two or more streams on
separate output pins.
From "About DirectShow Filters" in the docs:
"A splitter filter splits an input stream into two or more outputs,
typically parsing the input stream along the way. For example, the AVI
Splitter parses a byte stream into separate video and audio streams."
> then what shall I do in order to solve
> this?
First, answer Chris' question about the container format.
Also, are you writing a commercial project or a free one?
> How can I learn what is the container format?
It's usually indicated by the extension on the original file (.avi, .mp4,
.mp2, etc.).
--
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
date: Sun, 10 Aug 2008 10:42:48 -0600
author: The March Hare [MVP] erland
|
|