Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-11433

CPU is hitting 100% when using gst-launch for both encode and decode using appsink, appsrc

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: High High
    • Processor SDK - Jacinto
    • ADASVISION-5726
    • PROCESSOR_SDK_08.04.00
    • PROCESSOR_SDK_10.00.00
    • j721s2-evm

      SDK: J721S2 8.4 (Wave5)

      CPU is hitting 100% when checked using the 'top' command for single and multi-instance encode and decode.

      I have made some analysis and found out the issue is not with the codec but with src and sink.
      I am attaching the excel sheet which has experimentation results.
      [^A72 Codec utilisation- j721s2.xlsx]

      Both fakesink and filesink are using buffer copy, so the cpu load is increasing. With fakevideosink, which doesn't use any copy, cpu utilisation is always less than 10 %.

      But with appsink, appsrc how to improve the load?

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: