News for hackers. Stuff that matters.

fbnt

Show HN: Geneva, a Rust FFmpeg CLI alternative with HTML/CSS graphics

https://genevarender.com

I built this for my own use case, and I think other people could benefit from it.It's essentially a Rust rewrite of the ffmpeg CLI command, but with a modern API and good defaults + a native HTML/CSS composition engine that's been fine tuned for speed and memory efficiency. Under the hood, it still uses the libav* codecs from ffmpeg, so it can still work on a variety of formats.Works very well...

( Read More... | no comments | 6 points | on HN )
Hi everyone, this is Francesco (fbnt). Geneva is a CLI video editor: you describe an edit as JSON, write titles and graphics in plain HTML and CSS, and it renders everything in one pass, from a single binary, without chrome or filtergraphs.

I've been working with video encoding, subtitles and basically anything that is "layer things on top of videos" for many years now, and lately I started wondering if there was a more efficient way to do it without relying on the usual methods and libraries. Basically, every time you paint stuff over a video, you create the overlays with 'some' tool (something that generates cards as PNGs, or a headless browser for more complex animated designs.. or other techniques), and then use good old ffmpeg to merge the composition together, or eventually use ffmpeg's complex filtergraphs with all their quirks and limitations if you're desperate, but nobody does that anymore.

