1,159 karma · joined Aug 10, 2012 (14y ago) · 217 submissions
bcastell.com
github.com/Breakthrough
2.
A Fresh Start: My Minimalist Blog Redesign After 14 Years(bcastell.com ↗)
2 points · by Breakthrough · 2mo ago · discuss
comment 3mo ago · link · parent
We aren't the ones who are destroying it, and we have a backbone strong enough to say this isn't good enough.
If what you say is true, then the next administration should understand how one sided the damage done to the relationship has been. No economic trade partner should have to tolerate attacks on their sovereignty and unreliable trade negotiators.
comment 1y ago · link · parent
The threshold values themselves can be tuned if you generate a statsfile and plot the result, but that can sometimes be tedious if you have a lot of files (thus the huge interest in methods like TransNetV2). Glad to see the real world applications of those in action. You can always just increase/decrease the threshold by 5-10% depending on if you find it's too sensitive or not sensitive enough as well.
Thanks for the response!
comment 1y ago · link · parent
PySceneDetect only uses basic heuristic methods right now so it does require some degree of tuning to get things working for certain data sets. Your post inspired me to look into maybe integrating TransNetV2 as a detector in the future!
7.
Show HN: Video Motion Scanner App in Python (My First UI)
1 points · by Breakthrough · 1y ago · discuss
comment 7y ago · link · parent
For detecting fades-to-black, you want to make sure that you're using the detect-threshold command (not detect-content). For example:
scenedetect -i somevideo.mp4 detect-threshold -t 12 list-scenes
Where -t specifies the threshold to use (the default being a value of 12). Full documentation for the detect-threshold command:https://pyscenedetect-manual.readthedocs.io/en/latest/cli/de...
comment 7y ago · link · parent
[1] https://en.wikipedia.org/wiki/Edit_decision_list
[2] https://github.com/Breakthrough/PySceneDetect/issues/101
comment 7y ago · link · parent
I'm most open to any feedback or feature requests/ideas/suggestions; feel free to checkout the issue tracker on Github, or create a new entry:
https://github.com/Breakthrough/PySceneDetect/issues
Some ideas being considered/researched for future releases:
- looking at changes to image histograms
- using edge detection to improve robustness
- camera flash / foreground object suppression
- automatic threshold detection using statistical methods (currently is just a heuristic)
comment 7y ago · link · parent
Of course, the project is still very basic in it's current form, but does offer a good platform for testing more advanced scene detection methodologies (and has also been used as a baseline in various research/academic contexts). There's been plenty of suggestions for other detection methods (e.g. using histograms) which I'm very interested in looking into adding for future releases.
Lastly, one thing I do want to address going forwards is the performance, to make the algorithms more suitable for real-time systems (have decided to rewrite the core algorithms in C++ when I have some time, and interface that with the Python library/CLI). That being said, I'm always open to feedback or different ways of approaching things. If you or anyone else has any feedback or suggestions, feel free to create a new issue on the Github issue tracker [2] and I would be happy to discuss the possibility of including it in a future release of PySceneDetect.
comment 7y ago · link · parent
comment 7y ago · link · parent
Would you be able to share a small sub-set of the episode, in particular the area where you're unable to detect the starting segment? (If not, no worries!)
There's a few issues with PySceneDetect currently that may lead to false or missed detections, but these are things that I would like to solve in the long run:
- threshold is heuristic/fixed right now, but I would like to change it to an adaptive/statistical method which can dynamically change
- single-frame events can trigger false scene changes
Thanks for your feedback, and feel free to share any other suggestions you might have.
comment 7y ago · link · parent
Other techniques being considered for future work include use of optical flow, background subtraction, and analyzing histograms.
comment 7y ago · link · parent
comment 7y ago · link · parent
(Disclaimer: I'm the author of PySceneDetect.)
comment 7y ago · link · parent
Disclaimer: I'm the author of PySceneDetect.
comment 7y ago · link · parent
I've also seen people combine the cuts detected by PySceneDetect with subtitle (.srt) information to generate a more comprehensive list of scenes, which are sets of shots joined together by some context (to allow for jumping forward to a particular scene by it's description).
comment 7y ago · link · parent
comment 7y ago · link · parent
The one area where PySceneDetect does struggle with currently, however, is dealing with sudden/rapid flashes, or momentary obstructions to the viewing scene.
comment 7y ago · link · parent
Just curious, what didn't you like about the output quality? What version of PySceneDetect were you using?
The latest version (v0.5.x) uses ffmpeg instead of mkvmerge for output by default now, which produces significantly more accurate and higher quality output than before.
That being said, you are correct in that optical flow and keyframe information is currently not being used during the detection phase. There are several proposals to incorporate this into a future release, however, along with several other techniques: - histogram analysis - edge detection - background subtraction - automatic or dynamic threshold detection
Thanks for your feedback!
comment 9y ago · link · parent
That being said, unofficially I agree, given Wi-Fi is provided on flights now, I'm sure that means you're alright to leave your Wi-Fi radio on. The answer to why shut off all GSM/CDMA, Bluetooth, and GPS radios as well, however, probably predates the high prevalence of all these wireless technologies in a unified device.
comment 9y ago · link · parent
(also, when I first wrote this, I was half-kidding until I read https://en.wikipedia.org/wiki/Fly-by-wire#Fly-by-wireless)
comment 9y ago · link · parent
While my forray into malicious floppy disks didn't end with physical damage, I did manage to make one similar to DBAN. If you booted the computer with the floppy inserted, all drives would be formatted instantly, without any user input.
Fortunately, even in highschool I realized they probably imaged the school machines anyways. Probably...