14.04.2020, 09:27
Hello there, people.
I'm a bit of a newbie when it comes to video coding, so naturally from time to time I get in troubles that I can't solve on my own.
My today's problem, as the title states, is with variable FPS video. It is a DVD source, that Hybrid and MediaInfo both identify as telecine 720x480 29.97fps mpeg-2, but in reality I encounter two problems with that.
First one: I recently discovered, that my previous attemt to build intermediate frames and increase it's fps to 60 resulted in double frames during most of the video.
Second one: Hybrid output has the length of 2:00:38 instead of the source's 2:20:47 effectively losing 20 minutes in length without losing any parts of the initial video - at least as far as I can tell (I didn't watch the whole 2 hours to be honest). So in my attempts to pinpoint the problem I eventually opened the source in Media Player Classic, put my Smooth Video Project on temporary suspend mode (it is a program, that builds intermediate frames for the video being played on the go, so by that I effectively excluded a possibility of it's interferance), and then watched the source with "Statistics" mode turned on.
What I saw was video fps statistics fluctuating from scene to scene - it went as high as 60 and as low as 24 fps. So now my goal is to come up with a way to "pull" all the low fps parts up to 60 and drop everything, that exceeds. The problem with SVP script that I use seems to be that it sees 60fps parts in the beginning of the video and then just stops building intermediates for the rest of it.
Any ideas?
I'm a bit of a newbie when it comes to video coding, so naturally from time to time I get in troubles that I can't solve on my own.
My today's problem, as the title states, is with variable FPS video. It is a DVD source, that Hybrid and MediaInfo both identify as telecine 720x480 29.97fps mpeg-2, but in reality I encounter two problems with that.
First one: I recently discovered, that my previous attemt to build intermediate frames and increase it's fps to 60 resulted in double frames during most of the video.
Second one: Hybrid output has the length of 2:00:38 instead of the source's 2:20:47 effectively losing 20 minutes in length without losing any parts of the initial video - at least as far as I can tell (I didn't watch the whole 2 hours to be honest). So in my attempts to pinpoint the problem I eventually opened the source in Media Player Classic, put my Smooth Video Project on temporary suspend mode (it is a program, that builds intermediate frames for the video being played on the go, so by that I effectively excluded a possibility of it's interferance), and then watched the source with "Statistics" mode turned on.
What I saw was video fps statistics fluctuating from scene to scene - it went as high as 60 and as low as 24 fps. So now my goal is to come up with a way to "pull" all the low fps parts up to 60 and drop everything, that exceeds. The problem with SVP script that I use seems to be that it sees 60fps parts in the beginning of the video and then just stops building intermediates for the rest of it.
Any ideas?