🌉 bridged from @ellypony@lemmy.world by Tidepool
ellypony
@ellypony.lemmy.world.ap.tdpl.io
Question / Idea
I know things like streetcomplete, and GoMap exist to help mobile users make accurate surveys in real time. (uploading GPX tracks, completing quests, etc)
I'm wondering. Has anyone ever considered the idea of writing a mobile app capable of using a phone's sensors to capture images and do basic object recognition? Gathering the embedded GPX data in the image, and then automatically creating a changeset?
It would be incredible because then you could mount your phone inside of your vehicle and drive around. Find a safe stopping point, and then review the changeset before you upload it to make sure it's accurate.
I'm not a developer, so this idea might be completely ridiculous. I just thought I would ask to see if anyone knows of any apps that exist, or are in development.
Creating Robotic Voice Effects
Hello everyone! It's been a minute, and this place is still quite empty. So I just wanted to share some of my experiments here! (The exact filter and command for you to copy and paste are at the bottom of this post.) The goal of this particular project, was to create a "robotic" overlay for organic speech by stretching the number of actual audio samples over a much larger area of time. But it works on any and all audio.
Demonstration
Using this video Let's apply a complex filter:
ffmpeg -i coughing_baby_meme.mp4 -af afftfilt=real='hypot(re,im)*sin(0)':imag='hypot(re,im)*cos(0)':win_size=512:overlap=0.75Here's what we end up with: https://cdn.imgchest.com/files/4z9cvjvov37.mp4How does it work?
What we're doing here is calculating the real and imaginary portions of the frequency domain signal. You can mix and match different values if you like, to achieve different effects. The most important part of this filter for our purposes however, is the
win_size=512portion. Normally, your audio's samples will be stretched out across the timeline as efficiently as possible. With the physcoacoustic effect in mind, audio samples are placed at regular intervals with a set size. Now, what does changing thewindow_sizedo anyway?. In short, it allows you to sacrifice timeline density for sample resolution. Or vice versa. Think of it as spreading salt on your driveway in the winter. Normally, you'd sprinkle a fair amount of salt across the pavement. You might sprinkle a little bit more in the spots where ice is particularly thick, or a little bit less where it's thinner until all of the salt is gone and your driveway covered unilaterally. Your neighbor on the other hand, dumps huge piles of salt on only a few portions running the length of the driveway. When you walk across your driveway, you don't notice anything odd because the salt has melted the ice uniformly. If you were to walk across your neighbor's driveway you might feel your feet slipping in some places, and be anchored far too firmly to the ground in others. And this is (kind of) what creates those eerily, canned and synthetic sounding vocals.Try It Yourself!
• make sure to encase the portions after
-afbetween double quotation marks""! I chose not to do this here, because it messes with the syntax highlighting on lemmy.ffmpeg -i your_media.* -af afftfilt=real='hypot(re,im)*sin(0)':imag='hypot(re,im)*cos(0)':win_size=512:overlap=0.75 your_output_media.*Sorting & searching assets by filesize
Does anyone here know if sorting assets by filesize is supported? Say, if someone wanted to quickly find assets that take up excessive space and easily remove them.___
Messing Things Up : A Guide For Creators Using FFmpeg
A few months ago, I took an interest in unconventional methods to manipulate and create visual artwork. I wanted to share some of thoughts. As well as the tools and examples that helped me develop skills. If you really want an exceptional understanding of FFmpeg -- and just how magic it is -- you need to destroy media. Yes. Counterintuitively, destroying things with FFmpeg is the best way to illustrate how much power it has compared to anything else out there. Sure, you can add quick easy transitions and choose from a curated list of aspect ratios with most GUI video editing software. But that's BORING. Because they always work right the first time!There is little room for human conversation, little room to make mistakes. The software -- and by extension, it's creators -- decide for you what they believe is visually appealing. And because of that, there is almost no room for uniqueness. And it's my sincere belief that raw audio-visual data is a neglected medium that could flourish if not for a serious lack of interest, and free tools for experimentation. You can create cursed and hilarious glitch art, convert ANY file into raw video/audio data, or just mess around with bitrates until your media looks and sounds like it was recorded in 1970. Something important to remember is that FFmpeg can't be gleamed from ChatGPT. Or by copy-pasting random commands you find on the internet. If you do use ChatGPT to get something done quick, that's fine. But read the documentation! whenever you run into something unfamiliar. That's the only way you'll be able to add that filter/codec/muxer/argument to your mental toolbox. For anyone who is interested, there's a neat little webpage which has a plethora of bash scripts, commands, walkthroughs and examples on this github page. There are activities and exercises, animated pictures, examples, and tutorials. For anyone with a slightly more advanced understanding of FFmpeg's filter pipeline who would like a virtual playground to tinker around with, you can use this FFmpeg explorer. It's an easier to use visual analog that allows you to drag and drop filters and modifiers into a pipeline. There's even a little preview and demo video that updates in real-time as you make changes!