[FFmpeg-user] Raw video format

Carl Eugen Hoyos ceffmpeg at gmail.com
Tue Jan 10 13:05:24 EET 2017

2017-01-09 23:11 GMT+01:00 Mattias Andrée <maandree at kth.se>:
> I have a stream of YUV colours (with alpha), stored with raw
> `double`s.

FFmpeg does not support float pix_fmt and at least some developers
believe that this wouldn't help anyway for expected input.

> I want to use ffmpeg -f rawvideo -pix_fmt ayuv64le
> to convert this into a normal video format.

This is the point:
"Normal" video format is integer, so why would it help if you
input float?

> How should I encode each pixel so that ffmpeg can decode them?

RGBA64 comes to mind if your input is rgb.

If you want to input float into FFmpeg, you have to write exr
frames but note that they are converted to int before any
further processing.

Carl Eugen

More information about the ffmpeg-user mailing list