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

2018-04-13 Thread Moritz Barsnick
On Fri, Apr 13, 2018 at 08:17:41 +0200, Paul B Mahol wrote: > > I'm not a programmer, sorry. I guess ffmpeg is not the right tool for this > > job. Thanks. > > Have you ever noticed there are other video source filters? Like life, > cellauto > and mptestsrc? Indeed, if all you need is frames

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

2018-04-13 Thread Paul B Mahol
On 4/13/18, Elliott Balsley wrote: >> Why do you convert to rgb48? >> Do you understand that this cannot improve quality? > > Yes of course. I don't care about the quality, but I need sample files in > this format to test my other program. > >> The mandelbrot filter is

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

2018-04-12 Thread Elliott Balsley
> Why do you convert to rgb48? > Do you understand that this cannot improve quality? Yes of course. I don’t care about the quality, but I need sample files in this format to test my other program. > The mandelbrot filter is slower than the color filter, yes. > (asm optimization patch likely

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

2018-04-12 Thread Carl Eugen Hoyos
2018-04-13 0:31 GMT+02:00, Elliott Balsley : > ffmpeg.exe -f lavfi -i mandelbrot=s=3840x2160 -t 10 -pix_fmt rgb48le > -f null - Again: Why do you convert to rgb48? Do you understand that this cannot improve quality? The mandelbrot filter is slower than the color

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

2018-04-12 Thread Elliott Balsley
> If you add " -f null -" to the above, you can test if the disk > is the bottleneck (see "fps" in the status line). > (The command line is supposed to occupy >= 8 cores) Thanks for the advice everyone. I was wrong about the RAID speeds, it does seem like disk write is the bottleneck in this

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

2018-04-07 Thread Carl Eugen Hoyos
2018-04-06 2:04 GMT+02:00, Elliott Balsley : > Thank you, with that suggestion I do get approximately double the speed. > But still my CPU usage is very low. Is there any way to get more > performance out of this? > > > ffmpeg.exe -f lavfi -i color=color=red:s=3840x2160

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

2018-04-06 Thread Reindl Harald
Am 06.04.2018 um 14:47 schrieb Roberto Ragusa: > On 04/06/2018 06:56 AM, Carl Zwanzig wrote: > >> Do you _really_ need a bunch of identical TIFF files? If they're all the >> same, make one file and use a script to copy/rename it a bunch of times. >> (And TIFFs are huge compared to other still

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

2018-04-06 Thread Roberto Ragusa
On 04/06/2018 06:56 AM, Carl Zwanzig wrote: > Do you _really_ need a bunch of identical TIFF files? If they're all the > same, make one file and use a script to copy/rename it a bunch of times. (And > TIFFs are huge compared to other still image formats anyway.) On Linux one would use a single

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

2018-04-05 Thread Carl Zwanzig
A few things- On 4/5/2018 9:23 PM, Elliott Balsley wrote: I have 8 SSDs in RAID5 on a LSI 9361 SAS controller, formatted as NTFS. I got the 3000 number from AJA System Test. That test was writing a single file, so probably performance would drop when writing lots of small files. I will

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

2018-04-05 Thread Elliott Balsley
Those are good questions, thank you. I have 8 SSDs in RAID5 on a LSI 9361 SAS controller, formatted as NTFS. I got the 3000 number from AJA System Test. That test was writing a single file, so probably performance would drop when writing lots of small files. I will benchmark again with

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

2018-04-05 Thread Elliott Balsley
Yes, this RAID can write at 3000MBps. > On Apr 5, 2018, at 17:22, Kieran O Leary wrote: > > Hi > >> On Fri, 6 Apr 2018, 01:11 Elliott Balsley, wrote: >> >> Thank you, with that suggestion I do get approximately double the speed. >> But

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

2018-04-05 Thread Kieran O Leary
Hi On Fri, 6 Apr 2018, 01:11 Elliott Balsley, wrote: > Thank you, with that suggestion I do get approximately double the speed. > But still my CPU usage is very low. Is there any way to get more > performance out of this? > > > ffmpeg.exe -f lavfi -i

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

2018-04-05 Thread Elliott Balsley
Thank you, with that suggestion I do get approximately double the speed. But still my CPU usage is very low. Is there any way to get more performance out of this? ffmpeg.exe -f lavfi -i color=color=red:s=3840x2160 -t 60 -pix_fmt rgb48le -y -s 3840x2160 TIFF\output%4d.tiff ffmpeg version

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