Post Syndicated from Matt Granger original https://www.youtube.com/watch?v=Hwrsj8xOx5w
Can custom CX50 speakers fix the Beosystem 10
Post Syndicated from Techmoan original https://www.youtube.com/watch?v=WqRPwVRd-l0
За хората със схемите и дъх на мръсни чорапи
Post Syndicated from Боян Юруков original https://yurukov.net/blog/2025/hora-shemi-sauna/
Пролетна ваканция. Хотелче. Сауна. Жега. Опитваш се да абстрахираш от липсата на хигиенни навици у хората и шумните им разговори сякаш няма никой наоколо. Някои обаче правят трудно това абстрахиране – както от хигиената им, така и от разговорите.
Ония ден писах, че сауните в България са неприятно добър начин да научиш за хората със схемите и схемите на хората. В случая двама се оказаха архитекти и обсъждаха надълго и широко главните архитекти в различни градове около София. Кой до кога бил, кой нямало да си тръгне докато „ония къщи“ не са пуснати, кой къде отивал, за да довърши „поръчката“, кой на кого бил човек и след вота какви пари щял да направи на поста и прочие. Говориха си и за София и как цитирам „компроматите срещу кметството потекоха масово, така че ще стане работата“ и как определени хора „от техните“ неочаквано много помагат на въпросната „работа“. Говориха как едни си плащали, а други били пред фалит, но събирали депозити като за последно.
Такива разговори са глупави и на тяхна база трудно да разберем нещо конкретно. Още повече, че рядко има споменати имена, а и честно казано като правило не ни пука. Тук обърнах внимание, защото случайно темата ме занимава. Доколкото не може да се правят изводи на база подобни подхвърляния, случаи като този затвърждават впечатленията ми от години, че въпреки хората в системата, които се опитват да си свършат работата съвестно напук на критика, заплахи и тормоз от началници и съд, има една клика от най-вече архитекти, които диктуват какво ще се случи с градовете ни в ущърб на бъдещото през наместване на ключови позиции, влиятелни организации, регулатори и овладяване на формалния процес.
Показва и за пореден път, че хората със схема в България до толкова не се притесняват, че някой може да ги санкционира, че не се свенят да обсъждат където и да е и както и да е как ни прецакват всички, точат пари и им се разминава. Какво ще направите? Кой следва да го направи? Затова говоря, че работещите институции са това, което подобрява живота на хората. Не парадиране в студия, гръмки обещания и веене на идеалистични знамена, а скучни чиновници извън прожекторите, които работят за това законът да се спазва независимо кой си и чии си. Това работи само когато са защитени и спокойни да го правят извън политически турболенции и претенции. Затова едни толкова работеха да ги овладеят и цялата машина от компромати работи за задържане на това статукво.
Толкова сме свикнали с това поведение на ония със схеми, че в един момент се зачудих дали са ми по-досадни шумните им брътвежи или липсата им на хигиена и на другите преди тях карайки мястото да мирише на мръсни чорапи постоянно. Може би последното всъщност беше подходяща атмосфера за отношението към собствената им работа и обществото като цяло. Напомни ми за аналогична ситуация, която имах преди години, но с куп хора от АПИ. Тогава и за любовниците на шефовете си говориха.
Та ако търсите ранна индикация, че нещо се променя, че прокуратура и регулатори са започнали да вършат нещо, то изчезването на подобни разговори от публичното пространство е една такава – за схеми в строителството, еврофондове, поръчкови дела срещу конкуренция или просто покриване на проверки. Не задължително само от сауните – понякога придобива формата на крещене по „мобифона“ пред G класата пльосната върху пешеходна пътека или ехидни разговори в кафенетата около административните съдилища. Ако същите започнат да се оглеждат нервно и замислят, значи сме на прав път. Не го видях това онзи ден.
The post За хората със схемите и дъх на мръсни чорапи first appeared on Блогът на Юруков.
Why One DIMM Per Channel or 1DPC Can Be Great for AMD EPYC 4004
Post Syndicated from John Lee original https://www.servethehome.com/why-one-dimm-per-channel-or-1dpc-can-be-great-for-amd-epyc-4004/
We show why you might prefer one DIMM per channel configuration using an AMD EPYC 4004 series server and 192GB of DDR5 ECC UDIMMs
The post Why One DIMM Per Channel or 1DPC Can Be Great for AMD EPYC 4004 appeared first on ServeTheHome.
Седмицата (31 март – 5 април)
Post Syndicated from Боряна Телбис original https://www.toest.bg/sedmitsata-31-mart-5-april/

