holzschu / a-Shell-commands

shell commands, pre-compiled to webAssembly, ready to use in a-Shell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

【lame】audio encode decode

suliveevil opened this issue · comments

Would you please add lame for a-Shell?

https://lame.sourceforge.io/
LAME is a high quality MPEG Audio Layer III (MP3) encoder licensed under the LGPL.

I agree, ffmpeg.wasm compiled with Lame MP3 support would be something great.

So, I tried compiling lame with webAssembly. It does compile but it does not run (it crashes, silently, between main(arg, argv) and lame_main(gf, args, argv).
@tydell, if I read you correctly, you don't want the lame binary, but the lame library, linked into ffmpeg for MP3 support?

@holzschu yes, i thought about library linked into ffmpeg for mp3 support

It also would like libmp3lame included in a-Shell, is there any progress on that please?

libmp3lame will be very useful. Because iOS doesn't have the ability to export mp3 itself. Most of the apps available are not free.

maybe https://github.com/ffmpegwasm/ffmpeg.wasm-core can be used. but I try run it with wasm ffmpeg-core.wasm, nothing output. maybe wasm have some special entry point?

So, ffmpeg is now native in a-Shell, which makes porting LAME simpler. I've added it to the TODO list.

So, ffmpeg is now native in a-Shell, which makes porting LAME simpler. I've added it to the TODO list.

Any update on the libmp3lame encoder? I really need to encode some mp3...