A
A
Andrei Vukolov2018-03-29 15:13:09
bash
Andrei Vukolov, 2018-03-29 15:13:09

How to pass image stream to ffmpeg standard input for compression?

There is a fairly simple task for which I can’t think of a solution yet: you need to feed ffmpeg from standard input (via the console pipeline | ) to compress a stream consisting of black and white 8-bit images (the output format will most likely be PGM) . Can anyone suggest a command line example for such a call?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Saboteur, 2018-03-30
@saboteur_kiev

pictures are not a stream, they are separate structures with headers and checksums.
Therefore, they should be submitted as separate files.
What's the problem with setting ffmpeg on files?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question