[FFmpeg-devel] [PATCH 01/27] avcodec: add color_range to AVCodec struct and use it
Tobias Rapp
t.rapp at noa-archive.com
Mon Dec 11 16:15:03 EET 2017
On 11.12.2017 14:22, Paul B Mahol wrote:
> On 12/11/17, Hendrik Leppkes <h.leppkes at gmail.com> wrote:
>> On Mon, Dec 11, 2017 at 12:07 PM, Paul B Mahol <onemda at gmail.com> wrote:
>>>>
>>>> Fine, but it's inevitable that the encoder supports the J formats still
>>>> for a while.
>>>
>>>
>>> Why are you all dismissive about this?
>>
>>
>> Because we have an established way to remove things like this, and
>> that doesn't happen over night.
>> Its not ok for stuff to stop working without a replacement in place
>> for a sufficient time before that, so people can migrate.
>>
>> First, implement replacement and add visible deprecation messages -
>> and then wait the established deprecation period before actually
>> removing it.
>
> Bullshit, J formats are deprecated for ages.
ffmpeg -i input.avi -f avi -codec:v mjpeg -pix_fmt yuvj420p -y output.avi
Prints warning "deprecated pixel format".
ffmpeg -i input.avi -f avi -codec:v mjpeg -pix_fmt yuv420p -color_range
jpeg -y output.avi
Prints warning "incompatible pixel format" plus "deprecated pixel format".
Guess which command-line is currently implemented in my (and I assume
most other) scripts. I very much welcome your work on cleaning up this
mess, but please allow for some migration period.
Best regards,
Tobias
More information about the ffmpeg-devel
mailing list