[Live-devel] delay in sending MPEG4 frame using MPEG4VideoStreamDiscreteFramer

Ross Finlayson finlayson at live555.com
Tue Oct 4 23:59:03 PDT 2011


> I can successfully stream video one frame at a time as it is ready from my hardware encoder for H.264 and MJPEG but for MPEG4 it appears the video frames do not get sent out until some internal live555 buffer is full. When I use openRTSP client to receive MPEG4 video frames no matter what buffer size I set (-b), it always tells me that it received frames are larger than my buffer size.
> 
> I derived my class from MPEG4VideoStreamDiscreteFramer. 

Why not just use "MPEG4VideoStreamDiscreteFramer" as is?

Unfortunately, because your problem is with your own custom code, I probably can't help you here.  But what I suggest you do instead is write - to a file - a few seconds of MPEG-4 video from your encoder.  Send me a link to this file (or post the file itself if it's small), and I'll take a look at it, to check whether it's legal MPEG-4 video.


> For H.264 I had to implement currentNALUnitEndsAccessUnit()

Arghh - you're using an old version of our code.  That function is no longer required/used.  We don't support old versions of the code.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20111004/6b36e763/attachment.html>


More information about the live-devel mailing list