Skip to content

Commit

Permalink
Add mp3 support and tailor build more (#2)
Browse files Browse the repository at this point in the history
* Add mp3 encoding with lame

* Changes necessary for tsx

* Remove ffprobe binary
  • Loading branch information
magnus-nomono authored Jun 18, 2024
1 parent 8b67ce9 commit 7de38d6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get update -y && \
sudo apt-get install -y libopus-dev yasm
sudo apt-get install -y libmp3lame-dev libopus-dev yasm
- name: Install ARM64 compiler
if: env.ARCH == 'arm64'
run: |
Expand Down
30 changes: 8 additions & 22 deletions common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ FFMPEG_CONFIGURE_FLAGS=(
# Reenable what we need
--enable-decoder=aac*
--enable-decoder=ac3
--enable-decoder=adpcm*
--enable-decoder=alac
--enable-decoder=als
--enable-decoder=ape
Expand Down Expand Up @@ -78,26 +79,7 @@ FFMPEG_CONFIGURE_FLAGS=(
--enable-demuxer=mpc
--enable-demuxer=mpc8
--enable-demuxer=ogg
--enable-demuxer=pcm_alaw
--enable-demuxer=pcm_f32be
--enable-demuxer=pcm_f32le
--enable-demuxer=pcm_f64be
--enable-demuxer=pcm_f64le
--enable-demuxer=pcm_mulaw
--enable-demuxer=pcm_s8
--enable-demuxer=pcm_s16be
--enable-demuxer=pcm_s16le
--enable-demuxer=pcm_s24be
--enable-demuxer=pcm_s24le
--enable-demuxer=pcm_s32be
--enable-demuxer=pcm_s32le
--enable-demuxer=pcm_u8
--enable-demuxer=pcm_u16be
--enable-demuxer=pcm_u16le
--enable-demuxer=pcm_u24be
--enable-demuxer=pcm_u24le
--enable-demuxer=pcm_u32be
--enable-demuxer=pcm_u32le
--enable-demuxer=pcm*
--enable-demuxer=rm
--enable-demuxer=shorten
--enable-demuxer=tak
Expand All @@ -107,23 +89,27 @@ FFMPEG_CONFIGURE_FLAGS=(
--enable-demuxer=xwma
--enable-encoder=flac
--enable-encoder=libopus
--enable-encoder=libmp3lame
--enable-encoder=pcm*
--enable-ffmpeg
--enable-ffprobe
--enable-filter=aformat
--enable-filter=anull
--enable-filter=aresample
--enable-filter=atrim
--enable-filter=channelmap
--enable-filter=channelsplit
--enable-filter=format
--enable-filter=null
--enable-filter=pan
--enable-filter=setpts
--enable-filter=trim
--enable-libmp3lame
--enable-libopus
--enable-muxer=mp3
--enable-muxer=ogg
--enable-muxer=opus
--enable-muxer=pcm*
--enable-muxer=wav
--enable-muxer=webm
--enable-parser=aac
--enable-parser=aac_latm
--enable-parser=ac3
Expand Down

0 comments on commit 7de38d6

Please sign in to comment.