videohash
yt-dlp
Our great sponsors
videohash | yt-dlp | |
---|---|---|
4 | 2,360 | |
257 | 70,636 | |
- | 5.2% | |
0.0 | 9.8 | |
4 months ago | 4 days ago | |
Python | Python | |
MIT License | The Unlicense |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
videohash
-
videohash / video fingerprinting Question : Detecting if a small clip is part of a longer movie
Hi all, I try to create a program to detect if a certain video scene (normally within 10 seconds) is within a longer video file. The idea is that if I find an scene on youtube, I want to know from which episodes of a particular TV show (assuming I know which tv show, but no idea which episode), so I want to find it out. Current solution: [a] - Extract Frame using ffmpeg from the reference clip (fps = 1) [b] - Extract Frame using ffmpeg from the longer video file (fps around 0.1 or 0.5) For each frame from [a] , I do a imagehash for [a] and [b] and comparing the hamming distance, get the lowest distance from this round of comparision and move on to the next frame from [a] Eventually I got an average score and I can find out if this TV episode contain the scene I was looking for. However, this is slow and not efficient. I found out that there is a videohash library https://github.com/akamhy/videohash But it said "Videohash cannot be used to verify whether one video is a part of another (video fingerprinting)." Does anybody know why? Is it because it gets a videohash for the whole video? If this is the case, how about I use the video hash lib to create a hash for my reference clip (let's say it is about 10 seconds) and then I create multiple 10-second version of the Longer video, generate a videohash just for it and compared that with my reference clip. Would that work? (Yes I understand that for a 60 minutes movie, that would be like 360 video hash to be calculated)... Do you think this is better? Thanks.
-
tips on scraping for porn?
2) Sorting through all the scraped data. This is going to vary depending on your approach. If you want to remove duplicates, there is a library called videohash that will allow you to take the perceptual hash of video files. If 2 videos have the same perceptual hash, they are duplicate.
-
Videohash – Perceptual Video Hashing Package
I think it creates a collage of the video frames: https://github.com/akamhy/videohash/blob/8759b6ad7fdabcdf4dd...
and passes that on to the videohash.py module to generate a hash:
- GitHub - akamhy/videohash: Python package for Perceptual Video Hashing - Get a 64-bit comparable hash-value for any video.
yt-dlp
-
FFmpeg 7.0 Released
You can put these options in a config file and they will become the default: https://github.com/yt-dlp/yt-dlp?tab=readme-ov-file#configur...
-
Google fights Invidious (a privacy YouTube Front end)
Yep. yt-dlp and youtube-dl
https://github.com/yt-dlp/yt-dlp
https://github.com/ytdl-org/youtube-dl
Will also start to feel the impact. My theory is that we will see a bunch of new video hosting sites as youtube itself attempts to lock down its ecosystem. They haven't paid attention in any adversarial way as far as I can tell.
When they do, it wont be great.
-
XZ: A Microcosm of the interactions in Open Source projects
The points you make aren't unreasonable.
It is necessary to establish clear boundaries of what can and can be provided by the maintainers. If not done at an earlier stage of the project, the support burden becomes too much to bear at which point the maintainer transfers ownership, and the project suffers from catastrophic consequences such as the xz backdoor we're talking about here, or other cases where the project mostly stalls and serves as an ego-boosting platform for the new maintainer, as was the case with PhantomJS[6].
This can also happen in your life, where a "friend" sees that you possess a certain skill, and then gradually tries to push an inordinate amount of their personal work related to this field onto you.
Personally, I think it's best to use an approach with extremely clear communication as to what the maintainer can and cannot provide. This can be seen, for example, in yt-dlp[1], where the consumer is clearly informed upfront that not providing detailed information as requested will lead them to block said consumer; or sqlite where their position regarding contributed patches[2] and support[3] is similarly made clear.
Having a shouty BDFL like Torvalds can also help improve code quality[4] and questionable contributions[5], though it is better that the shouty BDFL makes statements that are professional and do not show as much aggression; so for example, "Mauro, shut the fuck up"[7] would become "Mauro, your response is completely unbecoming for a Linux kernel maintainer, and is not in line with the promise of not breaking userspace."
[1] https://github.com/yt-dlp/yt-dlp/issues/new?assignees=&label...
[2] https://www.sqlite.org/copyright.html
[3] https://www.sqlite.org/support.html
[4] https://www.theregister.com/2024/01/29/linux_6_8_rc2/
[5] https://cse.umn.edu/cs/linux-incident
[6] https://github.com/ariya/phantomjs/issues/14541
[7] https://lkml.org/lkml/2012/12/23/75
-
Doom Running on a Toothbrush
Or just "yt-dlp "
yt-dlp ( https://github.com/yt-dlp/yt-dlp ) still works pretty well at the current state of Twitter.
- Show HN: I create a free website for download YouTube transcript, subtitle
-
Using LangServe to build REST APIs for LangChain Applications
To download audio from YouTube videos, you'll utilize the widely used yt-dlp library, which can be installed using the pip command as follows:
- YouTube-dl has been taken down
-
Ask HN: YouTube – how to batch scrape comments and details for 300 videos?
Use: `yt-dlp with --write-comments --no-download --batch-file FILE`
- FILE is a text file with a list of YouTube id's/URL's
- https://superuser.com/a/1732443/4390
- https://github.com/yt-dlp/yt-dlp
-
Forget spaceships; I just want my music
> Then youtube-dl wasn't a thing anymore (maybe it is again?)...
yt-dlp is definitely a thing: <https://github.com/yt-dlp/yt-dlp>
What are some alternatives?
neuralhash-collisions - A catalog of naturally occurring images whose Apple NeuralHash is identical.
Simple-YouTube-Age-Restriction-Bypass - A simple browser extension to bypass YouTube's age verification, disable content warnings and watch age restricted videos without having to sign in!
imgdupes - Identifying and removing near-duplicate images using perceptual hashing.
tiktok-scraper - TikTok Scraper. Download video posts, collect user/trend/hashtag/music feed metadata, sign URL and etc.
scala-phash - Image comparison by hash codes
youtube-dl-gui - A cross platform front-end GUI of the popular youtube-dl written in wxPython.
vidgear - A High-performance cross-platform Video Processing Python framework powerpacked with unique trailblazing features :fire:
youtube-dl - Command-line program to download videos from YouTube.com and other video sites
openshot-qt - OpenShot Video Editor is an award-winning free and open-source video editor for Linux, Mac, and Windows, and is dedicated to delivering high quality video editing and animation solutions to the world.
youtube-dlc - Command-line program to download various media from YouTube.com and other sites
emdrive - 💫 Fast similarity search DBMS
youtube-dl - Command-line program to download videos from YouTube.com and other video sites