ffmpegwasm / ffmpegwasm/ffmpeg.wasm

libx265 no use

Open
#898 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
C
Stars
17.8k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

When converting an image sequence to video using H265, the process gets blocked and fails to generate the video. This issue does not occur with H264 (i.e., H264 works properly).

`let filter_string = `[0:v]format=pix_fmts=rgba,split[alpha][normal];[alpha]alphaextract,pad=${this.imageWidth * 2}[alpha2];[alpha2][normal]overlay=x=${this.imageWidth}`;

await this.ffmpeg?.exec([
'-r', fps.toString(),
'-i', 'out/frame_%03d.png',
'-hide_banner',
'-c:v', 'libx265',
'-tag:v','hvc1',
'-b:v', `${bitrate}k`,
'-filter_complex', filter_string,
'-y', 'out/output.mp4'
]);`

Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.