1

I'm planning to pipe live image data (bitmaps) to ffmpeg in order to create an AVI file.

Looking at the ffmpeg docs regarding pipes, https://ffmpeg.org/ffmpeg-protocols.html#pipe, it only mentions UNIX pipes.

I'm planning using the technique described here: is it possible to send ffmpeg images by using pipe?

Is there a major difference on Windows that causes piping data to ffmpeg not working on Windows?

Jason
  • 3,777
  • 14
  • 27
Totte Karlsson
  • 1,261
  • 1
  • 20
  • 55

1 Answers1

0

A follow up to my own question;

Using a named pipe on Windows, works fine with ffmpeg. Currently the following command:

ffmpeg.exe-y -hide_banner -vcodec rawvideo -f rawvideo -r 80 -s 658x492 -pix_fmt gray -i \\.\pipe\DEV_000F315BE933 -r 80 -c:v rawvideo X:\DEV_000F315BE933_2019T100914.avi

can record live video at 80 fps reliably.

Totte Karlsson
  • 1,261
  • 1
  • 20
  • 55
  • As a follow up, I was reading about limitations after windows 10 v1709. You can only access a named pipe within your app-container. Just wondering if you ever had issues using named pipes from a different shell? – moi Sep 08 '21 at 17:05