User User name Password  
   
Thursday 25.9.2025 / 06:50
Search AfterDawn Forums:        In English   Suomeksi   På svenska
afterdawn.com > forums > archived forums > divx / xvid > using codecs
Show topics
 
Forums
Forums
Using codecs
  Jump to:
 
Posted Message
frarugi87
Newbie
_
11. May 2007 @ 08:38 _ Link to this message    Send private message to this user   
Hi all!
I have a "little" question: is there any tutorial to create programs which use codecs?

For example: i wanted to create a program to see some films. How can I use XviD to decode the film?

Ah, i use C++...

Thanks
celtic_d
AfterDawn Addict
_
13. May 2007 @ 19:33 _ Link to this message    Send private message to this user   
For playback generally you would use a directshow filter or directly interface with a decoder rather than using VfW codecs.

You might want to start by looking at say Media Player Classic's source code. You could also look at using xvidcore.dll directly, but then your player could only decode XviD video, plus you would need to write a demuxer to parse it. This could all be solved by using libavcodec/format.
frarugi87
Newbie
_
16. May 2007 @ 00:57 _ Link to this message    Send private message to this user   
Where can I find the Media Player Classic? And how can I compile it? In what programming language is it written?
Advertisement
_
__
 
_
celtic_d
AfterDawn Addict
_
16. May 2007 @ 01:32 _ Link to this message    Send private message to this user   
You could find it by searching, but http://sourceforge.net/projects/guliverkli/ although there are some newer developments going on elsewhere. To compile it you will need MSVC 2005. It is written in C++, although most of the libs it is based on (mod, tremor, etc.) are pure C.

You could also check out the directshow samples that used to be part of the DX SDK, then platform SDK, now Win SDK or whatever. Plenty of other source for various directshow based apps to.

Could also check out VLC, mplayer, ffplayer, osmo4, etc. which all make use of libavcodec/format for playback.
afterdawn.com > forums > archived forums > divx / xvid > using codecs
 

Digital video: AfterDawn.com | AfterDawn Forums
Music: MP3Lizard.com
Gaming: Blasteroids.com | Blasteroids Forums | Compare game prices
Software: Software downloads
Blogs: User profile pages
RSS feeds: AfterDawn.com News | Software updates | AfterDawn Forums
International: AfterDawn in Finnish | AfterDawn in Swedish | AfterDawn in Norwegian | download.fi
Navigate: Search | Site map
About us: About AfterDawn Ltd | Advertise on our sites | Rules, Restrictions, Legal disclaimer & Privacy policy
Contact us: Send feedback | Contact our media sales team
 
  © 1999-2025 by AfterDawn Ltd.

  IDG TechNetwork