Log in

View Full Version : FFMPEG to create a lossless video with a 3DLut


Revgen
27th May 2017, 03:26
I'm a dunce when it comes to FFMPEG syntax. Any help would be appreciated.

This command works.

ffmpeg -i D:\workfile.avs -c:v utvideo -pred 1 D:\workfile.avi

This command with the lut3d filter does not.

ffmpeg -i D:\workfile.avs -vf lut3d=<D:\workfile.cube> -c:v utvideo -pred 1 D:\workfile.avi

FFMPEG tells me that it's unable to find a suitable output format for utvideo. What am I doing incorrectly?

sneaker_ger
27th May 2017, 08:14
Escaping is a bit complicated.
https://ffmpeg.org/ffmpeg-filters.html#Notes-on-filtergraph-escaping

ffmpeg -i "D:\workfile.avs" -vf "lut3d=file=D\\:\\\workfile.cube" -c:v utvideo -pred 1 "D:\workfile.avi"

Easier to not use full paths:
ffmpeg -i "workfile.avs" -vf "lut3d=workfile.cube" -c:v utvideo -pred 1 "workfile.avi"

Revgen
27th May 2017, 16:49
The command works now. Thank you.