ffmpegwasm / ffmpeg.wasm

FFmpeg for browser, powered by WebAssembly
https://ffmpegwasm.netlify.app
MIT License
14.22k stars 831 forks source link

Draft: libxml2 support possible? #571

Closed whplh closed 12 months ago

whplh commented 1 year ago

Hi! I created this PR to get some feedback, because I got stuck for now. I was wondering if libxml2 support is possible and went ahead and tried it.

My goal is to use ffmpeg with mpds like:

    const videoURL = "http://localhost:5173/public/test.mpd";
    await ffmpeg.exec(["-i", videoURL, "output.mp4"]);

But using the transcode example for the react app. This process starts, but never returns, even when setting a timeout the process gets stuck and the messageRef is libpostproc 56. 6.100 / 56. 6.100

This branch contains my setup. If you think lixml2 is worth adding I need some help. Otherwise just decline it. I already tried many different options & configurations. Not included here.

Cheers, Philipp

netlify[bot] commented 1 year ago

Deploy Preview for ffmpegwasm canceled.

Name Link
Latest commit cd4bb90ef44135f068d54e45cb6d8450a4f735f4
Latest deploy log https://app.netlify.com/sites/ffmpegwasm/deploys/64f72df487ee19000816b893