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. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#1 | Link |
|
Registered User
Join Date: May 2016
Posts: 235
|
Drop/Remove Frames
I am going crazy here, math is not my strongest side, so If someone can help me. I got a movie that dublicates (wrong frames) the hole movie (25 fps). So I need to drop frames/remove this frames. I don't know how to figure out the first frame that needs to be deleted, but when looking a bit in the movie, I get that this frames between 2518-2550 this must be removed:
... 2518 2520 2523 2525 2543 2545 2548 2550 ...
__________________
Automatic Colorization Last edited by color; 11th March 2020 at 13:03. Reason: my keyboard did press the "v"-keyboard, it does this sometimes. Don't know why. |
|
|
|
|
|
#2 | Link | |
|
Registered User
Join Date: Sep 2010
Location: Ukraine, Bohuslav
Posts: 377
|
Probably not so optimal solution, but assuming pattern doesn't changes the whole movie (python code below)
Quote:
__________________
Me on GitHub PC Specs: Ryzen 5950X, 64 GB RAM, RTX 2070 Notebook: Ryzen 7945HX, 64 GB RAM, RTX 4060, 17'' @ 240Hz @ 1440p |
|
|
|
|
|
|
#3 | Link | |
|
Registered User
Join Date: May 2016
Posts: 235
|
Quote:
__________________
Automatic Colorization |
|
|
|
|
|
|
#4 | Link |
|
Registered User
Join Date: Sep 2010
Location: Ukraine, Bohuslav
Posts: 377
|
No problem with that. Python3 is handy interpreter for small calculations (and more).
__________________
Me on GitHub PC Specs: Ryzen 5950X, 64 GB RAM, RTX 2070 Notebook: Ryzen 7945HX, 64 GB RAM, RTX 4060, 17'' @ 240Hz @ 1440p |
|
|
|
|
|
#5 | Link | |
|
Registered User
Join Date: May 2006
Posts: 4,087
|
Quote:
If the pattern is regular you could probably also use Selectevery(…). Last edited by Sharc; 12th March 2020 at 00:22. |
|
|
|
|
|
|
#6 | Link | |
|
Moderator
![]() Join Date: Oct 2001
Location: Hawaii
Posts: 7,406
|
Quote:
There might not be enough information supplied yet to be sure, but it seems there are 4 duplicate frames in every 25. If so, the TDecimate syntax goes: TDecimate(Mode=0,Cycle=25.CycleR=4) Again, as Sharc says, this relies on the pattern being regular. And the result is 21fps, an odd framerate unless, maybe, it's a silent film. |
|
|
|
|
![]() |
| Tags |
| remove frames |
| Thread Tools | |
| Display Modes | |
|
|