#NEED GUIDENCE ON REPEATED FRAME DROP

1 messages Β· Page 1 of 1 (latest)

rugged path
#

ffmpeg need some code guidance + video in/out guidance

brisk vigil
#

What cmd are you currently using? What is input and output type? Source is from shadow play or obs?
As a thumb rule, try reducing bitrate to find best setting corresponding to ur monitor and gfx card.

rugged path
#

source is from shadow play

tardy brook
#

Hey priyabatra.. Here's the code which I use..to output in apple prorres format. the Key here is mpdecimate which actually removes duplicate/repeated frames to give you butter smooth footage, however audio/video sync may suffer

**ffmpeg -i a.mp4 -vf mpdecimate,setpts=N/FRAME_RATE/TB -c:v prores_ks -profile:v 3 -c:a pcm_s16le b.mov **

// here replace"a.mp4" with your source file and "b.mov" would be your output in apple prores mov file

#

Repeated frames can be caused if your game FPS drops below 60 fps (assuming you will record at 60fps), hence the same frame might get captured twice to create a Fake/duplicate frame in your gameplay recordings. this may also happen if the Recording/capturing process gets less resources.

To achieve pure 60-60 FPS gameplay recording, try capping your FPS (in-game) to either 60 fps or double, such that GPU gets some headroom to ensure recording is done smoothly

brisk vigil
#

Ffmpeg can be time consuming and irritating to use via cmd line, use some other applications like handbrake.

tardy brook
#

as far as I am aware mpdecimate doesn't have a GUI in handbrake. Honestly ffmpeg can be far superior when it comes to this particular issue. If you happen to come across some tool which offer a good GUI for removal of duplicated frames, do let me know

brisk vigil
#

Not as a cmd directly but, if VRR is used handbrake does it automatically.

tardy brook
brisk vigil
#

Yes

tardy brook
#

I don't think so buddy, you may be right but in my short little experience you need to remove a hard code duplicate frame within the sequence, changing framrate is not the question here. Or we can discuss in voice. would love to know something I don't know

brisk vigil
#

For sequential frames it isn't possible via handbrake or any other gui, that part ffmpeg does well, just if the conversion is automatic it handles as much as it can on its own.

tardy brook
#

decomb and di-interlacing are totally different concepts. This has more to do with interlaced videos that were produced for TV broad cast and DVD. In other words all TV/DVD sources are Interlaced, can be related to those TVs which came with an i after resolution.. for e.g. 720i 1080i rather than today's most used 1080p standard where p stands for progressive

brisk vigil
#

I thought detelecine is different and does the job, 😭😭😭 am totally wrong then relying on handbrake cmds.

tardy brook
brisk vigil
#

But is it correct as they have mentioned, it decimates or drops duplicate frames

rugged path
#

i will try in night will update

tardy brook
# brisk vigil But is it correct as they have mentioned, it decimates or drops duplicate frames

That is with reference to 3:2 or 2:3 pulldown.

For eg.. to convert a 24 fps movie to 29.97 NTSC or 25 fps PAL a single frame (after a couple of frames) will be diveded into 2 frames by interlacing or combing or telecining.. for tv broadcast or DVDs

De interlacing, decombing, etc
these methods will try to re combine those two frames, here confusingly mentioned as duplicated.

In order to remove progressive (non - interlaced) duplicated frames, we need to use something like mpdecimate function in ffmpeg, which tries to identify if 2 consecutive frames are above 95% (or something) similar and remove one

brisk vigil
#

so they are different in that case. thank you for sharing info. I also checked some articles again to understand the difference, detelecine is meant to be used as a filter.

rugged path
brisk vigil
#

check input file path

rugged path
#

how do i change it ?

brisk vigil
#

instead of COD1 give full path in " "

#

with file type

rugged path
#

ok

#

same

tardy brook
#

ensure you give full name.. be it cod1.mp4 or cod1.mov or whatever... and also ensure that output name is different from input name.. make it cod2.mov or cod3.mov or something

brisk vigil
#

No links 😭😭

brisk vigil