Hacker Newsnew | past | comments | ask | show | jobs | submit | more zackoverflow's commentslogin

The active ingredient acetaminophen is anti-inflammatory which is where the reduced anxiety effects come from, perhaps you're not suffering from inflammation enough for it to take effect


I haven't played much with live IO with ffmpeg. Tell me more about the difficulties of this usecase, I'd love to make it a better experience


The main thing I’ve done is take RTMP/RTSP from network cameras (im doing this for traffic cameras) and push to HLS. This is very powerful as you can take a camera that otherwise would require a special viewer and play in any modern browser with no plugins. Also HLS is over HTTP, so it’s cacheable.

I have to craft the ffmpeg arguments fresh each time I do this, but the main reason I commented was because many ffmpeg tools - like handbrake and jmeter load testing plugins etc are geared towards fixed length inputs, not indefinite live streaming cameras.

There are plenty of streaming servers etc, but just seems like there is a missing niche for lightweight ffmpeg tooling that helps do this.


Hey OP here, I spend a significant amount of time generating complex FFmpeg filtergraphs for my project. They can get really long and cumbersome, so I made this tool that lets you visualize and edit them, and generates the FFmpeg command string for you.

It sort of became an IDE/LSP for FFmpeg filters. My biggest problems were having to constantly to flip to FFmpeg documentation and errors in my filters. So I added autocomplete and embedded the FFmpeg docs. It also verifies the correctness of filters/arguments, and does an analysis on the graph to verify connections/etc.


What's your opinion on libraries like python-ffmpeg that allow you to build filter graphs programmatically with tree-like data structures?


I haven't played around much with ffmpeg-python, I used to use fluent-ffmpeg for a bit. They're an improvement over writing raw command strings, but they lack static analysis features to verify the correctness of your command at compile time. There's only so much you can do with the constraints of general programming languages.

I'm going to add the ability to export graphs as ffmpeg-python/fluent-ffmpeg code, and to import a graph from ffmpeg-python/fluent-ffmpeg code as well.


In something like Haskell or OCaml, it would be possible to verify the tree/graph at compile the time. That's why functional languages with powerful (or even dependent) type systems are so popular!


The other day I was thinking that precisely this is needed!

Question:

Why are you offering lifetime access for $39? Makes no sense. Anyone company that needs this can afford $100/month. Any individual who needs it can afford $30 for 3 months access.

Ideas:

It would be good if I could upload my ffmpeg binary and the IDE queries it to work out what libraries and options are compiled in.

Or maybe you could provide a command that I could enter that dumps this information, which I then put into your IDE.

It would be great if I could put my existing ffmpeg command lines into this and have them represented as a graph.


Honestly the pricing was selected kind of on a whim, I actually didn't think anyone would use the project. Will probably update the pricing.

I'm not sure how much information could be extracted from the binary, will need to do some more research. Maybe we could read the strings in the static part of the binary and extract some information.

`ffmpeg -i` prints out the configuration FFmpeg was built with, this mostly will let us know which encoder/decoders/container formats you can use. Will add a feature to parse and interpret that output.

I added an ffmpeg command string parser that converts the command stirng into graph nodes, but I temporarily disabled it to fix an infinite loop bug in my parsing code.


To follow up on this, we did update the pricing now https://ffmpeg.guide/pricing which should be effective from Nov 1st. Gonna try to move some more lifetime deals at a slightly higher price before then


Glad you did. This would’ve been super helpful when I was building glancy[0] and I would’ve gladly paid for a few months of access at a time.

[0] https://glancy.io


As a hobbyist who doesn't _need_ this, the 6-node free plan feels very reasonable for tinkering around and sanity-checking something.

As someone with a project at work that involves setting up an ffmpeg project in the future, I'm now expecting to talk to my boss about expensing this and I think it's at the perfect price point where it won't take too much effort to get them to budge.


This is so useful! Would you consider adding some way of linking a filter to the ffmpeg documentation/reference for it? Or maybe some way of embedding it on a sidebar when a node is selected?


Looks great. Should be a big help. Can I check out the code?


I used to feel the same way, but after learning Haskell I think whitespace is particularly suited for functional programming languages.


Works well in F# too!


Really entertaining read, had a few laughs throughout! but for some reason the text doesn't fracture properly on Brave/Chrome.

Here's a video demonstrating the problem: https://anno.so/71yMRyQfDXnm0QoHNpT6d/1


Haaaah. Oh that's a nightmare. Thanks! I think I fixed it in a portable way...


For Anno we are using HTML video elements / YouTube embeds which have the same frame inaccuracy from currentTime. For our editor we have a WebGL-based solution that seems to get better frame granularity but still has some floating point rounding errors converting frames <-> seconds

There's also requestVideoFrameCallback() and seekToNextFrame() in the Web APIs but they are still experimental/not supported by all browser. The WebCodecs API is also experimental/not supported to all browsers but would allow you to decode and grab the individual frames from a video and draw them to a canvas



Hey HN, I'm one of the founders of Modfy.video - we just shipped Anno.so which lets you add timestamped comments and annotations (drawings, scribbles, notes) to videos & other media files.

We currently use it to add comments and markup to Loom videos about dev problems we share among our engineering team, it’s been a great help.

Anno.so supports uploaded videos, audio, YouTube videos, Loom videos, SoundCloud audio. It’s free to use with no sign-up required.

This is a project we spun out from a video editor we’re currently working on https://modfy.video if interested.


Hey OP great work. I’m curious on the metrics and statistics, how much of people that consume media, use annotation? How's the impact?


Thanks! It's less about those that consume and more about the creation process, giving feedback/thoughts while working on a video or a song.

Also we use it internally to share looms with our eng team, where we leverage timestamped comments and annotations to enhance the sharing and discussion of ideas


Is it open source? If not, is there any way to integrate with you?


It is not open source at the moment but you can email me rahul@modfy.video and happy to chat about collaborating


Entertaining talk not so much about Clojure, but tackling the scaling problems of software engineering in general. Great movie references throughout, had a lot of fun watching it


Sorry you feel that way, it is meant to be a low-brow joke language, but definitely not supposed to feel mean-spirited. The language spec was originally designed by mostly Australians.

https://github.com/louis1001/c---/issues/5

So that gave me the sense that Australians were ok with this type of humor, though I did make some minor adjustments.

I'm open to suggestions for revising the syntax to make it feel like it's less mean-spirited.


Uh ok sorry. I guess the context for me is a string of 100% crazy mentions of Australia on HN lately - Australia is a totalitarian police state, Australians should all have guns to resist covid lockdown, etc. Apart from that, the usual dangerous-Australian-animal porn.

"This type of humor" is one thing coming from Australians, entirely another just claiming to be from Australia, like it seemed to me. Well, a lot of the meanings were suspiciously accurate, much better than you find on the usual "Aussie english for americans" web pages! Anyway.. good luck.


>Australians should all have guns to resist covid lockdown

You just _know_ where this comment is coming from, its so funny.

That belief that guns fix everything is something only two places can produce and one of them doesn't use the internet for the most part, let alone HN.


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

Search: