MPV doesn’t seem to suffer from post traumatic stress, so it’s making something up at the speed of 23.976024 frames per second.

    • ulterno@programming.dev
      link
      fedilink
      English
      arrow-up
      11
      arrow-down
      1
      ·
      1 day ago

      If I were reading a video file and saw that happen, I might think, “yeah divide duration by total frame count for now, and complain to the publisher later”, but really who put the time to debug the issue (probably reading out the manifest to stderr (and making a conversion script to make it human readable and usable) and manually going through it) and after finding out the problem, actually coding in the option for mpv to detect this itself and then checking the conditions for when “something” cane be made up and then making those things up in the corresponding way?

      • pauljhenry@lemmy.ml
        link
        fedilink
        arrow-up
        3
        ·
        18 hours ago

        In writing it, they probably tested it on a file with this issue and debugged it. Error-handling. From then on, it probably has a unit test to ensure they can always work on that particular case.

        • ulterno@programming.dev
          link
          fedilink
          English
          arrow-up
          0
          ·
          18 hours ago

          I’m guessing quite a few encoders were doing it like this (or just 1 faulty encoder that was being used by too many people), for them to add this feature.