[Live-devel] H.263+

Andrey Latin andrey.latin at gmail.com
Mon May 5 23:19:34 PDT 2008


Hi!
I am testing H263+ stream. I modified MediaServer for it.
Streaming working, but some time occur errors in stream.
I trying play file directly - file correct playing without errors.
And I found next: errors occur when switch banks. See StreamParser.cpp
 StreamParser::ensureValidBytes1(unsigned numBytesNeeded)
I playing with BANK_SIZE and found what with BANK_SIZE 50000
occur additional errors
[h263 @ 0x88cbeb0]H263 SAC not supported
[h263 @ 0x88cbeb0]header damaged
Error while decoding frame!
[h263 @ 0x88cbeb0]Error at MB: 0 0
[h263 @ 0x88cbeb0]concealing 374 DC, 374 AC, 374 MV errors
[h263 @ 0x88cbeb0]H263 SAC not supported
[h263 @ 0x88cbeb0]header damaged
Error while decoding frame!
[h263 @ 0x88cbeb0]H263 SAC not supported
[h263 @ 0x88cbeb0]header damaged
Error while decoding frame!
[h263 @ 0x88cbeb0]H263 SAC not supported
[h263 @ 0x88cbeb0]header damaged
Error while decoding frame!
[h263 @ 0x88cbeb0]H263 SAC not supported
[h263 @ 0x88cbeb0]header damaged
Error while decoding frame!
V:  12.8 452/452  1%  0%  0.0% 0 0
MPlayer interrupted by signal 11 in module: decode_video
But with BANK_SIZE 150000
some errors missing
[h263 @ 0x88cbeb0]H263 SAC not supported
[h263 @ 0x88cbeb0]header damaged
Error while decoding frame!
[h263 @ 0x88cbeb0]H263 SAC not supported
[h263 @ 0x88cbeb0]header damaged
Error while decoding frame!
[h263 @ 0x88cbeb0]H263 SAC not supported
[h263 @ 0x88cbeb0]header damaged
Error while decoding frame!
I looked function, But this module are correct.
I found, what error occur in H263plusVideoStreamParser::parse(u_int64_t &
currentDuration)
For correct it, I maked little modifications of function:
///////////////////////////////////////////////////////////////////////////////
// parse() ,  derived from H263Creator of MPEG4IP, h263.c
unsigned H263plusVideoStreamParser::parse(u_int64_t & currentDuration)
{
...
...
         //prevTrDifference = trDifference;
////////////////////////////
     // landy: move func here
      setParseState(); // Needed for the parsing process in StreamParser
///////////////////////////
      }
   } catch (int /*e*/) {
#ifdef DEBUG
      fprintf(stderr, "H263plusVideoStreamParser::parse() EXCEPTION (This is
normal behavior - *not* an error)\n");
#endif
      frameSize=0;
   }
// landy setParseState(); // Needed for the parsing process in StreamParser
   return frameSize;
}


All working now correct, without errors!

wbr, Andrey Latin
Elphel Team
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20080506/33e3ca82/attachment-0001.html>


More information about the live-devel mailing list