Yes I can run MJPEG alone or MPEG4 alone but not one after the other.
I found one source of hanging. Setting the MPEG4 instance to CBR with
bitrate results in the MJPEG hanging. Pretty wierd (although this is
obviously not a valid MPEG4 configuration).
But the problem remains that if I run the
Actually, I let the program hang around a little longer and it does in fact
still do MJPEG encodes - except that one encode takes 26 seconds! CE_DEBUG=3
does not provide any print-out at all, and I've made sure I have plenty of
CMEM buffer pools.
-- Pete
On Fri, Oct 24, 2008 at 12:34 AM, Peter
Setting CE_DEBUG=2 (or 3) will provide more details. Turning on trace is the
right way to start.
CMEM provides memory for the algorithm - there are some CMEM-related debugging
techniques documented here:
http://wiki.davincidsp.com/index.php?title=CMEM_Overview
Chris
I don't think I've ever seen a CMEM allocation problem hang a codec
before. Unless of course you feed the encoder with a bad address - but
that is sort of self inflicted pain ;)
I assume that either one of the codec's run individually - but it's the
combination that hangs?
Steve
Ring,
I have done something pretty similar. I am currently encoding the video
using MPEG4 and on command snapping a JPEG still. Not quite MJPEG but on the
frames that I am snapping the JPEG still it is executing both algorithms on
the same frame.
As previously stated, if you have one of the buffers