[FFmpeg-trac] #11594(avcodec:closed): Hardcoding subtitles broken with libx265 since 20241205

FFmpeg trac at avcodec.org
Mon May 19 08:43:43 EEST 2025


#11594: Hardcoding subtitles broken with libx265 since 20241205
------------------------------------+-----------------------------------
             Reporter:  SubJunk     |                    Owner:  (none)
                 Type:  defect      |                   Status:  closed
             Priority:  normal      |                Component:  avcodec
              Version:  git-master  |               Resolution:  invalid
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-----------------------------------
Comment (by Gyan):

 Since x265 now supports alpha layer, it advertises yuva420p as a supported
 pixel format, and the overlay filter will select that automatically.

 So, when either input to overlay has alpha, add `format=yuv420p` after
 overlay when using libx265

 `-filter_complex [0:v][0:s:0]overlay,format=yuv420p`
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11594#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list