1 year ago

#324712

test-img

Hillel Rosensweig

Output FFmpeg rawvideo to stdin with lib

I am writing a C program using FFmpeg libav, and trying to output rawvideo (from file or device) packets to stdin so that they can be picked up by another program running on my system.

Any suggestions on how to do this? For example, can I relate to stdin like a filename and just use avformat_alloc_output_context2 and avio_open like I would when recording to a file?

I there some code reference which deals with this scenario? Thanks.

c

ffmpeg

stdin

libav

0 Answers

Your Answer

Accepted video resources