Velvet Star Monitor

Standout celebrity highlights with iconic style.

updates

FFmpeg: Unrecognized option preset

Writer Matthew Harrington

I'm using ffmpeg to convert yuv to mp4 losslesly in ubuntu 14.04.

My code is (without line splitting):

ffmpeg -f rawvideo -vcodec rawvideo -s 560x448 -r 40 -pix_fmt yuv420p -i
C_L_560x448_40_realtime_maxSSIM.yuv -c:v libx265 -preset ultrafast -qp 0
realtimeC_L_560x448_40_realtime_maxSSIM.mp4

I get

Unrecognized option 'preset'.
Error splitting the argument list: Option not found

This is the full console output:

ffmpeg version N-80953-gd4c8e93 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3) configuration: libavutil 55. 28.100 / 55. 28.100 libavcodec 57. 50.100 / 57. 50.100 libavformat 57. 41.100 / 57. 41.100 libavdevice 57. 0.102 / 57. 0.102 libavfilter 6. 47.100 / 6. 47.100 libswscale 4. 1.100 / 4. 1.100 libswresample 2. 1.100 / 2. 1.100
Unrecognized option 'preset'.
Error splitting the argument list: Option not found

Do you know how to fix this?

4

1 Answer

For me this meant I had run configure with --disable-everything and enabled libx264, but not enabled its "encoder" so this fixed it up: --enable-libx264 --enable-encoder=libx264

Something like this:

ffmpeg $ ./configure --disable-everything --enable-libx264 --enable-encoder=libx264

You might be able to get away with just --enable-libx264

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy