-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lossless masking? #1895
Comments
Hi. I believe this is technically similar to #1268 - I've added your suggestion there, and will close this |
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. |
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 |
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: Steps to reproduce:
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. |
The fewer issues I have to read, the more new features I will have time to implement, so I ask that you please try these things first
Description
Here is my case: I want to remove the image part of a video, but keep the audio. Normal cutting wouldn't do.
VirtualDub (the original) had a feature called masking where if you mask frames 101-150, the video appears to "hang" on frame 100 for that duration until it resumes with frame 151. This was lossless in the sense: 1-100 untouched + 101-150 replaced with the 100 keyframe (I think) as long as the specified duration in the same video parameters + 151-end untouched, then all were losslessly merged.
I think this will be an awesome addition to LosslessCut and in the same spirit of "cutting".
Thank you
The text was updated successfully, but these errors were encountered: