Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Membrane MP3 encoder based on Lame

License

NotificationsYou must be signed in to change notification settings

membraneframework/membrane_mp3_lame_plugin

Repository files navigation

Hex.pmCircleCI

The module contains element that encodes raw audio to MPEG-1 layer 3 format.

For now, only encoding audio with 2 channels, s32le format and 44100 sample rate is supported.

It is a part ofMembrane Multimedia Framework.

Installation

Add the following line to yourdeps inmix.exs. Then, runmix deps.get.

{:membrane_mp3_lame_plugin,"~> 0.18.3"}

This package depends on theLame encoder library library. The precompiled builds will be pulled and linked automatically. However, should there be any problems, consider installing it manually.

MacOS

brew install lame

Ubuntu

sudo apt-get install libmp3lame-dev

Arch, Manjaro

sudo pacman -S lame

Fedora

sudo dnf install lame-devel

Usage

You can find an example inexample.exs, where theMP3.Lame.Encoder elementwas used in a pipeline that redirects audio from default input to an MP3 file.

To run the example, you can use the following command:

iex example.exs

Copyright and License

Copyright 2020,Software Mansion

Software Mansion

Licensed under theApache License, Version 2.0

About

Membrane MP3 encoder based on Lame

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors19


[8]ページ先頭

©2009-2025 Movatter.jp