Skip to content

CONFIG_MIXED_LOSSLESS_ENCODE doesn't work #1443

@aom-bot

Description

@aom-bot

What version / commit were you testing with?

07a600d (main)

with -DCONFIG_MIXED_LOSSLESS_ENCODE=1

Problem

  1. Doesn't compile (easy fix)
  2. Crashes with a claimed mismatch against source on lossless segments.

avmenc bus_cif.y4m -o partial_lossless.obu --cpu-used=1 --aq-mode=1 --limit=3

Input: https://media.xiph.org/video/derf/y4m/bus_cif.y4m

Resulting output

baseline_gf_interval = 2
 Encoder Segmentation QPS =  237  237  237  237  237  237  237  237  
 Encoder lossless map =  0  0  0  0  0  0  0  0  
 Encoder Segmentation QPS =  237  237  237  237  237  237  237  237  
 Encoder lossless map =  0  0  0  0  0  0  0  0  
 Encoder Segmentation QPS =  237  0  0  0  0  0  0  0  
 Encoder lossless map =  0  1  1  1  1  1  1  1  
POC:     0 [ KEY ][Level:1][Q:237]:      78830 Bytes, 89517.9ms    [ -1, -1, -1, -1, -1, -1, -1,] 352x288
mismatch at [0, 16, 1]  [src/rec]: 124/128
mismatch at [0, 17, 1]  [src/rec]: 123/128
mismatch at [1, 16, 1]  [src/rec]: 125/128
mismatch at [1, 17, 1]  [src/rec]: 123/128
mismatch at [0, 18, 1]  [src/rec]: 125/128
...
<exits early>

Please use labels and text to provide additional information.

I need this to test lossless and post filters in dav2d. I believe @msarwar wrote the original code for this.

Any fixes to this or correcting my usage would be greatly appreciated. Thanks.

Note: This issue was migrated from GitLab. See original issue for discussion history.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions