News for hackers. Stuff that matters.
Re:Show HN: A music player that creates real-time music videos by aeroheim on Saturday November 27, 2021 @03:46PM (#29363232)
Hey, thanks for your interest!

The footage in the trailer shows what the music videos look like. All of it is recorded directly from the app, and there's a section where the UI is hidden and it's mostly effects and transitions going on (that's the music video part). In hindsight I might not have made that part clear enough.

Also, the old winamp style visualizations were super badass! They played a huge part in my interest in audio visualization :-)

Re:Show HN: A music player that creates real-time music videos by catskul2 on Saturday November 27, 2021 @05:45PM (#29364362)
Not to be hyper-critical, but that video was a bit underwhelming. It might be helpful to find a more impressive example to highlight.
Re:Show HN: A music player that creates real-time music videos by fernly on Saturday November 27, 2021 @06:49PM (#29364782)
> The footage in the trailer shows what the music videos look like

What, the static anime girl with a ken burns pan and zoom?

Re:Show HN: A music player that creates real-time music videos by what_is_orcas on Saturday November 27, 2021 @04:01PM (#29363419)
Are you talking about the anime girl?

If so, does it do other things or just anime girls?

Re:Show HN: A music player that creates real-time music videos by aeroheim on Saturday November 27, 2021 @04:08PM (#29363518)
You can use whatever images you want. You load your images into the app along with your audio and it uses those images. There's a bunch of effects like filters, transitions, particles, etc. that you can customize to adjust the visualizations.
Re:Show HN: A music player that creates real-time music videos by what_is_orcas on Saturday November 27, 2021 @10:27PM (#29365936)
I guess what I'd really like to see is a demo of the different effects and filters and whatnot. Nothing extreme, but show how they can make the same pictures into a different experience.
Re:Show HN: A music player that creates real-time music videos by dgellow on Saturday November 27, 2021 @05:48PM (#29364377)
I’m on iOS, the trailer from the website does not load for me. Do you have the video on YouTube?
Re:Show HN: A music player that creates real-time music videos by aeroheim on Saturday November 27, 2021 @06:08PM (#29364526)
I do have a twitter video available (no youtube unfortunately, sorry!)

https://twitter.com/hyperchroma/status/1464656712544174083

I'm not sure if the trailer loading is an issue on the site - could you check the console for me and see what it says?

Re:Show HN: A music player that creates real-time music videos by codetrotter on Saturday November 27, 2021 @06:23PM (#29364615)
I’m on iOS too. From experience it’s usually because the video container, codec, or options, you are using for the video is not supported by iOS.

In your case I see you are using a webm container. iOS prior to version 15 does not support webm natively. Then earlier this year they started adding support for parts of webm in iOS 15. https://9to5mac.com/2021/08/10/apple-adding-webm-audio-codec...

I recommend converting the video using ffmpeg.

The following should give you a video file that will be playable on most mobile devices, even quite old ones.

    ffmpeg -i preview.webm \
      -c:v libx264 -crf 23 -profile:v baseline -level 3.0 -pix_fmt yuv420p \
      -c:a aac -ac 2 -b:a 128k \
      -movflags faststart \
      preview.mp4
The HTML5 video tag supports having multiple video sources so you can still keep the webm as one alternative and browsers will pick either the webm or mp4 depending on support.

See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/so... for details on multiple sources in the video element. I.e. what changes you need to make to your html.

Re:Show HN: A music player that creates real-time music videos by larrysalibra on Saturday November 27, 2021 @07:12PM (#29364924)
I’m on the latest version of iOS (15.1.1) and it doesn’t load for me either. Perhaps the server hosting the video file is overloaded?
Re:Show HN: A music player that creates real-time music videos by codetrotter on Saturday November 27, 2021 @07:56PM (#29365191)
My comment originally only said that webm was not supported prior to iOS 15. But webm videos are not fully supported in iOS 15 either afaik, so I updated the comment to specify that they started adding support for parts of it. You may have seen an earlier version of my comment without that qualifier, in which case I apologize for any confusion.
Re:Show HN: A music player that creates real-time music videos by aeroheim on Saturday November 27, 2021 @07:59PM (#29365203)
Ah, thank you very much!