But what if ffmpeg could do proper composition, natively? That's probably a bit out of scope for them, so I set out to start rewriting ffmpeg's CLI in Rust with some extras.. because, why not. Of course, the codecs still comes from libav*, but everything above it is new: a planner that figure out the cheapest way to produce the output (frames with nothing drawn on them aren't re-encoded), a compositor with layers, keyframes, masks and transitions, and a layout engine for the part of CSS that is most commonly used: flexbox, gradients, shadows, clip paths, blend modes, and @keyframes played as written.

Now I have something that paints pretty animated graphics natively over videos very quickly, and without using playwright or chrominum. You can see some benchmarks here against two of the most common methods used to achieve this here: https://github.com/geneva-render/geneva/blob/main/docs/bench...

As you probably guessed, this was all written by Fable/Opus under my guidance. Just stating it plainly so you can decide whether to trust it or not. This is just the engine, and I have a couple of ideas on how to move it forward, but I'd like to hear some feedback before carrying on blindly, so feel free to reply here or get in touch.

Some rendered examples are in the repo and here: https://genevarender.com

Not open source, but https://fluen.ai does a good job at translating subs, while using your own or standards style guides for the target language - ie. reading speed, max characters, "chunking" sentences where it grammatically makes sense, re-adapting them etc.
https://fluen.ai gives very accurate subtitles (and subtitle translations).
Yes, I’ll give you that. I think the point I was trying to make was that being denied some activities ( or have them severely restricted) as a young kid, may have repercussions later in life that ends up being the opposite of what the parents wished for.
I think the step from books->TV was much more dramatic that TV->SocialMedia. the delta of stimulation is much greater in the former, imho.

In any case, 1hr of iPhone/day is way too strict for a teenager nowadays. I was lucky to be the 3rd child, and my parents didn’t really paid attention to how I was spending my time. I overdosed on a bunch of things as a kid: TV, videogames, my computer, the internet when I got it (I’m in my late 30s), but then I got over them, except computers, which became my profession.

On the other hand, people my age that were only allowed one hour of Nintendo per day as kids, are still craving the next PlayStation like grown up junkies. Last time I played a videogame I was maybe.. 22.

Re:The 500-mile email (2002) on Wednesday April 08, 2015 @04:40AM (#9339396)
Shouldn't this account for a round trip, and the speed through copper (~ 2/3rd of the speed of light)? That would lower the radius to much more than 500 miles.
Re:The Future of Europe: An Interview with George Soros on Tuesday March 25, 2014 @09:38AM (#7465719)
I agree, except for the 'common political entity' bit. EU, till now, has been mostly a financial institution, rather than a political one. We will be a political union only when all of us will speak a common language, and all of us will be allowed to vote on the same set of politicians/leaders. Obviously, there's no well-intentioned advice from Soros, and we all know it.
Re:Speech accent archive (English) on Friday January 10, 2014 @10:59AM (#7037238)
How about all those people who learned english as a second language and then went to live in various english speaking countries? My accent is a weird mix of Italian/Irish/Northern UK sounds, it wouldn't fit anywhere in that list..
Re:Ask HN: What kind of side projects are you working on? on Tuesday November 26, 2013 @06:32AM (#6800508)
A News reading App based on the most popular news stories being shared in real time on Twitter: http://newspo.st
Re:Ask HN: Do you read a newspaper? on Saturday November 02, 2013 @07:38AM (#6658896)
This is like the 3rd time a similar question get posted on HN this week. BTW for mainstream news I use my own app: http://newspo.st

It's a iPhone news aggregator that works in the opposite way of traditional news reading apps. It uses Twitter as a sort of enhanced RSS feed and ranks news stories based on how much they are shared in real-time, laying them down in a newspaper-like format specifically designed for mobile devices.

It's really interesting because it lets you find what's important for people rather then what matters to newsroom's editors, and it puts you in a whole different point of view.

The bare bone MVP is currently available in US, UK and Italy. I'll soon release a new version with categorization and custom topics.

Or, more notably, Robocode (http://en.wikipedia.org/wiki/Robocode)
Re:Ask HN: What other news sites do you frequent? on Wednesday October 30, 2013 @12:12PM (#6641242)
It's only iOS at the moment.
Re:Ask HN: What other news sites do you frequent? on Tuesday October 29, 2013 @10:17PM (#6639024)
For tech news: here, verge, gigaom, TNW, lifehacker, venturebeat and various subreddits.

When I have time to read for a little longer and non-techie: The economist, guardian, the atlantic and other stuff in my mother tongue.

And of course if I want to read mainstream news I use my app http://newspo.st : it magically guess what news are trending on Twitter so you get what people are reading the most, which is surprisingly interesting. Still an early version, I'll soon introduce categories and custom topics as well. At the moment it's only available for iOS in US, UK and Italy.

Re:Ask HN: new top level domains? on Tuesday October 29, 2013 @10:09AM (#6634182)
To get a glimpse of the impact of this new TLDs you can just look at how much ICANN charged the registrars 'cartel' to open up this new top level names: 185K for each name [1].

This, I suppose, means each registrar plan to make a little more than a few thousands for each domain extension if they want to be profitable. They know already it's not going to be a widespread phenomena, otherwise the greedy bunch running ICANN would've charged a lot more.

Still I don't understand why the internet top-level domain control is in the hands of a private and fake non-profit organization, instead of being directly controlled by an international, third party organism such as the United Nations or something similar.

[1] http://www.techspot.com/news/47031-icann-selling-custom-top-...

Being an old trombone myself, I find the learning curve to get proficient in any recent UI framework isn't worth my time.

I use an old school text editor to write html/js manually, and then maybe I play a bit with photoshop. Results are not jaw-dropping but not too shabby either, and I can put together a landing page in a couple of hours. ( eg. http://newspo.st )

So yes, I'm here just to brag about it. I'm a terrible person. :)

Re:Ask HN: What are you working on and why is it cool? on Sunday October 27, 2013 @12:56PM (#6622506)
Simply put, I did it because what is interesting for Canadians or Australians is slightly different from what matters to people in US. I'm working to open it to other countries as well, but that requires some work on my side. At the moment is only available in US, UK and Italy. I should've mentioned it.
Re:Ask HN: What are you working on and why is it cool? on Sunday October 27, 2013 @08:36AM (#6621742)
I'm working on a news reader that works in the opposite way of traditional news reading apps. It uses Twitter as a sort of enhanced RSS feed and ranks news based on how much they are shared in real-time, and lays them down in a newspaper-like format specifically designed for mobile devices.

It allows you to find what's important for people rather then what matters to newsroom's editors, and put you in a whole different point of view. I belive it's extremely interesting, and I'm trying to make the reading experience as enjoyable as possible.

The first raw version is available for iOS: http://newspo.st

I'm in the process of adding categorization and custom topic search as well.

Re:Assembly - Quirky for Software on Friday October 25, 2013 @05:49PM (#6614880)
Ok, so I had a closer look at it and now I have a question: on the homepage you have 121 ideas atm, but I don't see where I can browse them, except for the top 10. The hello page states "Every month the Assembly community picks an amazing idea for an app". I signed up and logged in, still can't see anything past the top 10. Am I not 'community' enough or are you openly 'faking till you make it'?
Re:Introducing Cover on Friday October 25, 2013 @08:38AM (#6611187)
Dude, can I just say I wanna make love with the idea behind assembly? I just saw the website and video and it makes so much sense!!
Re:Introducing Cover on Thursday October 24, 2013 @04:58PM (#6607909)
I could build you one of those without privacy intrusion, and add the ability to switch from home/work/car automatically using GPS.

I'd be happy with 1% of what they raised , anyone interested? :(

Re:PG charts acceleration of YC applications since noon on Monday October 21, 2013 @07:25PM (#6588871)
What's the record amount of applicants per batch so far?
Re:Poll: Where are you currently living? on Monday October 21, 2013 @02:56AM (#6583808)
Ditto. I clicked them both. - Cheers from Italy.
Not on the top of my list right now, but I could definitely consider it in the future.

Show HN: Ranking mainstream News on Twitter in real-time, an experiment.

http://newspo.st/dev-preview.htmlI'd like to hear some feedback about this App I've been working on lately.It's exactly what everyone tells you not to do: a "news app", but I strongly believe this one is different: News are ranked by real-time Twitter popularity, you can see what people says on Twitter about a specific topic and you can download full articles as well. I think personalization...

( Read More... | 5 comments | 10 points | on HN )
Re:Ask HN: Creating tutorial for first time users of an app on Wednesday September 25, 2013 @08:58AM (#6444229)
I believe the most straightforward way of doing this is with your 3rd option (interactive hints through the workflow). You can easily accomplish this with popups and overlays.
Re:Average Income per Programming Language on Wednesday August 21, 2013 @06:56AM (#6249288)
I believe ITJobsWatch ( http://www.itjobswatch.co.uk/ ), despite being limited to the UK, gives a much more comprehensive overview on the topic.

Older »