GithubHelp home page GithubHelp logo

Can mpdecimate_trim create smaller sized videos that are the same length of time as the original video in order to retain all of the original audio? about mpdecimate_trim HOT 4 CLOSED

Yekutiel avatar Yekutiel commented on June 3, 2024
Can mpdecimate_trim create smaller sized videos that are the same length of time as the original video in order to retain all of the original audio?

from mpdecimate_trim.

Comments (4)

Yekutiel avatar Yekutiel commented on June 3, 2024 1

I did not.

from mpdecimate_trim.

KenjiTakahashi avatar KenjiTakahashi commented on June 3, 2024

You're right that this tool is not for you. It is explicitly meant to remove frames completely, along with the audio parts.
It sounds that you're looking to reduce the file size for videos that have "still portions" in them.
It is not possible the way you described, but it is actually what "frame dropping" mentioned in the README does. It finds identical (or "similar enough", if a decimation algorithm is used) frames and replaces duplicates with pointers to the original one.
Pretty sure there is a ffmpeg incantation that will do it for you, but I'm afraid you'll have to research the details for yourself.

from mpdecimate_trim.

Yekutiel avatar Yekutiel commented on June 3, 2024

Thanks for taking the time to carefully respond to me.

It sounds that you're looking to reduce the file size for videos that have "still portions" in them.

That is correct.

To be clear, let's say I were to use OBS studio to create a screencast for 60 minutes while I was coding. Furthermore, let's say that for 10 to 15 minutes during that screencast I were to stop using my mouse and keyboard, yet continue talking as I, for example, thought out loud. For example, I might stop using my mouse and keyboard, yet say, "Hmmm. I'm a little confused here. I wonder if I should..."

During such times I would want my voice recorded; however, because I would neither be using my mouse nor my keyboard, software (computer code) that, for example, replaced video frames that were identical (or "similar enough", if a decimation algorithm were used) with pointers to the original video frame could significantly reduce the file size.

Pretty sure there is a ffmpeg incantation that will do it for you, but I'm afraid you'll have to research the details for yourself.

Given the extreme power and popularity of ffmpeg along with the usefulness of such a feature to many users, I presumed that ffmpeg must have such a feature.

from mpdecimate_trim.

aaronse avatar aaronse commented on June 3, 2024

@Yekutiel, curious, did you find a solution that keeps synchronized visual frames and audio samples for segments where audio activity is detected?

from mpdecimate_trim.

Related Issues (5)

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.