Hacker News new | past | comments | ask | show | jobs | submit login
[flagged] FFmpeg Explorer (lav.io)
253 points by notbeuller on Aug 26, 2023 | hide | past | favorite | 85 comments



I've seen multiple attempts to add GUI to FFMPEG. I think this is the best I've seen so far. Great job!



ITT: people who don't realize that when you become the apologist for white nationalist racist fascists, you identify yourself with them as and as one.

Also presumably some who do realize that, and do so, and are.


Say that to ACLU in 1978.

Or any generally civil person, who likely thinks that using violence to drive your political values makes you worse than your opponent.

The side really doesn´t matter. Especially in a world where people tend to pigeonhole their totem animal enemies to be extremists, which combine in to accepting wanton violence to larger and larger parts of the population who doesn´t fit their specific set of often newly-invented values.

"I Disapprove of What You Say, But I Will Defend to the Death Your Right to Say It"


“Tolerance is not a moral absolute; it is a peace treaty.” (via yonatan zunger in 2017 – https://medium.com/extra-extra/tolerance-is-not-a-moral-prec...)



This has to be the weirdest submission I've seen here, but I'll pick the raisins off the cake:

1. This is cool. Have been looking for something like this, having a few production systems that run FFMPEG on command line as part of pipeline. Does this run FFMPEG complied to WASM?

2. Live preview or some kind of "gallery" would enhance the visual exploration. For inserting subtitles, overlays etc with better iteration

3. The demo video being on the border of supporting violent thuggery is the weirdest misuse of such a placement. BigBuckBunny surely would do better (considering it's available in a ton of different formats, framerates, higher quality for further experimentation, too!).

Again with the weirdness, I am not sure this submission should have been accepted though. It's very weird seeing someone post something like this, it's like someone burning themselves to death while shouting TikTok memes. w h y


Considering the person being punched in the video is someone who endorses violent thuggery, I think it's a political statement to include it and, as such, should be respected.

A BigBuckBunny segment would also suffice. Being able to change the source would solve the problem while keeping the original source material suggestion maintains the political statement intact, as it should be.


Yeah! Replace the brief segment of someone getting punched with the Big Buck Bunny of a bird getting hammered with an acorn!


Or at least don't make me supply my own logos (provide some kind of default values for input parameters) for the remove logo filter. If I knew how to do things, I wouldn't be here trying to learn.

ffmpeg -i punch.mp4 -filter_complex "[0:v]removelogo[vid_out]" -map 0:a -map "[vid_out]" out.mp4


while richard spencer is a violent nazi thug, punching richard spencer has nothing to do with violent thuggery, it's an exemplary show of civic virtue


>while jubalfh is a violent communist thug, punching jubalfh has nothing to do with violent thuggery, it's an exemplary show of civic virtue

Maybe you should rethink if your conduct and values while writing stuff similar to above contribute anything positive to the world.


it's “socialist”, yes, there's a difference – and i thought deeply on what you wrote and can assure you that both my conduct and my values are perfectly acceptable in any non-nazi environment.

for example, i don't think that fascism or nazism are valid positions, and neither of them deserve the right to be treated as such.

nazi germany started a war with my country, and killed millions of my compatriots. punching a nazi today is doing a favour for the future humanity.


The author appears to be a left wing activist/artist. I think the video was quite specifically chosen as something they enjoy watching.


Doesn't everyone enjoy watching a daft alt-right white nationalist being punched in the face?


Daft alt-right white nationalists probably don't enjoy it as much as everyone else.

But I see this as political discourse, and such, it's protected speech.


We don't enjoy seeing idiots hitting idiots every waking hour, no.


Is it idiotic to punch nazis now?


People are so soft now. Back in the day, we'd line up to see Harrison Ford do it; sometimes multiple times!

Snowflakes, man


Cool. Potentially very usable and useful tool. Woudl be cool to have local version not constrained by wasm speed. UI is simple enough that it could have been pure c with imGui rendered in browser, but with option as native executable.


Not wanting to dogpile the demo video content, but there's an open issue:

https://github.com/antiboredom/ffmpeg-explorer/issues/3


It's not bug. It's a feature.

    antiboredom added the wontfix label 3 hours ago


Good, I've been looking for this clip again!


The best version is the one synced to the drum beats of Blue Monday.


It's quite an achievement to:

1. Post one of the most useful ffmpeg utility I've seen on to HN

2. Hit the front page

3. Get it flagged due to nazi flamewars.


This is awesome. Well done. Could something like this be packaged for electron?


great demo video


great useful comment


* Clicking on the [a] ---- [a] (which is the audio stream, I assume) and pressing "Del" does not delete it.

* Adding an audio filter, tremolo, makes the video stream disappear. Then adding a video filter makes it reappear.

* possibility to clear the log?

* What is the dude saying who gets punched in the face? "It's a pepeyes (?), we come kind of a sample" ?!


That's Richard Spencer trying to explain Pepe the Frog. Relevant commentary: https://www.youtube.com/watch?v=IKICKcMU3MU


"This is pepe, he's become kind of a symbol", approximately


Thanks, dudes.


I too like my hacking projects with a bit of violence on the side. Nothing gets the nerd in me going better than someone getting assaulted on the street. Especially if there's a political connection -- oh man I'm feeling so productive already!


Why are you so concerned about nazis being punched?


Great tool and great choice of video, it keeps the reactionaries away from your project


Reminds me of a small time burlesque promoter who would include trans ladies in his shows so any broskies that showed up would leave and never come back.


Since there may be people in the know ... Is ffmpeg an appropriate tool to make gifs? Or are there more appropriate tools? (to designate static regions in a scene for instance )


Yes, I wrote a blog post about it, though the post is quite old now and maybe there are other better ways [0].

In short, ffmpeg can be used directly to create a gif:

    ffmpeg -i input.mp4 large_output.gif
but it can be quite large. You can also use the appropriate "start" and "duration" options to selectively get a portion out.

Animated gifs are pretty inefficient as it is so I'm usually happy with the above, and make sure to only restrict to 5-10s max, but there are other programs to try and help reduce the size, like gifsicle [1] and imagemagick [2].

[0] https://mechaelephant.com/dev/Screenshots-Screencasts-Animat...

[1] https://github.com/kohler/gifsicle

[2] https://imagemagick.org/index.php


It's an effective first stage... and with enough wizardry you can optimize it a fair bit too.

Personally I crop, resize, time-slice, and dump to gif with no other arguments... and then just use gifsicle. Gifsicle is absolutely amazing, both significantly better results and significantly easier.


ScreenToGif has a very nice editor that can make cinemagraphs, remove duplicate frames, etc.

ffmpeg can make gifs, but I don't know how you would do stuff like static regions. It could probably be done with some masking and filtering, but I think you would need to make the mask separately so why not use a GUI gif editor instead?

https://www.screentogif.com/


There are better tools, not that I know them. The most ffmpeg can do is generate a palette and use it to make 256 color video which is then fed into the gif encoder.


Why text filter isn't working


Amazing. All nazis deserve a fist in their face.


Would it be possible to add more Richard Spencer getting punched? Never enough of that.


If you know the right ffmpeg options...

ffmpeg challenge: more Richard Spencer getting punched!


[flagged]


Believe or not, some people actually believe in not just using violence to address their political opponents.


When an ideology becomes genocidal, it stops being political and becomes a threat to humanity. They won't give us the same non-violent courtesy.

Punching them, humiliating them, deplatforming them, etc is an act of community self-defense.

For the good of humanity, their murderous intentions must be stopped by any means necessary.


i know it is hard for the nazi safety officers out there, but nazis are not just political opponents, nazis are proponents of an explicitly genocidal ideology.


Being a Nazi is not being political.


[flagged]


> People who advocate violence over mere words should be shunned in society

And indeed fascists, notorious advocates for violence, get shunned and get punched in the face. What is the problem? Am I supposed to feel bad?

I despise this kind of idealistic view. If you're part of a hate group, be prepared to be hated and face the consequences. If you turn your cheek, you enable bullies while feeling good about yourself. Fuck them.

There would be fewer bullies if they'd risked getting sucker punched, laughed at openly and actively shamed.


Do you condone this attack too:

https://en.m.wikipedia.org/wiki/Murder_of_Samuel_Paty

What level of violence is too much in response to being offended by someone else's words or nonviolent actions?

Many in the Islamic world consider that response just.


I know words don't mean anything today, but I said fascists get what they deserve.

This person and the people killed at Charlie Hebdo were not fascist, so what your doing here is political misconstruction of my words.

https://en.m.wikipedia.org/wiki/Fascism

If a person, because of their ideology, is capable of hate against others to the point of killing them, they should not get a free pass. This includes fascists, Ku-Klux-Klanners or Islamist radicals than blow themselves up, as well as those that condone that sort of behaviour.


> This person and the people killed at Charlie Hebdo were not fascist

They were if you define Fascism the same way certain religious groups do.


Richard Spencer is the most brand label fascism that fascism will get at this point in time.

I mean, ffs, read the first few paragraphs on the guys wikipedia page before you defend him.


I'm not defending anyone in that interaction.

The fact you think I am is why I don't want you hitting people for being "fascist" when you don't know what the Hell that is.


I get it, you want to point out how hard, or even borderline impossible it is to delineate who is a fascist and who isn't, because you think people use the word to loosely.

Maybe they know the word better than you, though? Maybe they're not as oblivious to the dog whistles.

Well, either way, I don't really care where "the line" is here, because Richard Spencer is so clearly over it, it's a ridiculous argument to make. Because actually, often it is quite clear.


No, I want to point out that the idiots who think hitting others accomplishes something don't know what the hell a "Fascist" is.

Look up the history of Weimar Germany. That's what "hitting Fascists" accomplishes. Anyone who wants that must be a Fascist, like you.


This is a hilarious misinterpretation of history. Imagine if the nazis hadn't been beaten back during the Beer Hall Putsch.

If you can level a criticism at violence during the Weimer Republic, it's that is was too unfocused, with monarchists, social democrats and communists (who, indeed, were the original organization structure known as "Antifaschistische Aktion", or colloquially, Antifa) all beating each other up as much as they did nazis.


Clearly World War 2 could have been avoided if the Allies had simply challenged Hitler and the other Axis leaders to a debate.


which point in the history of the weimar republic proves that it's punching the nazis too much that brought hitler to power? (please support your claims with citations, thanks.)


> Many in the Islamic world consider that response just.

It's fair to say most in the Islamic world would consider that response unjust and, more pragmatically, counter-productive. Don't let misconceptions get the best of you.


We went from punching (a form of activism you might not agree with, but one that arguably works to make fascists afraid of public appearances - like milkshakes) a genocidal nazi to outright murder with a extremist religious motive. And you even go on to paint that extremist like an average muslim. Islamophobic gargabe.

This would be like me calling the Oklahoma City bombers "average americans".


Mind that you are advocating "eye for an eye" and vigilantes/self justice by violence here (ironically on the basis of moral or ethical superiority)


It's easy to sit on this kind of high horse when you yourself are not a target of fascist aggression.

I don't want to make assumptions here, maybe you are in fact part of a group that is actively targeted by violent fascists (and I'm not asking you to confirm this), but if you're not, perhaps consider that difference in perspective.


> There would be fewer [problems] if they'd risked getting sucker punched, laughed at openly and actively shamed.

Nazi's in 1940's talking about Jewish store owners, probably.


[flagged]


Oh for sure man. What if fascism meant something else, and you were one, and you got punched??? What then???


And I don't trust the "Bash The Fash" crowd to define "Fascism" intelligently.

Mob rule is very dangerous for minority groups.


Where's that quote from ? Can't find it in the submitted page.


Selection of example videos is kind of protest, second one is political[1]

[1] https://en.wikipedia.org/wiki/George_W._Bush_shoeing_inciden...


Violence is bad: absolutely!

Guy who punched a literal self-professed Nazi in all senses of the word is as bad as the Taliban: what?

Look, I don't like escalating things to violence as much as the next guy, but I really don't think this equivalence is appropriate.


So to extrapolate, slapping a centrist across the cheek is fine, an kicking conservatives in the knees is walking the line too, while looking at a common liberal nastily should be prosecuted? What is this this clownhouse logic


Did you not read my first sentence? Violence is bad.


not sure who or what "king" you are talking about, or the politics involved.

But I agree with the sentiment it's an odd video choice. My attention was captured completely by the violence of the video, instead of what you are trying to demo.


King-hit | sucker punch - https://en.wikipedia.org/wiki/Sucker_punch

Timing wise it occurred not long after the POTUS to be (D.Trump) famously advocated violence towards people saying unwelcome things (“I promise you I will pay for the legal fees”) so it's hard not to agree with the GP about shunning such advocates.

https://www.vox.com/identities/2017/1/26/14369388/richard-sp...


Judging by OP's twitter profile, he seems to be a communist, so advocating for violence against political opponents is not surprising.


[flagged]


Alt-right white nationalists lack self awareness, unfortunately.


This is a wonderful tool! If the author sees this, please note that the demo video is causing a lot of distraction (in this thread) from your brilliant creation.


From reading their reaction online, the author is certainly not concerned with some people feeling hurt by the example video. Rather amused, it seems to me in fact.


Another concern for him is the controversy it generates.

When hiring for a job or a project, managers are going to search for Sam Lavigne and see this. Although depending on the business and project, that might be good or bad.


I am sure the author wanted to make a specific demographic uncomfortable. If someone feels uncomfortable, maybe they could use different tools.


Or do a bit more thinking about why they're uncomfortable.


The ability to introspect is something they still need to master.


I see people on Mastodon gleefully sharing this, saying it's the "new Lenna", and mocking the people in this thread who are "upset".

I don't think people are mad because of what it says about Spencer, they are annoyed because of what it says about the maker.

The politically opposite equivalent would be using a video of, say, black-on-white crime as a test case, or maybe a video mocking George Floyd as a drug addict and celebrating his death-by-fentanyl, and I'm pretty sure that would result in a lot more outrage than this.

Russel conjugation: "I am subverting their silly ideas. You are being confrontational. They are insulting our most deeply held values."


Yeah and the opposite politics are bad, actually.


If you don't defend freedom of speech for people who disagree with you, _you_ are the "opposite politics".

Mass race hysteria, in the middle of a supposedly deadly pandemic, but it was okay because BLM.

Meanwhile these same people said nothing when police executed a man in his own home here in Belgium.

It's all performative bullshit, and anyone cheering this on reveals themselves for the herd animal they are.

If all you can do is flag the opposing argument out of visibility you're admitting to being both cowardly and dumb.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: