[Live-devel] doGetNextFrame()

Julian Lamberty julian.lamberty at mytum.de
Fri Jun 8 04:09:47 PDT 2007


Hi!

I've added some stdout messages to MPEG4VideoStreamDiscreteFramer and I 
can see that there are many calls to doGetNextFrame() and 
afterGettingFrame1() even if my source did not deliver one frame:

MPEG4VideoStreamDiscreteFramer::doGetNextFrame() passed
MPEG4VideoStreamDiscreteFramer::afterGettingFrame1() frame size: 0
MPEG4VideoStreamDiscreteFramer::doGetNextFrame() passed
MPEG4VideoStreamDiscreteFramer::afterGettingFrame1() frame size: 0
MPEG4VideoStreamDiscreteFramer::doGetNextFrame() passed
MPEG4VideoStreamDiscreteFramer::afterGettingFrame1() frame size: 0
...(repeats ~50 times)

Decoded frame    1 [I, 138484 Bytes] in 11.76 ms
Encoded frame    1 [I,  23329 Bytes] in 10.41 ms

MPEG4VideoStreamDiscreteFramer::afterGettingFrame1() assuming complete 
picture
MPEG4VideoStreamDiscreteFramer::afterGettingFrame1() 
VISUAL_OBJECT_SEQUENCE_START_CODE
MPEG4VideoStreamDiscreteFramer::afterGettingFrame1() frame size: 23329
MultiFramedRTPSink::sendPacketIfNecessary() Packet sent
MultiFramedRTPSink::sendPacketIfNecessary() Packet sent
MultiFramedRTPSink::sendPacketIfNecessary() Packet sent
...(more packets sent)
MPEG4VideoStreamDiscreteFramer::doGetNextFrame() passed
MPEG4VideoStreamDiscreteFramer::afterGettingFrame1() assuming complete 
picture
MPEG4VideoStreamDiscreteFramer::afterGettingFrame1() 
VISUAL_OBJECT_SEQUENCE_START_CODE
MPEG4VideoStreamDiscreteFramer::afterGettingFrame1() frame size: 23329
MultiFramedRTPSink::sendPacketIfNecessary() Packet sent
MultiFramedRTPSink::sendPacketIfNecessary() Packet sent
MultiFramedRTPSink::sendPacketIfNecessary() Packet sent
...(more packets sent)

How do I tell the framer to wait for one frame until asking for the next?

Thanks
Julian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5198 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.live555.com/pipermail/live-devel/attachments/20070608/26671521/attachment-0001.bin 


More information about the live-devel mailing list