[FFmpeg-user] Setting colour range.

Paul B Mahol onemda at gmail.com
Tue Nov 27 17:21:27 EET 2018


On 11/27/18, Kieran O'Leary <kieran.oleary at irishfilm.ie> wrote:
> When creating MOV files, setting the -color_range option does not seem to
> have any effect. What am I doing wrong? Could it have anything to do with
> the removal of the yuvj pixel formats?
> Is setting this metadata even possible in the MOV container, or is it
> something that is expected to be flagged at the stream level? I was having
> difficulty finding info on where this info is even located in a file in
> both:
> https://developer.apple.com/library/archive/technotes/tn2162/_index.html and
> https://developer.apple.com/library/archive/documentation/QuickTime/QTFF/QTFFPreface/qtffPreface.html
>
> Worrying, if I set a value of jpeg, mpeg, or 0, ffprobe says that the file
> has TV range.
>
> How to replicate:
>
> $ ./ffmpeg -f lavfi -i testsrc  -color_range jpeg -c:v prores -t 1
> prores_jpeg.mov

That encoder incorrectly never changes color range.


More information about the ffmpeg-user mailing list