[FFmpeg-devel] [REQUEST] avcodec/scpr: revert d70276921348

James Almer jamrial at gmail.com
Wed Aug 21 00:13:49 EEST 2019


On 8/20/2019 3:32 PM, Michael Niedermayer wrote:
> On Tue, Aug 20, 2019 at 02:52:49PM -0300, James Almer wrote:
>> On 8/20/2019 2:46 PM, Michael Niedermayer wrote:
>>> On Tue, Aug 20, 2019 at 02:49:13PM +0200, Paul B Mahol wrote:
>>>> Hi,
>>>>
>>>> I kindly ask that following commit: d702769213487923c0fb0abe4b61f4d9ebddb88b
>>>> is reverted as it does contradicts with reference decoder.
>>>
>>> Noone is listed in MAINTAINERs for scpr.c
>>> the main author of scpr.c is you, so  i think you are the closest to a
>>> maintainer.
>>>
>>> So if after everyone who wants to comment has commented you still want this
>>> reverted. Then ill revert (or you can revert too)
>>> but personally i think that skiping duplicated frames has many advantages
>>> and its better to skip them
>>>
>>> Thanks
>>
>> I suggested on IRC to add an option somewhere (new AVCodecContext field?
>> ffmpeg cli option? Mapping it to AV_CODEC_FLAG2_FAST?) to tell crf
>> decoders to instead output vrf in situations like this.
> 
> IMHO never output known duplicate frames is best. But if people want to
> change this. A flag/field is the next best option.

> AV_CODEC_FLAG2_FAST does not solve this as the flag has a different
> meaning.

How so? The doxy says "Allow non spec compliant speedup tricks.".
Outputting vfr when cfr is the spec compliant behavior sure sounds like
it's a good fit for this feature.

A new flag/field would be needed
> 
> Thanks
> 
> [...]
> 
> 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
> 



More information about the ffmpeg-devel mailing list