Giter VIP home page Giter VIP logo

Comments (4)

dcdom2 avatar dcdom2 commented on June 11, 2024 1

It seems that all the masked frames are replaced with what VirtualDub calls D frames or "A drop or null frame, which repeats the previous frame".

Here is the output video of VirtualDub:

1min.zip

Steps to reproduce:

  • Download VirtualDub
  • Download the QuickTime plugin (and the MKV plugin if you need it).
  • Put the extracted plugin files into the plugins64 folder of VirtualDub.
  • Download https://download.blender.org/peach/bigbuckbunny_movies/BigBuckBunny_320x180.mp4 (62 MB)
  • Open in LosslessCut. Cut from 0 to 1 minute. save as 1min.mp4
  • Load 1min.mp4 into VirtualDub. From the toolbar menu, select Video --> Direct stream copy
  • Mark from second 5 to second 20 using the buttons at the bottom
  • Edit --> Mask selected frames
  • Ctrl+D (to clear selection)
  • File --> Save as AVI ...
  • Close 1min.mp4, open 1min.avi in VirtualDub
  • Check frames between second 5 to second 20. All D frames

P.S. Interestingly, the file size of output avi file gets smaller and smaller the longer you make the masked portion, sugesting that it is not full keyframes inserted and the frames are actually dropped.

from lossless-cut.

mifi avatar mifi commented on June 11, 2024

Hi. I believe this is technically similar to #1268 - I've added your suggestion there, and will close this

from lossless-cut.

dcdom2 avatar dcdom2 commented on June 11, 2024

Thanks.

I just want to add: I am not sure if the frame is actually repeated during the masked segment or that is just a quirk of the media player (if I jump forward within the masked segment (e.g. to frame 130), the player changes to the first unmasked frame (151) for the duration (130-150) then continues to play normally (151-end)) . So, the issue might not exactly be frame manipulation. Could I ask you to try it in VirtualDub (doesn't work in VirtualDub 2) to be sure how it is done? Thanks.

from lossless-cut.

mifi avatar mifi commented on June 11, 2024

not sure how to test that. maybe you can do it and then load the video into losslesscut and see if there are many keyframes in a short period of time

from lossless-cut.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.