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

2018-04-04 Thread Carl Zwanzig
On 4/3/2018 8:55 PM, Adam Nielsen wrote: I've had a look through the manpage but I can't find any options that can do this. The -r and -vsync options seem to only drop frames to match a constant framerate (rather than trying to minimise latency) and -frame_drop_threshold looks to be similar,

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

2018-04-04 Thread Adam Nielsen
Hi Victor, Many thanks for your reply! > 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. This looks like the best option for me. With fps=15, removing the rotation filter, and adding

Re: [FFmpeg-user] Lavfi video generator slow performance

2018-04-04 Thread Carl Eugen Hoyos
2018-04-05 0:56 GMT+02:00, Elliott Balsley : > ffmpeg -f lavfi -i color=color=red -t 60 -pix_fmt rgb48le -y > -s 3840x2160 ffmpeg\%4d.tiff Complete, uncut console output missing. You get significantly higher performance if you tell the color filter to create its output

[FFmpeg-user] Lavfi video generator slow performance

2018-04-04 Thread Elliott Balsley
Hello. I'm trying to use ffmpeg to generate test images, and I'm not getting very fast performance. Is there any way to improve speed? If Lavfi is the problem, then is there any other high-performance virtual input I can use instead? I would actually prefer to use something more complex, like

[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

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

2018-04-04 Thread 陈阳
Hi guys, I use ffmpeg to convert a sequence of images to a video, i find that after i feed first image to it and almost 6 seconds later ffmpeg output first video frame to me. I use command as follow: ffmpeg -f image2pipe -r 100 -i pipe:0 -f flv -r 100 -tune zerolatency -preset

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