problem in conversion .avi to .mpg file

Hello all,
             I was able to transmitt video files with .mpg format  succesfully to the network, by using some utility of live streamming(www.live.com).
                    But, i want to capture live video from webcam and transmitt.
The problem is, Webcam is generating  ".avi" format so we need convert to MPEG format. Is there any source code for converting the ".avi" to ".mpg" format
which is suitable to live.
such that we can able to transmitt video frames dynamically(from streamer to
Reciever)..
please give suggestion...
--
Regards
Madhukar M
Software Engg
KOSMIC TECHNOLOGIES
Chennai.
LVL 3
Madhukar_MythriAsked:
Who is Participating?
 
da99rmdConnect With a Mentor Commented:
Dont think there is any existing program that does what you wnat in real time but you can write one your self.
You have to dig up a avi decoder and then a mpeg1/2 decoder and then make a program that uses these 2 to stream the data to the live streaming tool. But i unsecure that the preformance of you computer can stand decoding and encoding in real time.

avidecoder
http://avifile.sourceforge.net/

mpeg1/2 decoder
http://www.mpeg.org/MSSG/#source
ftp://ftp.mpegtv.com/pub/mpeg/mssg/mpeg2vidcodec_v12.tar.gz

/Rob
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.