1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-19 05:49:09 +02:00
Chema Gonzalez 984d0b6e6f pixdesc: add limited|full aliases for -color_range parameter
Aliases are also used in scale and zscale filters.

Tested:
```
$ ./ffmpeg -hide_banner -y -i ~/src/media/images/y4m/lena.490x490.y4m  -pix_fmt yuv420p -color_range unknown /tmp/unknown.y4m
...
$ md5sum /tmp/unknown.y4m
69aa7bf52bbd72444268a544c81d7643  /tmp/unknown.y4m

$ ./ffmpeg -hide_banner -y -i ~/src/media/images/y4m/lena.490x490.y4m  -pix_fmt yuv420p -color_range tv /tmp/tv.y4m
...
$ md5sum /tmp/tv.y4m
5c1c8759708ff6b25dd8a660da5200e7  /tmp/tv.y4m

$ ./ffmpeg -hide_banner -y -i ~/src/media/images/y4m/lena.490x490.y4m  -pix_fmt yuv420p -color_range pc /tmp/pc.y4m
...
$ md5sum /tmp/pc.y4m
1ccb85d14a3dfecb22e625711587ba97  /tmp/pc.y4m

$ ./ffmpeg -hide_banner -y -i ~/src/media/images/y4m/lena.490x490.y4m  -pix_fmt yuv420p -color_range limited /tmp/limited.y4m
...
$ md5sum /tmp/limited.y4m
5c1c8759708ff6b25dd8a660da5200e7  /tmp/limited.y4m

$ ./ffmpeg -hide_banner -y -i ~/src/media/images/y4m/lena.490x490.y4m  -pix_fmt yuv420p -color_range full /tmp/full.y4m
...
$ md5sum /tmp/full.y4m
1ccb85d14a3dfecb22e625711587ba97  /tmp/full.y4m
```

Also ran fate.
```
$ make fate -j
...
TEST    ffprobe_xsd
TEST    flv-add_keyframe_index
```
2023-09-23 15:58:14 +01:00
..
2023-03-01 21:59:10 +01:00
2019-02-11 10:13:31 +05:30
2018-01-06 18:31:37 +00:00
2018-01-06 18:31:37 +00:00
2018-01-06 18:31:37 +00:00
2022-06-13 22:42:55 +02:00
2023-09-02 21:32:37 +02:00
2023-03-01 21:59:10 +01:00
2018-01-06 18:31:37 +00:00
2018-01-06 18:31:37 +00:00
2018-01-06 18:31:37 +00:00
2018-01-06 18:31:37 +00:00
2018-01-06 18:31:37 +00:00
2018-01-06 18:31:37 +00:00
2018-01-06 18:31:37 +00:00
2018-01-06 18:31:37 +00:00
2019-02-10 16:46:56 +01:00
2020-09-08 14:29:19 +02:00
2021-06-18 18:58:25 +02:00