[FFmpeg-trac] #7965(avcodec:open): Support for HEVC with Alpha
FFmpeg
trac at avcodec.org
Thu Dec 26 19:22:32 EET 2024
#7965: Support for HEVC with Alpha
-------------------------------------+-----------------------------------
Reporter: leemartin | Owner: (none)
Type: enhancement | Status: open
Priority: wish | Component: avcodec
Version: git-master | Resolution:
Keywords: hevc | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-----------------------------------
Comment (by Igor):
Replying to [comment:19 James]:
> The file seems to have all the required parameter sets and alpha layer
slices, so the only thing it's missing is the hvc1 tag. Use {{{-tag:v
hvc1}}} for the output.
>
> You can also remove the custom alpha=1 x265-param as the library will
detect the pixel format you're passing to it has an alpha plane.
Appreciate your effort to look into the file, adding a tag indeed did the
trick!
So, for the folks, that are looking for a solution, here what I used:
{{{
ffmpeg -vcodec libvpx-vp9 -i input.webm -c:v libx265 -tag:v hvc1
output.mp4
}}}
Please mind that I compiled both `ffmpeg` and `x265` from the upstream.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7965#comment:20>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list