[FFmpeg-user] Creating image stream from h264 and piping

Moritz Barsnick barsnick at gmx.net
Thu Oct 13 22:14:38 EEST 2016


Hi Adriano,

On Thu, Oct 13, 2016 at 12:33:15 +0200, Adriano Todaro wrote:
> [NULL @ 0x5590e4565b00] Unable to find a suitable output format for 'pipe:1'
> pipe:1: Invalid argument
[...]
> Seemingly because ffmpeg can't guess the output format anymore.

Right, not from "pipe:". You'll have to tell it about the format you wish to use.

> So the question is: how can crete a stream of jpeg images that I can send
> through pipe:1?

A series of images has the format "image2pipe". (I think documentation
for that format is weak.)

> I've tried to add something like "-f jpeg" but of course it didn't work.

"-c:v mjpeg -f image2pipe pipe:1" should do the trick. 

Moritz


More information about the ffmpeg-user mailing list