Re: [FFmpeg-user] FFMPEG libx264 not found error

2018-04-05 Thread Victor Carneiro Fardim
Hello, Niket. This message means that the libx264 binaries and headers are not installed or were not found. FFmpeg itself does not come with libx264 - the libx264.c file is just a wrapper for libavcodec to interact with libx264. The solution is to install libx264-dev from your distribution's

[FFmpeg-user] libharfbuzz linking error when trying to compile FFmpeg.

2018-04-04 Thread Victor Carneiro Fardim
Hello. So, I'm trying to compile a custom build of FFmpeg, but whenever it gets to the executable linking stage, it fails with the following message: LD ffmpeg_g /usr/lib/libharfbuzz.so.0: undefined reference to `FT_Done_MM_Var' /usr/lib/libharfbuzz.so.0: undefined reference to

Re: [FFmpeg-user] Question about using ffmpeg to convert a sequence of images to video

2018-04-04 Thread Victor Carneiro Fardim
Hi, Chen Yang. I see you are using good encoder settings to minimize encoding latency. In this case, I'd try messing around with the VBV buffer (`-bufsize`). Try setting `-bufsize` very low, for instance, 128k. This will, however, result in a (significantly) reduced quality due to the bitrate

Re: [FFmpeg-user] How to drop frames to limit memory usage (or keep latency low)?

2018-04-04 Thread Victor Carneiro Fardim
Hi, Adam. I don't see any way to do automatic frame skipping in FFmpeg. What you could do is reduce the output framerate by using the `-r (framerate)` or the `fps` video filter, which will reduce the encoding load on the CPU. Adjust this until the average encoding throughput is 1.00x (that

[FFmpeg-user] Error when trying to compile FFmpeg with libaom

2018-03-30 Thread Victor Carneiro Fardim
When trying to build the latest Git build of FFmpeg with libaom enabled, I'm getting the following error: CC libavcodec/libaomdec.o In file included from ./libavutil/common.h:105:0 , from libavcodec/libaomdec.c:29 : ./config.h:38:0: warning: "ARCH_X86" redefined