Hello all!

I sometimes see (short) videos successfully posted on lemmy, and the ActivityPub protocol should support posting audio, can you post mp3s?

If so, how? If not why?

PS. American friends, Get out and vote!

    • Valmond@lemmy.dbzer0.comOP
      link
      fedilink
      arrow-up
      1
      ·
      21 hours ago

      I have no idea where that would be, but I’ll be looking around (have a stomach bug ATM so my energy levels are too low to do anything important).

  • quediuspayu@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    14
    ·
    2 days ago

    I was complaining about the same last week. Want to post a picture or a a video? Everyone has a button for those. Want to post an audio clip? Get out of here ya freak! Go somewhere else and maybe come back with a link.

  • Skullgrid@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    2 days ago
    ![](www.linkto.com/yourfile.mp3)
    

    should let you comment an embedded mp3. If you want to share any link, you can post it as a post, I guess.

      • Björn@swg-empire.de
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        1
        ·
        24 hours ago

        But that’s the way to do it. That’s how all media on Lemmy works. You upload the media somewhere and then link to it. Then it’s up to the clients to interpret that.

        That most Lemmy servers integrate an upload service to host images and sometimes videos is just convenience and not necessarily part of the service. In the end the presentation is the same, a link to a file.

        So I guess you could make a feature request to Lemmy and maybe Piefed to allow uploading mp3 files. And for the default web client to present a player for that file.

        But as long as you have somewhere to upload your mp3 file to you should be able to post it right now.

  • tal@lemmy.today
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    2 days ago

    If you mean specifically as the target of a post, you can post a link to whatever you want (well, at least an http/https link…I don’t think that all protocols are supported, though I haven’t checked).

    However, I don’t believe that the img-rs instance that Lemmy instances normally run to allow hosting images will accept mp3s. So you’d have to upload it elsewhere (catbox.moe or something like that) that can accept mp3s and then link to it.

    checks

    At least on lemmy.today, yeah, it doesn’t accept it.

    The only format that I know that supports audio that img-rs will accept is WebM, and only if it has a video component.

    Combining an image and mp3 audio file into a WebM:

    $ ffmpeg -i denver-international-airport-blue-mustang-statue-blucifer-1600x1067.jpg -i 11325622-tr707-crash-cymbal-241376.mp3 11325622-tr707-crash-cymbal-241376.webm
    

    Yields (hosted on lemmy.today’s img-rs):

    The situation may be different for PieFed and for Mbin, and note that not all clients may be able to handle WebM, though the Lemmy Web UI is fine with it.

    • quediuspayu@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      2
      ·
      1 day ago

      That site appears to be down.

      Typing funkwhale instance list on duck duck go the first four pages are tutorials for how to self host and documentation, only one link to something with a list.

      • squirrel@cake.kobel.fyi
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        1 day ago

        That’s weird. All their stuff appears to be down. Mastodon, Git, Website, the main instance open.audio.

        FediDB list a couple instances though, if you want to try it.

        Edit: All their services are back up.