Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature Request] Implement auto cropping via cropdetect

See original GitHub issue

Hi! First of all: Thank U so much again for your great work! I just updated from v2.4 to v3 and I am really really happy. Its gettin a really awesome piece of software.

Another great feature would be an auto cropping detection. In the moment I’m doing it by hand with the command ffplay -ss 600 -i movie.mkv -t 10 -vf cropdetect What do U think about it?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

cdgriffithcommented, Oct 26, 2020

Good to know there are still some issues. I have it currently detecting across 10 frames, but could probably expand that to a few seconds worth for safety.

HannesJo0139commented, Oct 24, 2020

I don’t have it run on start as I am running it on a point-in-time based off what the user has entered for start time (or 10% in if start time is 0). But could be a configurable options in settings to always autocrop on load, would that be useful?

Its really awesome how fast you have implemented it! I think that 10% or start time thing fits most needs out there. In very rare cases there are movies having sequences with different crop. May be possible to extend the analysis to match these cases too. But yeah, maybe it would be more of a gimmick that hardly anyone needs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

FFmpeg cropdetect and ffplay - 2020
cropdetec can auto-detect crop size. It calculate necessary cropping parameters and prints the recommended parameters through the logging system.
Read more >
crop feature in ffmpeg
I tried "cropdetect" to get values but it shows many different values. IF I can get correct crop values then I can use...
Read more >
Can't get autocrop to select the entire black bars
so I switched the sequence to use ffmpeg first, but I fear the crop still isn't detecting well, as there is still a...
Read more >
Feature Request: Cropping
Once a site is designed, most of the new image uploads will be featured images for pages and posts. I'd like to see...
Read more >
ffmpeg's cropdetect output vs. Handbrake's output
I'm using ffmpeg's cropdetect as part of a larger script that ... similate Handbrake's auto cropping feature by creating a crop file and ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found