Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
![]() |
#1 | Link |
Registered User
Join Date: Nov 2016
Posts: 1
|
Optimize x264 based remote desktop by dirty regions
I was using x264 to achieve remote desktop, but had some problems on handling P_SKIP detection.
Dirty regions indicate changed areas. I would like to encode those macroblocks which don't intersect any dirty region as P_SKIP types. I inserted the following code into x264_macroblock_prob_skip_internal function: Code:
if (! h->isdirty[h->mb.i_mb_x][h->mb.i_mb_y] && ! M32(h->mb.cache.pskip_mv)) return 1; My question is how to speed up x264 by considering dirty regions? Last edited by Useprxf; 23rd November 2016 at 10:03. Reason: Fix grammar errors |
![]() |
![]() |
![]() |
#2 | Link |
Registered User
Join Date: Feb 2020
Posts: 529
|
There is now support for that in ffmpeg: https://github.com/FFmpeg/FFmpeg/com...29d40daee4284a
|
![]() |
![]() |
![]() |
Tags |
dirty region, p_skip, x264 |
Thread Tools | Search this Thread |
Display Modes | |
|
|