It might be easier to use Avisynth or Vapoursynth with MVTools directly:
* [MVTools from Avisynth wiki](http://avisynth.nl/index.php/MVTools)
* [MVTools technical page](http://avisynth.nl/index.php/MVTools)
Example to blur blocky area with occlusion mask
I would suggest you check this page: [10 Nim One Liners to Impress Your
Friends](https://blog.ubergarm.com/blog/archive/archive-ten-nim-one-liners.md),
and also, check my own implementation of a parallel map with some improvements
here:
I would like some guidance on how to best parallelize this loop. I've played
around with the parallel: macro, and using spawn, but haven't gotten a working
solution yet. It isn't entirely clear what the best approach should be:
for i,face in faces: #face is a path to an image file
Techniques for dealing with lack of motivation, malaise, depression
Hi mratsim, The libraries provide good medium level access. AFAIK they don't
expose motion vectors though. So I'd either extend and depend them or go bare
metal. I opted for the second choice (to also learn nim) and replicate this as
a starter:
What will you use it for?
If it's to manipulate video data, preprocess, trim, filter it (convolution,
denoising, etc), it might be much easier to use
[ffms2](https://github.com/FFMS/ffms2)
Or maybe provides bindings to Avisynth (Windows-only) or
It's perfectly fine to collate all definitions into a single type block. I
already handle includes programmatically. What would be an idiomatic way to
post-process .nim files? My naive approach would be to parse the AST, reorder
it and dump it. However, I'm not sure if nim parses a file that's
Yes, the reordering can be much manual work.
For the gintro module, I do it automatically now, but it takes a few minutes to
finish -- and it is based on gobject-introspection.
The ugly way is to put all types into a single type section at the front of the
module. Many modules from early days
One use case of us requires interfacing ffmpeg. I used cpp to circumvent many
of the c2nim limitations (e.g. macros within structs). However, I don't come to
grips with type definitions that aren't declared top to bottom.
Specifically, I had to reorder many types in the avformat.nim file.
*
Thanks mratsim!
10 matches
Mail list logo