Kagami / ffmpeg.js

Port of FFmpeg with Emscripten
Other
3.3k stars 335 forks source link

Is H.265 support? #156

Open zy445566 opened 3 years ago

zy445566 commented 3 years ago

code:

const result = ffmpeg({
            MEMFS: [{name: "h265.mp4", data: h265buf}],
            arguments: [
            "-y","-vcodec","hevc","-i","h265.mp4","-acodec","copy","-vcodec","libx264", "h264.mp4"
            ],
        });

Error:

ffmpeg-mp4.js:18 Unknown decoder 'hevc'
fusionstream commented 2 years ago

Did you try "libx265"