in reply to Re^2: figuring out Parallel::ForkManager slots
in thread figuring out Parallel::ForkManager slots

The example has not been tested, since I write out pipe/fork/select/waitpid longhand when I need them (usually with child processes feeding reports into the Tk event loop through pipes) and do not have Parallel::ForkManager installed. It had a silly mistake that is now fixed, although it does not actually do anything because it does not define contents for the @data array nor is there any actual code to run in the child processes.

A frame server? Some program that buffers video piecemeal while x265 works on it? Is there a native alternative you could use? Pulling in Wine here just seems ... unnecessary.

Replies are listed 'Best First'.
Re^4: figuring out Parallel::ForkManager slots
by ramicio (Novice) on Sep 07, 2019 at 04:57 UTC
    Are you familiar with avisynth and what it can do? I'm dealing with 10-bit HDR video here. It's not as simple as throwing it in mencoder or ffmpeg. Regardless, wine and an install of avisynth IS the easiest route to serve frames to an encoder. There are other avisynth-like things for Linux, but it's not worth my time, and I doubt they deal with higher bit depths well.
      Are you familiar with avisynth and what it can do?

      Sadly not, although the AVISynth wiki looks very interesting.

      Anyway, I have fixed the stupid mistake in the example earlier, so it should at least run now, if I read the Parallel::ForkManager documentation correctly.