This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

need help with bizarre dji frame rates
#6
Looking at the first time codes of DJI_0050.MP4 at least the beginning show timestamps which seem to fit 23.976.
There are a few time stamps which indicate that a lower fps than 23.976.

Approaches I would recommend trying:
  • tell Hybrid simply ignore the time stamps and use 23.976
    • enable "Config->Internals->Handling->Ignore all input timecodes"
    • enable "Filtering->Misc->Overwrite input frame rate" and set it to "23.976"
    This way the input, will be dealt with as if it was 23.976 fps.
  • tell Hybrid to decode the content to 23.976
    • enable "Config->Input->Decoding->CFR output"
    • enable "Filtering->Misc->Overwrite input frame rate" and set it to "23.976"
    this should tell Hybrid to create something like:
    clip = core.lsmas.LWLibavSource(source="G:/dji/DJI_0050.MP4", format="YUV420P10", stream_index=0, cache=0, fpsnum=24000, fpsden=1001,repeat=True, prefer_hw=0)
    for the source filter.
    This way, LWLibavSource will decode the content to 23.976 by adding duplicate frames when necessary.
    If necessary, you can get rid of the duplicates by replaying them with interpolations by using "Filtering->Frame->misc->FillDuplicateFrames' if you want. (If you  do this it is important, to adjust the threshold to match your source, so that only real duplicates will be replaced!)

Cu Selur


Attached Files
.txt   DJI_0050_timecodes.txt (Size: 41,59 KB / Downloads: 84)
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Messages In This Thread
RE: need help with bizarre dji frame rates - by Selur - 12.08.2024, 05:50

Forum Jump:


Users browsing this thread: 1 Guest(s)