Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upsliced_h_pix_fmt_conv_proc using needs performance improvement? #499
Comments
|
Most source video is 8-bit YUV 4:2:0, but that is not a good format for image processing due to sub-sampled chroma. Almost no routines support processing on that (not frei0r or Qt, only sometimes libavfilter). One way to avoid this is to do more processing in 8-bit YUV 4:2:0, but the new standard in video is 10-bit HDR. People can strive to port routines to be more pixel format independent, which is very difficult to do while also optimizing performance. If you want to improve performance of libswscale, then ask FFmpeg, and good luck as it is already quite optimized. If you want to use GPU and OpenColorIO for pixel format conversion, well, that is an enhancement request. I hope to spend a fair amount of time in 2020 to improve image processing performance. OpenColorIO might be a part of that depending on the rest of the pipeline running on GPU to reduce the costly transfer of heavy image data transfer between CPU and GPU memory. When profiling, it is often more useful to look for surprises and not the areas that you already know are costly. For example, should |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

Hotspot is reporting a high cpu usage in line 1322 of producer_avformat.c:
sws_scale( sws, in, in_stride, 0, h, out, out_stride );
The caller is mlt_slices_worker and the callee is sws_scale. This seems to happen in both Kdenlive and Shotcut.