Giter VIP home page Giter VIP logo

Comments (6)

mifi avatar mifi commented on May 16, 2024 1

Implemented in d208270. will be included in next release

from lossless-cut.

mifi avatar mifi commented on May 16, 2024

How big are the files you are trying to cut and how long is it taking?

We could do this by using ffmpeg's -progress option. Easiest way would be to use /dev/stdout, but that's not possible on windows, so would need to write to temporary files.

-progress outputs such sequences:

frame=167524
fps=22331.2
stream_0_0_q=-1.0
bitrate=2179.0kbits/s
total_size=1903342573
out_time_ms=6988052500
out_time=01:56:28.052500
dup_frames=0
drop_frames=0
speed= 932x
progress=continue
frame=175560
fps=22277.1
stream_0_0_q=-1.0
bitrate=2199.4kbits/s
total_size=2013375490
out_time_ms=7323306500
out_time=02:02:03.306500
dup_frames=0
drop_frames=0
speed= 929x
progress=end

We could take out_time_ms and divide by the total time of the clip to get the fractional progress.

from lossless-cut.

mbs avatar mbs commented on May 16, 2024

The cases I was looking at were tens of seconds, but I think that could go up significantly with typical filesizes depending on the job configured and output media.

from lossless-cut.

mifi avatar mifi commented on May 16, 2024

Oh. Because all files i tried, even hour long video clips take only a few seconds to cut. Maybe you are cutting raw videos that are hundreds of gigabytes?

from lossless-cut.

mbs avatar mbs commented on May 16, 2024

These were ordinary size, but I may have slower-than-typical storage. If you cut a 1G original down to a 900M clip, that is going to take a while on typical storage, I think, due mostly to the output IO needed.

from lossless-cut.

mifi avatar mifi commented on May 16, 2024

Yes I'm cutting on a mac with superfast SSD, so i guess thats why it's so fast here.

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.