Welcome to Dream.In.Code
Getting C++ Help is Easy!

Join 132,624 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 1,056 people online right now. Registration is fast and FREE... Join Now!




MPEG decoder open-source library

 
Reply to this topicStart new topic

MPEG decoder open-source library

katana55
post 6 Jul, 2006 - 03:53 PM
Post #1


New D.I.C Head

*
Joined: 6 Jul, 2006
Posts: 1


My Contributions


Hi!

I am writing a project about scene detection in a MPEG file, and currently I need a open-source library that decodes MPEG file.

I need it since I want to do the detection without decompressing the whole movie, but by using only partial information, such as the DCT coefficents of I-frames and motion vectors.

That's why I need a library so that I can change the code for my needs.

Thanks in advance.
User is offlineProfile CardPM

Go to the top of the page

1lacca
post 10 Jul, 2006 - 02:20 AM
Post #2


code.rascal

Group Icon
Joined: 11 Aug, 2005
Posts: 3,822



Thanked 11 times
My Contributions


libmpeg2 is a free library for decoding mpeg-2 and mpeg-1 video streams. Its main goals are:

* Conformance - libmpeg2 can decode all mpeg streams that
conform to certain restrictions: "constrained parameters" for
mpeg-1, and "main profile" for mpeg-2.
* Speed - With typical video streams as found on DVD's, and doing
only decoding with no display, you should get about 110 fps on a
PIII/666, or 150 fps on an Athlon/950. This is less than 20
cycles per output pixel.
* Portability - most of the code is in C; even platform-specific
optimizations we always have a generic C routine to fall back
on. This should be portable to all architectures.
* Reuseability - we do not want libmpeg2 to include any
project-specific code, but it should still include enough
features to be used by very diverse projects.
User is offlineProfile CardPM

Go to the top of the page

costale
post 5 Sep, 2007 - 07:42 AM
Post #3


New D.I.C Head

*
Joined: 5 Sep, 2007
Posts: 1


My Contributions


QUOTE(1lacca @ 10 Jul, 2006 - 03:20 AM) *

libmpeg2 is a free library for decoding mpeg-2 and mpeg-1 video streams. Its main goals are:

* Conformance - libmpeg2 can decode all mpeg streams that
conform to certain restrictions: "constrained parameters" for
mpeg-1, and "main profile" for mpeg-2.
* Speed - With typical video streams as found on DVD's, and doing
only decoding with no display, you should get about 110 fps on a
PIII/666, or 150 fps on an Athlon/950. This is less than 20
cycles per output pixel.
* Portability - most of the code is in C; even platform-specific
optimizations we always have a generic C routine to fall back
on. This should be portable to all architectures.
* Reuseability - we do not want libmpeg2 to include any
project-specific code, but it should still include enough
features to be used by very diverse projects.

nice. thank u biggrin.gif
User is offlineProfile CardPM

Go to the top of the page

1lacca
post 6 Sep, 2007 - 01:36 AM
Post #4


code.rascal

Group Icon
Joined: 11 Aug, 2005
Posts: 3,822



Thanked 11 times
My Contributions


You are welcome.
User is offlineProfile CardPM

Go to the top of the page

Bujin
post 1 Sep, 2008 - 02:48 AM
Post #5


New D.I.C Head

*
Joined: 1 Sep, 2008
Posts: 1

Hi 1Lacca and Katana55
Please Help me, i am doing my best(it is so difficult and complicated for me ) for grabbing Bitmaps from the frames in the MPEG2 files and save the bitmaps.(it is so difficult and complicated for me ).

i should do
1. to read MPEG2 file using Source filter i DirectShow
2. to split the image data and sound data using MPEG2 (Demultiplexer
3. to uncompress(Decode) the splitterred data
4. to get bitmap data during while rendering data for the output

is it correct way to perform my task?
i mean can i use DirectShow for my task?
how can i decode?
can i use libmpeg2 ?
i don`t know how? is it my first programming job.
please help me!!

i am waiting for your help
thank you
Bujin
User is offlineProfile CardPM

Go to the top of the page

Reply to this topicStart new topic
Time is now: 11/23/08 03:25AM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month