Better HN
topnewbestaskshowjobs
Log inSign up

Daemon404

587 karma · joined Jan 13, 2014 (12y ago) · 57 submissions

Video Person at Mux and FOSS multimedia stuff.

Also built Vimeo's video.

Submissions

comment 8y ago · link · parent

The slice approach should be pretty readily doable today with e.g. libx264 (which you can force exactly N rectangular (full-row) slices with, using i_slice_count), and calculating N based on the resolution of the eleven vertically and horziontally stitched clips and their boundaries. (And with VP9 using some craft tile-column/tile-rows setup, maybe...)

This is assuming the videos are stitched pre-encode, of course... From the post, it almost sounds as if the idea would be to stitch independent H.264 streams into a new unified one using slice mangling + slices... which would be pretty crazy stuff.

(As a side note, it's a shame flexible macroblock ordering is only in the baseline and extended profiles... I still don't understand that decision at all.)

EDIT: Dawned on me that the hard part is on the client/decode side. D'oh.

comment 8y ago · link · parent

The AOM engineering list and kavi tracker is restricted to members of organizations in AOM, as far as I am aware.

comment 8y ago · link · parent

I was mistaken, one is already written, but not merged.

So we're already in bikeshed mode ;)

comment 8y ago · link · parent

The bitstream isn't frozen yet.

As an aside: A wrapper within FFmpeg for libaom is only a few hours work, but if you want to play with it Right Now, VLC has support. A native decoder will indeed take significantly longer though.

comment 8y ago · link · parent

There is concerted effort on the AOM list to finish and close all bugs or features that require normative bitstream changes, so I would expect it isn't too much longer. The number of remaining issues is small-ish, but not zero.

The involvement of hardware people has been a boon, though tough for software people at times :).

comment 8y ago · link · parent

> I am more looking forward to future release. The current version is mostly a bitstream freeze.

It's not even a bitstream freeze. This 'release' was put out by the marking folks, and wasn't even discussed with people on the AOM list (I'm part of AOM via VideoLAN). The bitstream remains under development.

Near as I can tell this is just a PR piece before NAB.

37.

Writing x86 SIMD using x86inc.asm(blogs.gnome.org ↗)

1 points · by Daemon404 · 9y ago · discuss

38.

VideoLAN Dev Days 2016 Talks(youtube.com ↗)

1 points · by Daemon404 · 10y ago · discuss

comment 10y ago · link · parent

FFmpeg would seem to already have this: http://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavformat/a...

comment 11y ago · link · parent

I cannot imagine it truly is - it uses a variation of CABAC, which sure has patents related to it.

I wonder if they had a real legal person OK that claim.

41.

Problems and Solutions for Interaction Between C and Go(gist.github.com ↗)

1 points · by Daemon404 · 11y ago · discuss

comment 11y ago · link · parent

Nothing bad ever happens to proprietary database software... nope.

comment 11y ago · link · parent

Dang, I always figured that would be unsafe eventually.

I wonder, does this make stuff like this unsafe:

var thing C.thing; C.somefunc(&thing)

i.e. can stack address change now?

comment 11y ago · link · parent

Sure, but that requires knowledge of how LLVM works. Some dude checking out the language probably doesn't.

comment 11y ago · link · parent

Perhaps I scanned too quickly. I probably missed since there is no actual mention of ABI (or e.g. which calling conventions it supports on what platforms). The page is confusing - it seems to discuss ABI and syntax and stuff, which isn't exactly related to "compatability" afaict.

I digress... just the usual problems with wiki-type sites.

comment 11y ago · link · parent

I can't find any mention of if they provide a C-compatible ABI. Kinda useless as a systems language if they don't - you can't call it from anything else.

comment 12y ago · link · parent

> It is not difficult to get some kind of honorary position with a research institute when you work in industry.

I think this statement is uh... a tad misleading. This depends a lot on your particular field of interest/research and companies you work for. Also, notoriety.

comment 12y ago · link · parent

Hey, I'm 'Daemon404' on FreeNode and Mozilla IRC, or you can grab my FOSS email from my GitHub account or FFmpeg/Libav's git repo.

comment 12y ago · link · parent

mozjpeg has such a bug opened too: https://github.com/mozilla/mozjpeg/issues/8

This isn't exactly new ground beign covered here, nor is it tied to one image format, so I wish people would be a little less NIH-y sometimes...

comment 12y ago · link · parent

You ought to take a look at jpeg-archive: https://github.com/danielgtaylor/jpeg-archive (the bbcq-like is similar to jpegmini's weighting).

comment 12y ago · link · parent

I agree, and as stated in my other comment, I believe it needs downstream support to be adopted properly.

To that end I plan to add support to ImageMagick, and perhaps write a PS plugin.

comment 12y ago · link · parent

I am waiting until 3.0 when they roll out their plan for ABI compatibility (it currently masquerades as jpeg62 but is not compatible), and decide on a defacto way to detect if you are building against vanilla libjpeg(-turbo) or mozjpeg (currently you can check for some of their struct members, but they have not stated if they will be going away or not when ABI compatibility is addressed).

At that point I plan to submit a patch to ImageMagick to detect it and enable the user options if mozjpeg is being used. I believe downstream support in libraries like ImageMagick is key to adoption, rather than adding makeup to a pig (input support for N formats in cjpeg).

comment 12y ago · link · parent

You can 'optimize' encode-time by using better chroma downsampling, but really the issue is usually on the client side upsampling (a lot of libs use terrible nearest neighbor for 'speed').

As for trellis, you should play with the different metrics available (MS-SSIM etc), but I agree I have not been wowed yet.

comment 12y ago · link · parent

It should be noted, since it is nowhere to be seen in this post, it breaks API and ABI while still presenting itself as libjpeg version 6 to the system, which is very evil.

Open Issues:

https://github.com/mozilla/mozjpeg/issues/67 https://github.com/mozilla/mozjpeg/issues/21

55.

Open Source JPEGmini Clone(github.com ↗)

1 points · by Daemon404 · 12y ago · discuss

12