Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-2934

omxh264enc cannot encode buffer with unaligned width

XMLWordPrintable

    • Renesas H3+KF, Renesas M3

      We use configurable gstreamer pipeline in waltham transmitter plugin (weston-ivi-plugin) to share surface to waltham-receiver. I was trying to send new Map (height=1488, width=1080) using waltham-transmitter plugin with omxh264enc but I received corrupted image.

      After debugging I found out that omxh264enc is not encoding the buffer with width which not aligned to multiple of 16.

      Reproduction steps:

      broken Image width(1080)

      gst-launch-1.0 -v videotestsrc ! videoconvert ! video/x-raw,format=I420,width=1080,height=1488 ! omxh264enc control-rate=2 ! queue ! h264parse ! omxh264dec ! waylandsink

       

      Proper image width(1088)

      gst-launch-1.0 -v videotestsrc ! videoconvert ! video/x-raw,format=I420,width=1088,height=1488 ! omxh264enc control-rate=2 ! queue ! h264parse ! omxh264dec ! waylandsink

      when using jpegenc works expected image can be seen

        # Subject Branch Project Status CR V

            harunobu.kurokawa Harunobu Kurokawa
            vkadasani Veeresh Kadasani
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: