PDA

View Full Version : combining parser and decoder in one dshow filter?


bob0r
16th January 2006, 23:08
So how about it, decoder and splitter in 1, is that possible?
(i asked this question in the middle of a flame war so it was over read)

I am planning on putting CoreAVCDecoder.ax with the x264 installer package(if thats okay with the developers ofcourse)

bob0r
20th January 2006, 21:01
Hmm good question, oh wait this was asked by me, bond has too much time on his hands.

Any CoreAVC developer or other expert can answer this question?

bond
20th January 2006, 21:05
actually i think i have never seen a dshow filter that was a combined file parser + decoder

therefore (and because of the various formats you would have to support) i doubt coreavc will ever have an inbuilt parser...

Dmitry Vergheles
22nd January 2006, 11:19
actually i think i have never seen a dshow filter that was a combined file parser + decoder

therefore (and because of the various formats you would have to support) i doubt coreavc will ever have an inbuilt parser...

In reality WindowsMedia technology uses Source+Splitter+Decorer as a whole object.
Though decoders are represented as separate DMO objects the WMP uses internal source that is being Source+Splitter+Decorer filter.

bond
22nd January 2006, 11:22
interesting thx :)

Dmitry Vergheles
22nd January 2006, 11:27
So how about it, decoder and splitter in 1, is that possible?
(i asked this question in the middle of a flame war so it was over read)

I am planning on putting CoreAVCDecoder.ax with the x264 installer package(if thats okay with the developers ofcourse)

Well, from programming point of view this it not a issue at all. But as far as I understand usually one aim at the reverse situation. In particular the power of DirectShow technology concludes in separate object (filters) using. Each one is charged with its own task. Source filters for the data delivering, splitters for the audio/video streams demuxing, decoders for the decoding etc.

But in spite of this sometimes it is simpier to implement some features in one filter. e.g. MPEG2 and DVD subpicture decoding.