[Live-devel] The problem in MPEG4 rtsp server.

Chen Weisi pkumoonheart at 163.com
Tue Apr 26 01:47:04 PDT 2005


hi, experts
       I met a problem in MPEG4 stream server.
      The MPEG4 stream I used is coded by DIVX and I can play it by Mplayer very well.
      I use it as a source stream in my RTSP server, when the client connect, the server will shutdown with the 
 messages as following: 
   at the Server:
      "StreamParser internal error (149999+ 4 > 150000)"
   at the client
"	This stream is non-cacheable 
        Stream not seekable!
	Failed to get a SDP description from URL "rtsp://59.66.79.138:8554/sk1vga30": liveMedia0
"
    In StreamParser.cpp, we can found the message showed in server.
     if (fCurParserIndex + numBytesNeeded > BANK_SIZE) {
    // If this happens, it means that we have too much saved parser state.
    // To fix this, increase BANK_SIZE as appropriate.}
   

    I don't know what is the problem and I debuged this problem for a long time. :(
    In my test, all the streams which are code by XVID can  play well. That pullzed me a lot. 
    Ross, you can also do the same experiment and maybe you will meet the same problem.
  
    Does it means that BANK_SIZE is not big enough??? I changed the BANK_SIZE to 16000 and met the  same problems.
    Is there anybody can help me to find out the mistake in the code or some other places.



More information about the live-devel mailing list