Умирането е процес.
Органите и системите отказват една по една. Чак след като те са приключили, главното командване а.к.а. мозъкът слага край на цялата операция. Според някои изследвания тъкмо главният мозък остава активен за определено време (със сигурност поне 30 секунди) и след като умрем. С други думи, имаме достатъчно време да разберем, че сме мъртви. Знанието, че си мъртъв, изглежда, е краят на процеса умиране.
И някак настъпва успокоение. Свърши се зорът.
Има хора, преминали през т.нар. близко до смъртта преживяване (NDE – near-death experience), които се връщат и разказват. Според изследователите това преживяване е онзи финален момент, в който тялото ти вече не работи, останал е само мозъкът – той продължава да е активен и очевидно успява да рестартира двигателите на някои от нас и да ги върне отново в света на живите.
След това завръщане обикновено се наблюдава сериозна промяна у човека, „прибрал се от отвъдното“. Според изследователите повечето хора съобщават за едни и същи постефекти, част от които са (освен логичните загуба на страх от смъртта и вяра в задгробния живот): по-сериозно ценене на живота; повишено самочувствие, но и много по-голяма способност да състрадаваш; много по-малък фокус върху материалното и доста по-голям върху смисъл, цел и посока; по-голямо желание да учиш, да разбереш, да промениш; някои хора започват да подхождат по-осъзнато към опазването на околната среда, а други твърдят, че са станали по-интуитивни.
Разбира се, има и някои негативни постефекти, които не мисля да споменавам, защото не ми се връзват с тезата, а тя е, че ние сме мъртви.
Всички системи са отказали. Здравеопазване, образование, правосъдие, сигурност… Всички.
Мъртви сме и се намираме в онези 30 секунди добавено време, в които мозъкът може да реши дали да ни върне обратно в играта, или ще броим мача за свирен. За да ни върне обаче, сигурно е редно да покажем някакви съпротивителни сили, да има някакво, макар и минимално желание за живот, да има нещо, за което да се хванем, че да пуснат тока отново. Бащата на 12-годишната Сияна, нелепо загинала в катастрофа в началото на тази седмица, се надява детето му да не си е отишло напразно и да стане причината хората да се събудят и да спрат да се примиряват с изключилите системи. Майката на отишлата си без време Даная – Ани Стоянова, мислеше по същия начин. Вероятно затова учреди фондация на името на дъщеря си и не спира и до днес да се опитва да промени нещо по линия на детското здравеопазване. Обаче не ѝ помагат особено да запази съпротивителните си сили.
Никой родител не иска да допусне мисълта, че детето му си е отишло напразно. Такава ненавременна, неестествена и непосилна за понасяне от човешкото съзнание смърт трябва да има някакво обяснение. Поне така ни се иска.
Но ето че тази седмица е Сияна.
Преди време беше Даная.
Наскоро се разгневихме и заради Адриан, който не умря, но е искал да е мъртъв, докато доведеният му баща го смазва от бой и всички мълчат.
Пò миналата година беше 15-годишният Филип, прегазен на пешеходна пътека в центъра на София от шофьор с над 2 промила алкохол в кръвта си.
Няма да продължавам.
Но събуждането все не идва.
Не пускат тока.
Не рестартираме системите по-осъзнати, по-състрадателни, по-целеустремени.
А може би онези 30 секунди бонус мозъчна активност са свършили и вече сме окончателно мъртви, преминавайки в някакъв постмодернистичен задгробен живот с ултрафини настройки за мъчение, в който всеки път, уж различни (но все същите), отваряме нова (но все същата) врата и сме принудени да преживяваме всичко по един и същи начин.
Подобен паралел прави и Стефан Иванов в тазседмичния си текст в рубриката ни „На второ четене“ за книгата на Джонатан Лител „Една стара история“.
В броя можете да прочетете още:
- „Има ли криза в българското кино?“ – от Борислав Михайловски
- „Педофилията, срещу която се протестира, и педофилията, за която се мълчи“ – от Светла Енчева
- „Имаш Пеевски – пиеш мляко“ – от Емилия Милчева
- „Гражданско участие и взаимопомощ сред политическа апатия“ – от Хестър Гартрел
- „Имаме ли експертиза за тарифите?“ – от Павлина Върбанова
На линия е и новият епизод от видеорубриката ни „Т.Е. от Е.Т.“
Извинявам се за този бюлетин и ви благодаря, че сме заедно. Преди или след – няма значение.
Comic for 2025.04.05 – Employees
Post Syndicated from Explosm.net original https://explosm.net/comics/employees
New Cyanide and Happiness Comic
ablutions
Post Syndicated from Oglaf! -- Comics. Often dirty. original https://www.oglaf.com/ablutions/
Trump’s Tariffs Are Designed to Backfire
Post Syndicated from The Atlantic original https://www.youtube.com/watch?v=vmcNzjJI65M
Friday Squid Blogging: Two-Man Giant Squid
Post Syndicated from Bruce Schneier original https://www.schneier.com/blog/archives/2025/04/friday-squid-blogging-two-man-giant-squid.html
The Brooklyn indie art-punk group, Two-Man Giant Squid, just released a new album.
As usual, you can also use this squid post to talk about the security stories in the news that I haven’t covered.
Metasploit Wrap-Up 04/04/2025
Post Syndicated from Spencer McIntyre original https://blog.rapid7.com/2025/04/04/metasploit-wrap-up-04-04-2025/
New RCEs

