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: Jul 2020
Posts: 76
|
Convert Framerate WITHOUT interpolation
im using staxrip to convert some variable framerate footage from my phone to constant framerate prores to be edited, but i cant work out how to change the framerate without interpolation? all i want to do is convert the framerate without changing the runtime. if i convert using x264/5 and change the frame rate in those settings, it just speeds up/slows down the footage. with prores, there is no framerate setting, so i have to use avs. I click on framerate, click on convertFPS and then select what i want it to be, but it interpolates to that framerate, i realised when i read the readme in the files for staxrip. how do i get to change the framerate without interpolation? handbrake can do it, but not to prores.
|
![]() |
![]() |
![]() |
#2 | Link |
Registered User
Join Date: Sep 2007
Posts: 5,216
|
ChangeFPS will duplicate or drop frames to achieve the desired framerate without changing the run time (rounded to nearest frame because you can't have fractional frames)
(ie.. the interpolation is duplicating frames instead of blending frames) Sometimes the source filter can be used to do this as well (e.g. ffvideosource, fpsnum, fpsden) |
![]() |
![]() |
![]() |
#3 | Link | |
Registered User
Join Date: Jul 2020
Posts: 76
|
Quote:
|
|
![]() |
![]() |
![]() |
#4 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,669
|
It kinda depends a bit upon your script, and target rate.
Code:
ChangeFPS(25.0) # 25 FPS, with default special un-named implicit Last clip as source, implied assign result to special Last clip ChangeFPS(24000,1001) # 23.976 FPS (numerator,denominator) # ... src.ChangeFPS(25.0) # 25 FPS, with named source clip, implied assign result to special Last clip src.ChangeFPS(24000,1001) # 23.976 FPS (numerator,denominator) # ... dst = src.ChangeFPS(25.0) # 25 FPS, with named source clip, and assign to dest clip dst = src.ChangeFPS(24000,1001) # 23.976 FPS (numerator,denominator) http://avisynth.nl/index.php/FPS Wiki Main Page:- http://avisynth.nl/index.php/Main_Page
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
![]() |
![]() |
![]() |
#5 | Link | |
Registered User
Join Date: Jul 2020
Posts: 76
|
Quote:
|
|
![]() |
![]() |
![]() |
#6 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,669
|
Well as I still have less idea than you about what you are doing [ie what framerate are you aiming at],
try either the first or 2nd optional lines given [altering for your target rate], if whole number of FPS, then 1st one, else 2nd. EDIT: If 29.97, then Code:
ChangeFPS(30000,1001) # 29.97 is not the exact number, numerator,denominator provides as near as possible. Code:
ChangeFPS(60000,1001) # 59.94 [59.94005994005994005994005994005994005994005994005994005994 ... 005994 ... ]
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 22nd February 2021 at 22:30. |
![]() |
![]() |
![]() |
#7 | Link | |
Registered User
Join Date: Jul 2020
Posts: 76
|
Quote:
|
|
![]() |
![]() |
![]() |
#8 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,669
|
Oh good, as an afterthought I added that too [59.94].
Glad you got it sorted. EDIT: You can put Code:
Info
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 22nd February 2021 at 22:53. |
![]() |
![]() |
![]() |
Tags |
frame rate, framerateconverter, handbrake, interpolation, staxrip |
Thread Tools | Search this Thread |
Display Modes | |
|
|