Click here to Skip to main content
13,056,229 members (70,875 online)
Rate this:
Please Sign up or sign in to vote.
I am creating the video player using directshow. And am using mp4 and avi containers. Am playing the video with predifined filters according to the containers. And i need to create the predefined filters according to the format of the video because the same container having different formats. EX: Avi Container having (DV, MPEG-4,..).
This is my predefined filters according to the container:
1.MP4[AVC format]

2.AVI[DV Format]

3.AVI[MPEG4-visual Format]

After or before creating the Source filter i need to know the format so that i can create the down stream filters according to that.

It will be very useful if anyone help me to get this.

Thanks & regards,
J.Surjith Kumar
Posted 18-Jun-13 0:58am
Updated 27-Jun-13 4:09am
The_Inventor 2-Jul-13 1:25am
I am presuming that the video player is your main goal, and the use of codecs secondary. (Yes or No)

All codec type lines like 1., needs to come after any A/V file type line like 2., 3.
J.Surjith Kumar 2-Jul-13 1:30am
How i can get the format of the video!?
The_Inventor 2-Jul-13 4:32am
You can create the down stream filters according to what you want. If you are going to use the input format the codec needs to be on the computers HDD, and it will play.

3.AVI[MPEG4-visual Format]
FileSource->AVIsplitter->FFDShowVideoDecoder /?

Also see above link.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170728.5 | Last Updated 27 Jun 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100