AcademySoftwareFoundation / AcademySoftwareFoundation/EncodingGuidelines

Perceptual difference between `scale` and `zscale` after the OCIO filter

Abierto Apto para principiantes
#120 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Dockerfile
Estrellas
55
Forks
8
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

When following the `FfmpegOcio.md` guidance to convert from RGB (OCIO filter output) to YCbCr using the `scale` filter, I noticed a perceptible difference from the EXR source. Swapping `scale` for `zscale` resolved it and much closer to the source in my testing.

**Example:**

```
ffmpeg -y -framerate 24 -start_number -i SOURCEFRAMES.%05d.exr \
-c:v prores_ks -profile:v 1 -pix_fmt yuv422p10le \
-vf "ocio=input=ACEScg:output=ACEScct:format=rgb48,zscale=matrix=709:primaries=709:primariesin=709:transfer=unspecified:transferin=unspecified:rangein=pc:range=limited" \
-movflags +faststart+write_colr -vendor apl0 OUTPUTFILE.mov
```

I don't have CLA clearance setup yet, so sharing my branch here instead: [`ffmpeg-ocio-zscale-command`](https://github.com/johnjoumaa/EncodingGuidelines/commit/0ca5457c3ad7a989aa77c7b59ffed3068f458940) on my fork, which adds a `zscale` note + alternate examples to `FfmpegOcio.md` alongside the existing `scale`-based ones. Happy to edit, have someone pick it up, or I can open the PR myself once CLA is sorted.

Let me know what your prefer,

Cheers!

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza con FfmpegOcio.md y compara sus indicaciones existentes basadas en scale con el commit vinculado ffmpeg-ocio-zscale-command. Confirma que la nota sobre zscale y los ejemplos alternativos reflejan correctamente la diferencia indicada, y considera completa la documentación cuando esas adiciones estén incorporadas y los ejemplos sigan siendo coherentes con las indicaciones existentes.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Área
documentation
Tipo de issue
Documentación
Dificultad
1/5
Tiempo estimado
1-3 horas
Estado de actividad
Activo
Claridad
Bien especificado
Aptitud para principiantes
68/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.