M
M
mrxakerrus2018-02-10 23:02:52
bash
mrxakerrus, 2018-02-10 23:02:52

How to transcode video from Pipe with ffmpeg?

There is a program that outputs video to stdout h264 (let's say even cat file.h264), but the question is how to encode this file via ffmpeg directly from the command line in real time from stdout, I tried to write something like cat file.h264|ffmpeg -i pipe:0 file.mp4 gives no result

Answer the question

In order to leave comments, you need to log in

1 answer(s)
3
3vi1_0n3, 2018-02-13
@3vi1_0n3

So have you tried it?
cat file.h264 | ffmpeg -i - file.mp4

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question