Do I have to convert my mp3 file to mp4 by adding blackout video track using handbrake ?

    • interdimensionalmeme@lemmy.mlOP
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      3 months ago

      Ok, I tried

      This created a file too big

      ffmpeg -i "Somebody I Vacuum to Decay.mp3" -c:a copy -f mp4 "Somebody I Vacuum to Decay.mp4"

      This recompress to 64kbit, but still a few byte over the limit

      ffmpeg -i "Somebody I Vacuum to Decay.mp3" -c:a aac -b:a 64k -f mp4 "Somebody I Vacuum to Decay.64kbit.mp4"

      This was under the limit, but when uploaded, the file disappeared with no error message

      ffmpeg -i "Somebody I Vacuum to Decay.mp3" -c:a aac -b:a 56k -f mp4 "Somebody I Vacuum to Decay.56kbit.mp4"

      I tried copy to mp4 but trunkate a 30seconds, same behaviour as 56kbit file, despite being under 500k

      ffmpeg -i "Somebody I Vacuum to Decay.mp3" -t 30 -c:v copy "Somebody I Vacuum to Decay.30secs.mp4"

      I tried adding an image, but this just created a 1 second file with no image

      ffmpeg -i "Somebody I Vacuum to Decay.mp3" -i "image(62)-2.png" -c:a aac -b:a 64k -c:v libx264 -shortest "Somebody I Vacuum to Decay.56kbit.withpic.mp4"

      This next one loops the image file, now it created the full song with an image in the video channel. Unfortunately the video track now weights about 3 megabytes, so way over

      ffmpeg -loop 1 -i "image(62)-2.png" -i "Somebody I Vacuum to Decay.mp3" -c:a aac -b:a 64k -c:v libx264 -shortest -vf "scale=1280:720" "Somebody I Vacuum to Decay.56kbit.withpic.mp4"

      This next one created a 2.4mbps file, the image is now awful quality

      ffmpeg -loop 1 -i "image(62)-2.png" -i "Somebody I Vacuum to Decay.mp3" -c:a aac -b:a 64k -c:v libx264 -b:v 100k -vf "scale=320:320" -shortest "Somebody I Vacuum to Decay.56kbit.withpic.mp4"

      This reduces video bandwidth to 10kbps, image is incomprehensible and the file is still 1.3 megabytes (400k for the video stream)

      ffmpeg -loop 1 -i "image(62)-2.png" -i "Somebody I Vacuum to Decay.mp3" -c:a aac -b:a 64k -c:v libx264 -b:v 10k -vf "scale=320:320" -shortest "Somebody I Vacuum to Decay.56kbit.withpic.mp4"

      Reduced video stream to 1kbps, 1.2 megabytes, still too big

      ffmpeg -loop 1 -i "image(62)-2.png" -i "Somebody I Vacuum to Decay.mp3" -c:a aac -b:a 64k -c:v libx264 -b:v 1k -vf "scale=320:320" -shortest "Somebody I Vacuum to Decay.56kbit.withpic.mp4"

      I reduced audio quality to 32kbps, 677 kilobytes, half of that is the video stream still, and at this point it’s just a gray image

      ffmpeg -loop 1 -i "image(62)-2.png" -i "Somebody I Vacuum to Decay.mp3" -c:a aac -b:a 32k -c:v libx264 -b:v 1k -vf "scale=320:320" -shortest "Somebody I Vacuum to Decay.32kbit.withpic.mp4"

      And I post it here And the uploaded file just disappears …

      I try raising the video quality then the resolution

      ffmpeg -loop 1 -i "image(62)-2.png" -i "Somebody I Vacuum to Decay.mp3" -c:a aac -b:a 32k -c:v libx264 -b:v 10k -vf "scale=320:320" -shortest "Somebody I Vacuum to Decay.32kbit.withpic.mp4"

      ffmpeg -loop 1 -i "image(62)-2.png" -i "Somebody I Vacuum to Decay.mp3" -c:a aac -b:a 32k -c:v libx264 -b:v 20k -vf "scale=480:480" -shortest "Somebody I Vacuum to Decay.32kbit.withpic.mp4"

      final attempt, I’m not sure why it won’t accept it, no errors, it is under 1 megabyte

      ffmpeg -loop 1 -i "image(62)-2.png" -i "Somebody I Vacuum to Decay.mp3" -c:a aac -b:a 32k -c:v libx264 -b:v 20k -vf "scale=1280:720" -shortest "Somebody I Vacuum to Decay.32kbit.withpic.mp4"

      • davel [he/him]@lemmy.ml
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 months ago

        Sorry to hear you’re still having issues. I didn’t write Lemmy and I don’t host lemmy.ml, so my knowledge is limited. The file size limit is per-instance, set in a config file on the server, and I had nothing to do with how lemmy.ml is configured. @dessalines@lemmy.ml or @nutomic@lemmy.ml might be able to shed some light.

        • interdimensionalmeme@lemmy.mlOP
          link
          fedilink
          arrow-up
          3
          ·
          2 months ago

          I did some research

          https://github.com/LemmyNet/lemmy/issues/3630 https://github.com/LemmyNet/lemmy-ui/issues/2529

          The main point is that Pictrs handles the files and it doesn’t handle mp4 files without a video track It seems it also strips audio tracks out of mp4 files And it also rejects mp4 files with a bitrate too low.

          So there is simply no way to post less than 1 megabyte audio file on here. It has to be stored externally and users have to leave the site to see it.

          In other words, there will not be music on Lemmy

          Also I found that admins and moderators can modify user comments and impersonate them without recourse or even notice.

          Also, all up and down votes on the platform are public but admins and moderators have decided to keep this to themselves. Anyone can see them, you just need to host a lemmy instance then you can see how makes any and all votes. But they don’t want the users to see this for “drama”, they say. Of course this makes finding astroturf campaign difficult, it also makes content discovery remain a server side thing. In other words they reserve the ability to choose what you see.

          All in all, really unhappy with lemmy right now, I think this place is just Reddit with new tyrants, not the decentralized haven that it was sold has. In fact many of Lemmy design fight against federation, such as the lack of community agglomeration in the default view which ensures big instances and big communities get bigger and not decentralized.

          I did not expect this conclusion from just wanting to post a simple song in the music community but hey …

          • nutomic@lemmy.ml
            link
            fedilink
            arrow-up
            4
            ·
            2 months ago

            Pictrs is only made for images (and videos), as the name implies. Supporting other types of files in pictrs wouldnt make much sense. This means that other file types would have to be stored by a different backend tool, or directly in Lemmy. As we are only two fulltime developers on Lemmy, we dont have the time or resources to work on this, and need to focus on the most popular features.

            There is no way for admins or mods to modify user comments or impersonate users, except directly through the db which is unavoidable.

            We had a very long discussion recently how vote privacy should be handled, and the current behaviour seems to be the best compromise.

            Multi-communities is one of those popular features we are going to implement soon.

            • interdimensionalmeme@lemmy.mlOP
              link
              fedilink
              arrow-up
              1
              ·
              2 months ago

              Hello, Thanks for taking the time to respond I believe that pict-rs does support video files with sound

              I believe it is only the default pict-rs of lemmy hosts that disables and auto-strips audio video files and images under 1MB work just fine

              I understand that big tech has forgotten about audio files, but a good way to think about them is that they are just video files without a video track.

              As for preventing comment tempering, a public key in the user profile and storing a signature as metadata of the comment would make comment tampering more effort than they are worth to future /u/spezes

              As for vote privacy, I understand the convenience aspect of users not being made aware that their votes are public. I object in principle to the UI hiding this fact for convenience. I was unable to further express this disagreement as the thread was locked when the final decision was taken.

              As for multi-reddit style community aggregation, I have investigated, and unless the default behaviour will be to make all /c/books across all federated server aggregated in a single default view, then I believe they will not be effective as countering Lemmy’s current biggest problem, the super-centralisation of all communities in a single big server in a single big community. For all intents and purposes, posting anywhere BUT the biggest community, is an exercise in futility. And this gives the owner class of that specific server immense reddit-like leverage over that specific topic not just on that one server but over the entire lemmyverse for that specific community topic. It will take extreme misbehaviour by the moderators to get the users to migrate out of the “big community”. As we’ve seen with reddit’s ability to misbehave with effectively no backlash, we can expect the same dynamic to occur here in the future as lemmy grows.

              I cannot overstate how important it is for the power of federation to counter the power of moderators, that the default view of /c/books MUST include all /c/books or all federated server as the DEFAULT view. Anything else hands over all power of cultural control of that topic over to the big /c/books community on the big server.

  • OldManBOMBIN@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    3 months ago

    I upload a lyric video to YouTube, but I don’t have a band so I just write the lyrics and have a robot help me.

    Honestly, as easy as it is now, I really truly feel sorry for artists who are trying to make a living. I just do it for fun, but man-- the whole music industry and everything else is likely to be automated within the decade

    (I just discovered suno like last week)

    (Edit: Examples (yt tracker removed))

    • interdimensionalmeme@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      3 months ago

      I wanted to just post an mp3 file to Lemmy. But it doesn’t work I remembered there was a website called “bandcamp” I tried that You had to go through the whole rigamarole of creating an account then you upload the file but no, it wants a flac file not an mp3 and it wants a title image, but 1024x1024 is not good enough, it’s minimum 1400x1400 so I just upscale my image in some other software

      and finally I could post, the link to a bandcamp, that apparently is only good for 200 playback ?! And they probably have ads and stuff too and are going to get people to subscribe and whatnot

      All that just to post an mp3 file like I did here

      https://lemmy.ml/post/21313857/14254237

      Why doesn’t Lemmy just take mp3 files when it does mp4 video files ?! It’s weird and annoying !

          • Zagorath@aussie.zone
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 months ago

            Those are, as you noted, audio-less WEBM files, not MP4s (though it may have automatically transcoded a video into that format). It’s essentially a more-efficient form of animated GIF, not really a video in the sense that non-technical end-users likely think of it.

      • OldManBOMBIN@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        3 months ago

        🤷🏻‍♂️

        I agree it’s not ideal; just offering an alternative that also allows lyric embedding.

        Pretty sweet tunes, lol. I dig it

        • interdimensionalmeme@lemmy.mlOP
          link
          fedilink
          arrow-up
          2
          arrow-down
          1
          ·
          3 months ago

          Thanks I liked “Time is Money (Not actually in the style of the B-52s. Was just the last style prompt I used, lol)” it feels true.

          Yes, it does seem posting the whole ready made mp4 is easier than starting from a sound file.

          I think it’s because all the tech bros forgot that just because you can have a video track doesn’t mean sound files are useless !

          Well, I do want to figure out my own music visualization engine. One of my friend was a collector of those karaoke songs and he had a big suite of cool music visualisation software to go with it. I’d going to try and dig this up.

          • OldManBOMBIN@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            3 months ago

            If you can scrounge any software, you should tell me what it’s called because that sounds cool.

            And thanks. I wrote those lyrics originally as a sort of slam poem or something - just venting my frustrations with the way our life has been designed around us.

  • Zagorath@aussie.zone
    link
    fedilink
    arrow-up
    2
    ·
    3 months ago

    Catbox isn’t ideal because a lot of countries and ISPs block it, but it allows uploading of arbitrary files. MP3 files should work fine.

    • Zagorath@aussie.zone
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      Or if you want, something like SoundCloud or (from a quick Google—I don’t know how reliable this is) Vocaroo.

    • interdimensionalmeme@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      3 months ago

      Yeah, it will eventually break, anything external is not ideal. Youtube seems like the only reasonnable option but it’s so tedious, they ask a bunch of question and it is going to break some day. Some day youtube will break external viewings from other websites.

  • Dessalines@lemmy.ml
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    2 months ago

    Use torrents, lemmy is not meant to be a file sharing service. We can’t afford the hosting costs for video and music.

    • interdimensionalmeme@lemmy.mlOP
      link
      fedilink
      arrow-up
      4
      ·
      2 months ago

      I disagree, I am sorry, I really do. This MUST be supported.

      1 terabyte of storage costs 5$ per month, 3 terabyte of data costs 3$ per month. You can host my 800kilobyte music file the same way you can host my 800kilobyte image and my 800kilobyte video It cannot be hosted elsewhere as page load means cognitive break from the original message, it ruins the message.

      paywall the feature I don’t mind I will pay it forward

      pict-rs supports video, search these terms

      [media.video]
      allow_audio = false 
      PICTRS__MEDIA__VIDEO__ALLOW_AUDIO = true
      

      Music is just a video file without a video track and video already works !