[Live-devel] How to add the H.263 video stream to the server?

Chen Weisi pkumoonheart at 163.com
Thu Apr 21 01:54:30 PDT 2005


hi Ross Finlayson:
      Thank you very much for your suggestions on how to add H.263 video.
      In your letter, you wrote as follows:
> What you're forgetting here is the *data source* object(s).  You will need 
> to create a data source object that delivers discrete H.263 video 
> frames.  If your data is coming from a file, then you will need (i) a 
> "ByteStreamFileSource" (instead of a "MP3FileSource"), and (ii) a 
> "H263plusVideoStreamFramer" (this is a new class that you would need to write).

    I have worked on that for a few days. Here, my dada is just coming from a file,
"ByteStreamfilesouce" can be used directly .A can you tell me what is the use of
"H.263plusVideoStreamFramer" class which you want me to creat. I guess that 
this class is to demux the H.263 video data to frame and get the video frame which will 
be used in RTSP packeting. If I am wrong ,please let me know it. Thanks again.
   
    By the way, I know that Mplayer and VLC use livecom lib on rtsp part ,and 
it can work very well on the two players. The livecom lib becomes more and more popular. 
But mplayer has meet some patent problems , and VLC meets the same prolems 
recently. I am anxious to know is there any patent problems in  livecom lib? Thanks.


On Fri, 15 Apr 2005 21:33:28 -0700
Ross Finlayson <finlayson at live.com> wrote:

> 
> >   The code in testMP3Streamer.cpp can be presented here for reference
> 
> Yes, you can use this if you want to stream via multicast.  (If, instead, 
> you want to stream via unicast, then you would use 
> "testOnDemandRTSPServer.cpp" for reference.)
> 
> >   I have do the same things as the reference code
> > 
> >////////////////////////////////////////////////////////////////////////////////////////////////////////////
> >   1. creat a sink of H.263 video
> >   2. creat a mediaseesion o H.263
> >   3. add the seesion to the rtspserver
> > 
> >/////////////////////////////////////////////////////////////////////////////////////////////////////////////
> >
> >  But it doesn't work.
> 
> What you're forgetting here is the *data source* object(s).  You will need 
> to create a data source object that delivers discrete H.263 video 
> frames.  If your data is coming from a file, then you will need (i) a 
> "ByteStreamFileSource" (instead of a "MP3FileSource"), and (ii) a 
> "H263plusVideoStreamFramer" (this is a new class that you would need to write).
> 
> 
> 	Ross Finlayson
> 	LIVE.COM
> 	<http://www.live.com/>
> 
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live.com
> http://lists.live.com/mailman/listinfo/live-devel
> 



More information about the live-devel mailing list