Giter VIP home page Giter VIP logo

Comments (6)

dheitmueller avatar dheitmueller commented on July 27, 2024

Hello,

So there is no actual decklink code in the libklvanc library itself. The command line apps in the klvanc-tools project do use decklink, and that code wasn't written to be portable to Windows.

While we haven't tried to build it on WIndows, I don't believe there is anything in there that wouldn't work (it should all be pretty portable ANSI C99). There might be one reference to pthreads for a piece of non-essential functionality (a cache for statistics), which you can likely just #ifdef out.

If you do encounter specific issues, don't hesitate to let us know.

Devin

from libklvanc.

mchibani-sfl avatar mchibani-sfl commented on July 27, 2024

Thank you very much for the prompt answer.
Sure, I will give it a try and give you my feedback.
The answer will do for me, so it's up to you to close the issue or not

Regards,

from libklvanc.

mchibani-sfl avatar mchibani-sfl commented on July 27, 2024

Hi,
Some feedback regarding the compilation of the lib on Windows. As you assumed, it went pretty well for the core lib (/src folder), except few changes (see summary below). For the tools, as you mentioned I had to disable all the posix related stuff. For now, I just enabled the smpte12-2 test.
I have forked your project to experiment. I am using CMake in order to have a kind of unified build system:
https://github.com/mchibani-sfl/libklvanc/tree/add-cmake-support

Change summary:
core lib:

  • replace __builtin_parity by a temporary generic version (a very naive one)
  • disable all the VANC cache stuff
  • disable 'Restricted code path'

The work is very preliminary, but I am willing to share at least for the core lib part. However, I can not commit to the tools part, as they require much more work.
BR.
mchbibani

from libklvanc.

stoth68000 avatar stoth68000 commented on July 27, 2024

Great!

While I'm not massively interested in merging partial windows improvements into the tree, if they're not completely useful on their own (with the tools), It's good news to see that you've made solid progress.

If you do come up with a concrete PR that fully supports windows then we'd be happy to review.

Good luck, thanks again for the feedback.

from libklvanc.

mchibani-sfl avatar mchibani-sfl commented on July 27, 2024

Just to let you know that the project that uses the KLVanc lib will be ported to Linux soon. The work done on Windows was only to prototype. Thus, we do not plan to put more time into it.
Thanks again for your feedback.

from libklvanc.

stoth68000 avatar stoth68000 commented on July 27, 2024

That's great to hear, thanks.

from libklvanc.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.