[FFmpeg-trac] #10255(avcodec:new): prores_ks encoder on Mac with M2 creates flickering

FFmpeg trac at avcodec.org
Mon Mar 13 21:10:37 EET 2023


#10255: prores_ks encoder on Mac with M2 creates flickering
-------------------------------------+-----------------------------------
             Reporter:  jonnyburger  |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avcodec
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-----------------------------------
Description changed by jonnyburger:

Old description:

> Summary of the bug:
>
> On an M2 Mac, encoding an image sequence with -profile:v 4 (4444) and the
> pixel format yuva444p10le creates a flickering video.
>
> The issue was reproduced by two separated developers, but the bug does
> not happen on a M1 Mac. We suspect it has to do with the Apple Silicon
> Media Engine.
>
> FFmpeg version: N-110004-g1231003c3c (build from latest development
> commit)
>
> How to reproduce:
>
> Get the reproduction from https://streams.videolan.org/ffmpeg/incoming
> /prores-repro.zip
>
> Command
>
> {{{
> ffmpeg \
> -r 30 \
> -f image2 \
> -s 1280x720 \
> -start_number 0 \
> -i out/element-%03d.png \
> -vcodec prores_ks \
> -profile:v 4 \
> -pix_fmt yuva444p10le \
> -map_metadata -1 \
> -vendor apl0 \
> -metadata comment="Made with Remotion 3.3.75" \
> -y \
> out.mov
> }}}
>
> Patches should be submitted to the ffmpeg-devel mailing list and not this
> bug tracker.

New description:

 Summary of the bug:

 On an M2 Mac, encoding an image sequence with -profile:v 4 (4444) and the
 pixel format yuva444p10le creates a flickering video.

 The issue was reproduced by two separated developers, but the bug does not
 happen on a M1 Mac. We suspect it has to do with the Apple Silicon Media
 Engine.

 FFmpeg version: N-110004-g1231003c3c (build from latest development
 commit)

 How to reproduce:

 Get the reproduction from https://streams.videolan.org/ffmpeg/incoming
 /prores-repro.zip

 Command

 {{{
 ffmpeg \
 -r 30 \
 -f image2 \
 -s 1280x720 \
 -start_number 0 \
 -i out/element-%03d.png \
 -vcodec prores_ks \
 -profile:v 4 \
 -pix_fmt yuva444p10le \
 -map_metadata -1 \
 -vendor apl0 \
 -metadata comment="Made with Remotion 3.3.75" \
 -y \
 out.mov
 }}}

--
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10255#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list