this post was submitted on 05 Jan 2025
4 points (83.3% liked)

Discord

705 readers
1 users here now

Discord is a voice, video, and text communication service to talk and hang out with your friends and communities.

Discord client

founded 2 years ago
MODERATORS
 

github repo for issue reporting. for the whole time I have me in the process of making this I have been typing AAC as ACC so I thought ffmpeg hated me.

I hope is is helpful for someone and where else should I post this info so it can be seen on search indexs.

Number list are being convert to a bullet point list on lemmy for for some reason.


Discord Embed Support

PC = Windows 11 / Arch Linux

  • Discord (Android and ~~Windows 11~~)
  • Vesktop (Arch) Mobile = Android 15 One UI 7

Audio playback support

tool: flac ffmpeg opusenc oggenc wavpack

I should test alac, DSD and DXD but I'm too lazy

  1. mka container isn't support
  2. flac 32 bit isn't support on mobile
  3. only signed 16 was tested
Codec Container PC Mobile Encoder notes
ACC m4a,~~mka~~ ✔¹ ✔¹ 256k
FLAC flac ✔² libflac 16, 24, and 32 bit depth tested
MP3 mp3 ffmpeg 320k
OPUS ogg,opus libopus --vbr
Vorbus ogg libvorbis --vbr
WAV wav ffmpeg look at chart below
wavpack³ wv wavpack

wav only

type bit depth PC Mobiel
float 32
float 64
signed 16
signed 24
signed 32
signed 64

Image preview support

tool: imagemagick

  1. I think imagemagick uses libheif for avif.
Codec PC Mobile Encoder
avif libheif¹
heif libheif
jpg libjpeg-turbo
jxl libjxl
png libpng
webp libwebp

Animation preview support

  1. During the draft it will be animated
  2. It was be displayed as a image (only see the first frame)
  3. .apng file extension will result in a embed without a preview
Codec PC Mobile Encoder
avif avifenc
gif
jxl cjxl
png³ ✘¹ ² ✘²
webp

Video playback support

tool:ffmpeg

  1. in draft you can see the first frame
  2. On my Arch install only the first frame will display. Audio working as intended (opus) mp4
  3. only wav signed 16 le was tested
  4. Video will play but no sound
  5. Need to figure out how to install ffmpeg-full
Container PC Mobile
mkv ✘¹
mov
mp4
webm
Codec PC Mobile Encoder
av1 libsvtav1
h264 libx264
h265 ✔² libx265
h266⁵
vp9 libvpx-vp9
Codec PC? Mobile Encoder
ACC
FLAC libflac
MP3 libmp3lame
OPUS libopus
Vorbus libvorbis
WAV³ ✘⁴ ffmpeg

License

CC BY-SA-4.0

all 2 comments
sorted by: hot top controversial new old