question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature request: Piping raw video in/out of custom process

See original GitHub issue

Hi @kokorin,

I’d love to have support in Jaffree for piping raw video in and out of my own custom process, specifically to be able to do something similar to this shell command:

ffmpeg -i input.mp4 -f rawvideo -pix_fmt yuv444p pipe: | ./custom-video-processor | ffmpeg -f rawvideo -r 29.97 -s 320x240 -pix_fmt yuv444p -i pipe: -f mov output.mp4

I’ve made my own hacky implementation by copying your FFmpeg class as a proof of concept. It gets the job done, but it would great to either see a proper implementation that allows the above or at least it would be nice if you could also invoke setStdInWriter as part of creating ProcessHandler in execute(), which would allow people to subclass FFmpeg easily for a use case like this.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
kokorincommented, Feb 24, 2019

@jonfryd please, check 0.8.0 release. Will be available in maven central in a few hours.

0reactions
jonfrydcommented, Feb 25, 2019

… And I’m going to switch to PipeInput + PipeOutput as a result of my findings.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Camera capture sessions and requests | Android Developers
Each request can change the active configuration and set of output pipelines that will receive the raw image.
Read more >
Feature Requests - Audacity Wiki
Requested features already in released versions, or available in builds ... Import/play video for synchronized soundtrack editing, 49, Imports and Exports.
Read more >
Pipelines & Custom Transformers in scikit-learn: The step-by ...
This article will cover: Why another tutorial on Pipelines? Creating a Custom Transformer from scratch, to include in the Pipeline.
Read more >
Angular Pipes: Learn How to Create and Implement
Pipes are a simple function in angular used to transform the output. Learn ✔️ how to use built-in pipes ✔️create custom pipes ✔️...
Read more >
Streams—The definitive guide - web.dev
Video effects: piping a readable video stream through a transform stream that applies effects in real time. Data (de)compression: piping a ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found