Metasploit added four new modules this week, including three that leverage vulnerabilities to obtain remote code execution (RCE). Among these three, two leverage deserialization, showing that the exploit primitive is still going strong. The Tomcat vulnerability in particular CVE-2025-24813 garnered a lot of attention when it was disclosed; however, to function, the exploit requires specific conditions to be met, which may not be present in many environments.
AD CS / PKCS12 Improvements
With the popularity of exploiting AD CS misconfigurations over the past couple of years, Metasploit has been continuing to iterate over our support. This week saw two improvements; one added additional error handling, which notably calls out authorization errors more clearly to the user. These errors, now labeled no-access failures, are encountered when the user is successfully authenticated but lacks authorization privileges to enroll on either the certificate template or the certificate authority server. Additionally, Metasploit’s support for PKCS12 certificate storage is actively being improved. This week, a milestone was reached allowing additional metadata to be stored with the certificate, which, in the future, will enable more streamlined use of stored certificate data. This new metadata includes the password to decrypt the PKCS12 data, the CA that issued the certificate and AD CS template it was derived from.
New module content (4)
pfSense Login Scanner
Author: sjanusz-r7
Type: Auxiliary
Pull request: #19985 contributed by sjanusz-r7
Path: scanner/http/pfsense_login
Description: This adds a login scanner module for pfSense which can be used to brute force valid credentials to the web GUI.
CmsMadeSimple Authenticated File Manager RCE
Authors: Mirabbas Ağalarov, Okan Kurtuluş, and tastyrice
Type: Exploit
Pull request: #19980 contributed by tastyrce
Path: multi/http/cmsms_file_manager_auth_rce
AttackerKB reference: CVE-2023-36969
Description: This adds an exploit module for CMSMadeSimple <= v2.2.21, which is vulnerable to an authenticated RCE (CVE-2023-36969).
Tomcat Partial PUT Java Deserialization
Authors: Calum Hutton, h4ck3r-04, and sw0rd1ight
Type: Exploit
Pull request: #19995 contributed by chutton-r7
Path: multi/http/tomcat_partial_put_deserialization
AttackerKB reference: CVE-2025-24813
Description: This adds an exploit module for CVE-2025-24813, which is an unauthenticated, constrained file write vulnerability in Apache Tomcat.
Sitecore CVE-2025-27218 BinaryFormatter Deserialization Exploit
Authors: Dylan Pindur and machang-r7
Type: Exploit
Pull request: #19947 contributed by machang-r7
Path: windows/http/sitecore_xp_cve_2025_27218
AttackerKB reference: CVE-2025-27218
Description: This adds an exploit module for CVE-2025-27217, an unauthenticated .NET deserialization vulnerability for Sitecore.
Enhancements and features (4)
- #19606 from cgranleese-r7 – This updates the LDAP modules to use datastore options for authentication that are prefixed with
LDAP, allowing them to be used as larger workflows that merge datastore options for multiple protocols. - #19736 from cdelafuente-r7 – This update adds support for the new Pkcs12 data format, allowing the CA and ADCS template to be stored as metadata in the database. Additionally, Pkcs12 passwords can now be stored as metadata, with validation ensuring correct passwords are provided when adding encrypted Pkcs12 files using the creds command.
- #19984 from zeroSteiner – This improves AD CS workflows by adding additional error handing.
- #19991 from zeroSteiner – This adds some new tests for LoginScanners. It ensures that the LoginScanners follow a common interface for initialization, most notably that they take a single argument containing the configuration as a hash.
Bugs fixed (3)
- #19934 from sfewer-r7 – This addresses several bugs in the
exploit/linux/misc/cisco_ios_xe_rcemodule, which was failing for Cisco IOS XE version 17.06.05 on C8000v series appliances. Fixes include correcting the/webuiURI to/webui/(with a trailing slash) and adjusting the case sensitivity in the/webui_wsma_httpsURI for both CSR1000v and C8000v appliances. Additionally, the module now properly distinguishes between HTTPS and HTTP targets, ensuring compatibility with both appliance series. - #19993 from h00die-gr3y – This fixes an issue where payloads using cmd/base64 encoder with badchars \x20 (space) failed due to syntax errors in POSIX shells when ${IFS} followed parentheses. Removed unnecessary spaces from the payload to ensure proper execution in Unix-based environments.
- #19998 from sjanusz-r7 – Fixes a crash when running the
auxiliary/crawler/msfcrawlermodule.
Documentation
- #19979 from bwatters-r7 – This adds documentation that describes when a module submission may be superseded.
Get it
As always, you can update to the latest Metasploit Framework with msfupdate
and you can get more details on the changes since the last blog post from
GitHub:
If you are a git user, you can clone the Metasploit Framework repo (master branch) for the latest.
To install fresh without using git, you can use the open-source-only Nightly Installers or the
commercial edition Metasploit Pro
This UniFi 10Gbps USB Adapter Made My Network 10X FASTER!
Post Syndicated from Crosstalk Solutions original https://www.youtube.com/watch?v=3aQzByeBnwM
Tasers & Policing #lastweektonight
Post Syndicated from LastWeekTonight original https://www.youtube.com/watch?v=bP8gwK29SSk
Optimize multimodal search using the TwelveLabs Embed API and Amazon OpenSearch Service
Post Syndicated from James Le original https://aws.amazon.com/blogs/big-data/optimize-multimodal-search-using-the-twelvelabs-embed-api-and-amazon-opensearch-service/
This blog is co-authored by James Le, Head of Developer Experience – TwelveLabs
The exponential growth of video content has created both opportunities and challenges. Content creators, marketers, and researchers are now faced with the daunting task of efficiently searching, analyzing, and extracting valuable insights from vast video libraries. Traditional search methods such as keyword-based text search often fall short when dealing with video content to analyze the visual content, spoken words, or contextual elements within the video itself, leaving organizations struggling to effectively search through and unlock the full potential of their multimedia assets.
With the integration of TwelveLabs’ Embed API and Amazon OpenSearch Service, we can interact with and derive value from video content. By using TwelveLabs‘ advanced AI-powered video understanding technology and OpenSearch Service’s search and analytics capabilities, we can now perform advanced video discovery and gain deeper insights.
In this blog post, we show you the process of integrating TwelveLabs Embed API with OpenSearch Service to create a multimodal search solution. You’ll learn how to generate rich, contextual embeddings from video content and use OpenSearch Service’s vector database capabilities to enable search functionalities. By the end of this post, you’ll be equipped with the knowledge to implement a system that can transform the way your organization handles and extracts value from video content.
TwelveLabs’ multimodal embeddings process visual, audio, and text signals together to create unified representations, capturing the direct relationships between these modalities. This unified approach delivers precise, context-aware video search that matches human understanding of video content. Whether you’re a developer looking to enhance your applications with advanced video search capabilities, or a business leader seeking to optimize your content management strategies, this post will provide you with the tools and steps to implement multimodal search for your organizational data.
About TwelveLabs
TwelveLabs is an Advanced AWS Partner and AWS Marketplace Seller that offers video understanding solutions. Embed API is designed to revolutionize how you interact with and extract value from video content.
At its core, the Embed API transforms raw video content into meaningful, searchable data by using state-of-the-art machine learning models. These models extract and represent complex video information in the form of dense vector embeddings, each a standard 1024-dimensional vector that captures the essence of the video content across multiple modalities (image, text, and audio).
Key features of TwelveLabs Embed API
Below are the key features of TwelveLabs Embed API:
- Multimodal understanding: The API generates embeddings that encapsulate various aspects of the video, including visual expressions, body language, spoken words, and overall context.
- Temporal coherence: Unlike static image-based models, TwelveLabs’ embeddings capture the interrelations between different modalities over time, providing a more accurate representation of video content.
- Flexibility: The API supports native processing of all modalities present in videos, eliminating the need for separate text-only or image-only models.
- High performance: By using a video-native approach, the Embed API provides more accurate and temporally coherent interpretation of video content compared to traditional CLIP-like models.
Benefits and use cases
The Embed API offers numerous advantages for developers and businesses working with video content:
- Enhanced Search Capabilities: Enable powerful multimodal search across video libraries, allowing users to find relevant content based on visual, audio, or textual queries.
- Content Recommendation: Improve content recommendation systems by understanding the deep contextual similarities between videos.
- Scene Detection and Segmentation: Automatically detect and segment different scenes within videos for easier navigation and analysis.
- Content Moderation: Efficiently identify and flag inappropriate content across large video datasets.
Use cases include:
- Anomaly detection
- Diversity sorting
- Sentiment analysis
- Recommendations
Architecture overview
The architecture for using TwelveLabs Embed API and OpenSearch Service for advanced video search consists of the following components:
- TwelveLabs Embed API: This API generates 1024-dimensional vector embeddings from video content, capturing visual, audio, and textual elements.
- OpenSearch Vector Database: Stores and indexes the video embeddings generated by TwelveLabs.
- Secrets Manager to store secrets such as API access keys, and the Amazon OpenSearch Service username and password.
- Integration of TwelveLabs SDK and the OpenSearch Service client to process videos, generate embeddings, and index them in OpenSearch Service.
The following diagram illustrates:
- A video file is stored in Amazon Simple Storage Service (Amazon S3). Embeddings of the video file are created using TwelveLabs Embed API.
- Embeddings generated from the TwelveLabs Embed API are now ingested to Amazon OpenSearch Service.
- Users can search the video embeddings using text, audio, or image. The user uses TwelveLabs Embed API to create the corresponding embeddings.
- The user searches video embeddings in Amazon OpenSearch Service and retrieves the corresponding vector.
The use case
For the demo, you will work on these videos: Robin bird forest Video by Federico Maderno from Pixabay and Island Video by Bellergy RC from Pixabay.
However, the use case can be expanded to various other segments. For example, the news organization struggles with:
- Needle-in-haystack searches through thousands of hours of archival footage
- Manual metadata tagging that misses nuanced visual and audio context
- Cross-modal queries such as querying a video collection using text or audio descriptions
- Rapid content retrieval for breaking news tie-ins
By integrating TwelveLabs Embed API with OpenSearch Service, you can:
- Generate 1024-dimensional embeddings capturing each video’s visual concepts. The embeddings are also capable of extracting spoken narration, on-screen text, and audio cues.
- Enable multimodal search capabilities allowing users to:
- Find specific demonstrations using text-based queries.
- Locate activities through image-based queries.
- Identify segments using audio pattern matching.
- Reduce search time from hours to seconds for complex queries.
Solution walkthrough
GitHub repository contains a notebook with detailed walkthrough instructions for implementing advanced video search capabilities by combining TwelveLabs’ Embed API with Amazon OpenSearch Service.
Prerequisites
Before you proceed further, verify that the following prerequisites are met:
- Confirm that you have an AWS account. Sign in to the AWS account.
- Create a TwelveLabs account because it will be required to get the API Key. TwelveLabs offer free tier pricing but you can upgrade if necessary to meet your requirement.
- Have an Amazon OpenSearch Service domain. If you don’t have an existing domain, you can create one using the steps outlined in our public documentation for Creating and Managing Amazon OpenSearch Service Domain. Make sure that the OpenSearch Service domain is accessible from your Python environment. You can also use Amazon OpenSearch Serverless for this use case and update the interactions to OpenSearch Serverless using AWS SDKs.
Step 1: Set up the TwelveLabs SDK
Start by setting up the TwelveLabs SDK in your Python environment:
- Obtain your API key from TwelveLabs Dashboard.
- Follow steps here to create a secret in AWS Secrets Manager. For example, name the secret as
TL_API_Key.Note down the ARN or name of the secret (TL_API_Key) to retrieve. To retrieve a secret from another account, you must use an ARN.For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.Use this value for theSecretIdin the code block below.
Step 2: Generate video embeddings
Use the Embed API to create multimodal embeddings that are contextual vector representations for your videos and texts. TwelveLabs video embeddings capture all the subtle cues and interactions between different modalities, including the visual expressions, body language, spoken words, and the overall context of the video, encapsulating the essence of all these modalities and their interrelations over time.
To create video embeddings, you must first upload your videos, and the platform must finish processing them. Uploading and processing videos require some time. Consequently, creating embeddings is an asynchronous process comprised of three steps:
- Upload and process a video: When you start uploading a video, the platform creates a video embedding task and returns its unique task identifier.
- Monitor the status of your video embedding task: Use the unique identifier of your task to check its status periodically until it’s completed.
- Retrieve the embeddings: After the video embedding task is completed, retrieve the video embeddings by providing the task identifier. Learn more in the docs.
Video processing implementation
This demo depends upon some video data. To use this, you will download two mp4 files and upload it to an Amazon S3 bucket.
- Click on the links containing the Robin bird forest Video by Federico Maderno from Pixabay and Island Video by Bellergy RC from Pixabay videos.
- Download the
21723-320725678_small.mp4and2946-164933125_small.mp4files. - Create an S3 bucket if you don’t have one already. Follow the steps in the Creating a bucket doc. Note down the name of the bucket and replace it the code block below (Eg.,
MYS3BUCKET). - Upload the
21723-320725678_small.mp4and2946-164933125_small.mp4video files to the S3 bucket created in the step above by following the steps in the Uploading objects doc. Note down the name of the objects and replace it the code block below (Eg.,21723-320725678_small.mp4and2946-164933125_small.mp4)
Embedding generation process
With the SDK configured, generate embeddings for your video and monitor task completion with real-time updates. Here you use the Marengo 2.7 model to generate the embeddings:
Key features demonstrated include:
- Multimodal capture: 1024-dimensional vectors encoding visual, audio, and textual features
- Model specificity: Using Marengo-retrieval-2.7 optimized for scientific content
- Progress tracking: Real-time status updates during embedding generation
Expected output
Step 3: Set up OpenSearch
To enable vector search capabilities, you first need to set up an OpenSearch client and test the connection. Follow these steps:
Install the required libraries
Install the necessary Python packages for working with OpenSearch:
Configure the OpenSearch client
Set up the OpenSearch client with your host details and authentication credentials:
Expected output
If the connection is successful, you should see a message like the following:
This confirms that your OpenSearch client is properly configured and ready for use.
Step 4: Create an index in OpenSearch Service
Next, you create an index optimized for vector search to store the embeddings generated by the TwelveLabs Embed API.
Define the index configuration
The index is configured to support k-nearest neighbor (kNN) search with a 1024-dimensional vector field. You will these values for this demo but follow these best practices to find appropriate values for your application. Here’s the code:
Create the Index
Use the following code to create the index in OpenSearch Service:
Expected output
After running this code, you should see details of the newly created index. For example:
The following screenshot confirms that an index named twelvelabs_index has been successfully created with a knn_vector field of dimension 1024 and other specified settings. With these steps completed, you now have an operational OpenSearch Service domain configured for vector search. This index will serve as the repository for storing embeddings generated from video content, enabling advanced multimodal search capabilities.
Step 5: Ingest embeddings to the created index in OpenSearch Service
With the TwelveLabs Embed API successfully generating video embeddings and the OpenSearch Service index configured, the next step is to ingest these embeddings into the index. This process helps ensure that the embeddings are stored in OpenSearch Service and made searchable for multimodal queries.
Embedding ingestion process
The following code demonstrates how to process and index the embeddings into OpenSearch Service:
Explanation of the code
- Embedding extraction: The
video_embedding.segmentsobject contains a list of segment embeddings generated by the TwelveLabs Embed API. Each segment represents a specific portion of the video. - Document creation: For each segment, a document is created with a key (
embedding_field) that stores its 1024-dimensional vector,video_titlewith the title of the video,segment_startandsegment_endindicating the timestamp of the video segment, and asegment_id. - Indexing in OpenSearch: The
index()method uploads each document to thetwelvelabs_indexcreated earlier. Each document is assigned a unique ID (doc_id) based on its position in the list.
Expected output
After the script runs successfully, you will see:
- A printed list of embeddings being indexed.
- A confirmation message:
Result
At this stage, all video segment embeddings are now stored in OpenSearch and ready for advanced multimodal search operations, such as text-to-video or image-to-video queries. This sets up the foundation for performing efficient and scalable searches across your video content.
Step 6: Perform vector search in OpenSearch Service
After embeddings are generated, you use it as a query vector to perform a kNN search in the OpenSearch Service index. Below are the functions to perform vector search and format the search results:
Key points:
- The
_sourcefield contains the video title, segment start, segment end, and segment id corresponding to the video embeddings. - The
embedding_fieldin the query corresponds to the field where video embeddings are stored. - The k parameter specifies how many top results to retrieve based on similarity.
Step 7:Performing text-to-video search
You can use text-to-video search to retrieve video segments that are most relevant to a given textual query. In this solution, you will do this by using TwelveLabs’ text embedding capabilities and OpenSearch’s vector search functionality. Here’s how you can implement this step:
Generate text embeddings
To perform a search, you first need to convert the text query into a vector representation using the TwelveLabs Embed API:
Key points:
- The Marengo-retrieval-2.7 model is used to generate a dense vector embedding for the query.
- The embedding captures the semantic meaning of the input text, enabling effective matching with video embeddings.
Perform vector search in OpenSearch Service
After the text embedding is generated, you use it as a query vector to perform a kNN search in the OpenSearch index:
Expected output
The following illustrates similar results retrieved from OpenSearch.
Insights from results
- Each result includes a similarity score indicating how closely it matches the query, a time range indicating the start and end offset in seconds, and the video title.
- Observe that the top 2 results correspond to the robin bird video segments matching the Bird eating food query.
This process demonstrates how textual queries such as Bird eating food can effectively retrieve relevant video segments from an indexed library using TwelveLabs’ multimodal embeddings and OpenSearch’s powerful vector search capabilities.
Step 8: Perform audio-to-video search
You can use audio-to-video search to retrieve video segments that are most relevant to a given audio input. By using TwelveLabs’ audio embedding capabilities and OpenSearch’s vector search functionality, you can match audio features with video embeddings in the index. Here’s how to implement this step:
Generate audio embeddings
To perform the search, you first convert the audio input into a vector representation using the TwelveLabs Embed API:
Key points:
- The Marengo-retrieval-2.7 model is used to generate a dense vector embedding for the input audio.
- The embedding captures the semantic features of the audio, such as rhythm, tone, and patterns, enabling effective matching with video embeddings
Perform vector search in OpenSearch Service
After the audio embedding is generated, you use it as a query vector to perform a k-nearest neighbor (kNN) search in OpenSearch:
Expected output
The following shows video segments retrieved from OpenSearch Service based on their similarity to the input audio.
Here notice that segments from both videos are returned with a low similarity score.
Step 9: Performing images-to-video search
You can use image-to-video search to retrieve video segments that are visually similar to a given image. By using TwelveLabs’ image embedding capabilities and OpenSearch Service’s vector search functionality, you can match visual features from an image with video embeddings in the index. Here’s how to implement this step:
Generate Image Embeddings
To perform the search, you first convert the input image into a vector representation using the TwelveLabs Embed API:
Key points:
- The Marengo-retrieval-2.7 model is used to generate a dense vector embedding for the input image.
- The embedding captures visual features such as shapes, colors, and patterns, enabling effective matching with video embeddings
Perform vector search in OpenSearch
After the image embedding is generated, you use it as a query vector to perform a k-nearest neighbor (kNN) search in OpenSearch:
Expected output
The following shows video segments retrieved from OpenSearch based on their similarity to the input image.
Observe that image of an ocean was used to search the videos. Video clips from the island video are retrieved with a higher similarity score in the first 2 results.
Clean up
To avoid charges, delete resources created while following this post. For Amazon OpenSearch Service domains, navigate to the AWS Management Console for Amazon OpenSearch Service dashboard and delete the domain.
Conclusion
The integration of TwelveLabs Embed API with OpenSearch Service provides a cutting-edge solution for advanced video search and analysis, unlocking new possibilities for content discovery and insights. By using TwelveLabs’ multimodal embeddings, which capture the intricate interplay of visual, audio, and textual elements in videos, and combining them with OpenSearch Service’s robust vector search capabilities, this solution enables highly nuanced and contextually relevant video search.
As industries increasingly rely on video content for communication, education, marketing, and research, this advanced search solution becomes indispensable. It empowers businesses to extract hidden insights from their video content, enhance user experiences in video-centric applications and make data-driven decisions based on comprehensive video analysis
This integration not only addresses current challenges in managing video content but also lays the foundation for future innovations in how we interact with and derive value from video data.
Get started
Ready to explore the power of TwelveLabs Embed API? Start your free trial today by visiting TwelveLabs Playground to sign up and receive your API key.
For developers looking to implement this solution, follow our detailed step-by-step guide on GitHub to integrate TwelveLabs Embed API with OpenSearch Service and build your own advanced video search application.
Unlock the full potential of your video content today!
About the Authors
James Le runs the Developer Experience function at TwelveLabs. He works with partners, developers, and researchers to bring state-of-the-art video foundation models to various multimodal video understanding use cases.
Gitika is an Senior WW Data & AI Partner Solutions Architect at Amazon Web Services (AWS). She works with partners on technical projects, providing architectural guidance and enablement to build their analytics practice.
Kruthi is a Senior Partner Solutions Architect specializing in AI and ML. She provides technical guidance to AWS Partners in following best practices to build secure, resilient, and highly available solutions in the AWS Cloud.
[$] The state of guest_memfd
Post Syndicated from corbet original https://lwn.net/Articles/1016133/
A typical cloud-computing host will share some of its memory with each
guest that it runs. The host retains its access to that memory, though,
meaning that it can readily dig through that memory in search of data that
the guest would prefer to keep private. The guest_memfd subsystem removes (most of) the
host’s access to guest memory, making the guest’s data more secure. In the
memory-management track of the 2025 Linux Storage, Filesystem,
Memory-Management, and BPF Summit, David Hildenbrand ran a discussion on
the state and future of this feature.
6 PREMIUM Home Theater Projectors – 2025 Review
Post Syndicated from The Hook Up original https://www.youtube.com/watch?v=B4_MhHsZvkU
[$] The future of ZONE_DEVICE
Post Syndicated from corbet original https://lwn.net/Articles/1016124/
Alistair Popple started his session at the 2025 Linux Storage, Filesystem,
Memory-Management, and BPF Summit by proclaiming that ZONE_DEVICE
is “the ugly stepchild
” of the kernel’s memory-management subsystem.
Ugly or not, the ability to manage memory that is attached to a peripheral
device rather than a CPU is increasingly important on current hardware.
Popple hoped to cover some of the challenges with ZONE_DEVICE and
find ways to make the stepchild a bit more attractive, if not bring it into
the family entirely.
LincStation S1 NAS Review: Frigate LPR, Home Assistant with UNRAID Tested!
Post Syndicated from digiblur DIY original https://www.youtube.com/watch?v=MYTr5W1GYYw
[$] Supporting untorn buffered writes
Post Syndicated from jake original https://lwn.net/Articles/1016015/
At last year’s
Linux Storage, Filesystem,
Memory-Management, and BPF Summit (LSFMM+BPF), there was a discussion about atomic writes that was
accompanied by patches to support the feature in the block layer, and for
direct I/O on XFS. That
work was merged, but another piece of that discussion concerned adding the
feature for buffered I/O, in part because the PostgreSQL database currently
has to jump through hoops to ensure that its writes are not “torn”
(partially written) when there is an error or crash. Luis Chamberlain led
a combined storage and filesystem track at this year’s summit to revisit
the idea of providing atomic (or untorn) writes for buffered I/O.
[$] A strange BPF error message
Post Syndicated from daroc original https://lwn.net/Articles/1016105/
Yonghong Song brought a story about tracking down the cause of a strange verifier error
message to the 2025 Linux Storage, Filesystem, Memory-Management, and BPF
Summit. He then presented some possible ways to improve Clang’s user experience for
anyone running into the same class of error in the future. Toward the end of his
allotted time, he also discussed the problems with optimizations that change the
signature of functions — a problem that José Marchesi had also brought up in
the previous session.
Security updates for Friday
Post Syndicated from daroc original https://lwn.net/Articles/1016484/
Security updates have been issued by AlmaLinux (firefox), Debian (atop and thunderbird), Fedora (webkitgtk), Mageia (microcode), Oracle (expat), SUSE (apparmor, assimp-devel, aws-efs-utils, expat, firefox, ghostscript, go1.23, gotosocial, govulncheck-vulndb, GraphicsMagick, headscale, libmozjs-128-0, libsaml-devel, openvpn, perl-Data-Entropy, and xz), and Ubuntu (gnupg2, kernel, linux-azure-fips, linux-iot, openvpn, ruby-saml, and xz-utils).




