Hacker News new | ask | show | jobs
by jcun4128 2028 days ago
Don't mean to be nosy ha, what is the code you were working on/had on screen? Perhaps not specifics but language/context the grouping seemed interesting. (the indents are insane is it Go/Linux?)

I guess when you say "saving raw frames"... are you saying this video you made was not simple by "push record button, .mp4 comes out"?

Oh the white background comment is about the iso/bad balance?

Anyway thanks this is pretty cool... I just ordered mine so won't be able to play around with it till January.

1 comments

That's part of the C code running on the phone, recording itself. Kinda meta. :)

There's quite a lot of https://en.wikipedia.org/wiki/Vignetting going on. Camera sensors have anti-vignetting circuitry that is supposed to eliminate this, but it needs to be calibrated to each module and maybe even enclosure the module is in.

I recorded this via a C program, but you can do the same via v4l2-ctl command line tool and encode the result with ffmpeg.

> That's part of the C code running on the phone, recording itself. Kinda meta. :)

Oh man that's cool. I'm working towards that level (C/C++) but coming from JS/Python where you can pretty much "do anything" it's challenging(typing problems in particular eg. array of assorted things of any length).

Oh interesting about the Vignetting will have to read up on that not familiar with the term.

> ffmpeg

Yeah that's something cool I gotta work with too at some point.

Thanks