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 2015
Posts: 29
|
Is there a way to prioritize video frames?
Hi experts,
As we see different videos in our daily life , the obvious fact is that not every frame contains equal amount of important information. I am trying to apply a protection to video frames based on their importance in video.For that i need to prioritize a frame based on criteria(which i don't know yet). What i want to know is there any quantitative measure that can calculate frame importance or priority in video streams? |
![]() |
![]() |
![]() |
#2 | Link |
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,262
|
If with "prioritize" you mean that you want to give certain frames a higher quality (more bits) as compared to the rest, then --qpfile is what you are looking for:
https://en.wikibooks.org/wiki/MeGUI/...ettings#qpfile And, if you want to do this on a per-macroblock basis instead of a per-frame basis, we are talking about ROI (region of interest) encoding. This is only possible via API, not via CLI. How to decide which frames (or regions) you want to "prioritize", that's a totally different question and can only be answered with more context...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 18th February 2016 at 22:10. |
![]() |
![]() |
![]() |
#3 | Link | |
Registered User
Join Date: Nov 2015
Posts: 29
|
Quote:
Hope you understand. |
|
![]() |
![]() |
![]() |
#4 | Link |
47.952fps@71.928Hz
Join Date: Mar 2011
Posts: 940
|
Would this be like for security videos?
Motion tracking, per se?
__________________
Win10 (x64) build 19041 NVIDIA GeForce GTX 1060 3GB (GP106) 3071MB/GDDR5 | (r435_95-4) NTSC | DVD: R1 | BD: A AMD Ryzen 5 2600 @3.4GHz (6c/12th, I'm on AVX2 now!)
|
![]() |
![]() |
![]() |
#5 | Link |
Registered User
Join Date: Nov 2015
Posts: 29
|
Not actually. Again to be more clear. For example I have IPPP structure and GOP contains 30 frames. And as we know first I frame is much more important than P frames so i will give more priority to first I frame. Then for remaining P frames initial P frames are more important than last P frames. So on what basis can i define a threshold so that i can say initial 25% percent P frames are much important that last 25% of frames?
|
![]() |
![]() |
![]() |
#7 | Link | |
Registered User
Join Date: Nov 2015
Posts: 29
|
Quote:
|
|
![]() |
![]() |
![]() |
#8 | Link | |
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,262
|
Quote:
![]() You only need a --qpfile option (or ROI encoding), if you want to overwrite the encoder's rate control and/or frame type decisions, in some specific places. See also: * http://git.videolan.org/?p=x264.git;...atecontrol.txt (a bit outdated, but still gives the idea) * https://web.archive.org/web/20120910...cx/archives/98
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 21st February 2016 at 15:28. |
|
![]() |
![]() |
![]() |
Tags |
frames, h.264, perceived resolution |
Thread Tools | Search this Thread |
Display Modes | |
|
|