Deepak Shankar-TLS,Chennai. wrote:
Hello all,
I'm using the dm355-DVSDK, Montavista Linux and trying the demos -
encode and JPEG. All those are working very well when run as separate
processes.
However, Now I'm trying to build a custom application which can do a
MPEG or JPEG based on some external events.
Something like when the GPIO is high dump an MPEG file. When it is low
capture a jpeg image every 1 second.
The problem is I'm not able to use both the JPEG and the MPEG codecs
simultaneously. When the MPEG compression is in progress, a call to the
'IMGENC1_create(ce, encoderName, &encParams)' is failing. Is this a
inherent nature of MJCP. Should I have to deinit the MPEG resources when
I want to do a JPEG, or is there a better way to do that.
are the two codecs in the same server? if not, it cannot work. you will
have to unload one to load the other I think. Even if they are in the
same server, there could be system resources that cannot be shared, so a
gain they would not work in parallel.
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source