This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

JPEG2000 latency

Can I get latency around 10ms for encode to decode of a 1080P60 video using JPEG2000?

  • On what device?  Is this lossless using wavelets, or lossy?  For a lossless JPEG2K (wavelet based), I don't believe you're going to achieve a 60fps encode rate for 1920x1080 in real time on even a C6678.

    Best Regards,

    Chad

  • Chad, You tell me which device will work. Lossy is OK, bandwidth at 250Mbs is OK, I would like the destination display to appear perfect to the naked eye.

    What is achievible?

  • I'll ping someone who has better knowledge in the area.  I'd say that higher end H.264 would give you an appearance perfect to the naked eye.  It's used in surgical equipment today.  JPEG2K tends to be more in the military and used w/ lossless compression and they only get a few frames per second.

    The C6678 (8 C66x cores at 1.0 or 1.25GHz) is going to be the highest performance DSP currently available and w/o specific accelerators to target JPEG2K it's going to give you the best performance (I'm not aware of any of our devices w/ accelerators specifically targeting JPEG2K - we do have them targeting H.264.)  And as I mentioned this for JPEG2K lossless would be in the few frames per second range.

    I'm only moderately knowledgeable in this area, so I'll need to get someone in here that can talk to it better.

    Any details you can give about what you're trying to achieve?

    Best Regards,

    Chad

  • Thanks, H.264 is fine if it can meet the performance.

  • Hi Kim,

    Can you please provide more details on your end application? Is it video broadcasting or medical imaging or some other use case? Did you mean 250mbps (or 25mbps) for encoding? Also, did you need both encode and decode or encode-only? The more details you present on the use-case the better we'll be able to propose a solution.

    Like Chad mentioned we have Shannon (8 cores, each running @ 1.25 GHz). We could partition the encode on more than 1 chip (Quad or Octal Shannon cards) if necessary to achieve real time performance.

    Regards,

    Vivek

  • Vivek, One of the use cases is a medical application but it has other more general uses outside the healthcare industry.

    For the "perfect picture" BW is not an issue upto about 250Mbs, if i can get that picture in 35-50Mbps using H.264 that is good. I need to encode pass through a single switch (no latency) and then decode in about 10ms (encode and then decode in 10ms). This is for a 1080p60 stream. Is this possible? Which chips? and then what are the rough costs for these chips (list price is fine.)

    Thanks,

    Kim

  • Kim,

    Thanks for the details. From your description, I understand that end to end delay (decode+encode <10msec) and video quality are the two most important criteria to be met and there is flexibility in choosing video codec, bitrate etc.

    Current H.264 or JPEG2000 don't meet strict end to end delay requirements you are looking for. It is possible is to use AVC-Intra, divide 1080p image into multiple slices and let each core encode a slice. You'll need multiple chips to accomplish decode+encode in real time of 1080p60. The chip recommended is c6678. You can find more details including ordering/pricing info at http://www.ti.com/product/tms320c6678. AVCIntra codec is under development and there will be some engineering work required to adapt the codec to your use case needs. 

    Regards,

    Vivek