[Live-devel] streaming live MPEG4 with C code

Levente Kovacs lkovacs at xperts.hu
Wed Aug 30 02:12:49 PDT 2006


On Tue, 29 Aug 2006 07:37:16 -0700 (PDT)
JC <ori_yq at yahoo.com> wrote:

>   I am trying to stream from a MPEG4 encoder. I was able to save the MPEG4 stream into test.m4v file and stream it out via testOnDemandSever. Now, I want to stream directly from the encoder. First, I run into the problem that the encoder libraries are based on C code, while live media libraries are based on C++. In the C code, I get each frame through a callback function. My question is where should I start with in order to feed live encoded MPEG4 frames to the live media library so that it could stream the live video out. I am looking into the code right now. But I am new, any guidance would be great help for me. Thanks ahead!

It is more like programming, than LIVE related. I faced the same problem. What you have to do is to have your main program written in c++, and you can include C libraries into your c++ code. For more information, contact me off list.

Levente


More information about the live-devel mailing list