SShortSingh.
Back to feed

Memotong video dari transkripnya dengan ffmpeg, dan jebakan jeda yang tersisa

0
·1 views

Penyuntingan video berbasis teks sebenarnya hanyalah daftar rentang waktu per kata dan satu perintah ffmpeg, di mana kata yang dihapus menjadi potongan sementara sisanya dipertahankan. Penulis menjalankan pipeline ini dengan Python pada klip wawancara NASA bersama astronaut Christina Koch berdurasi 37,3 detik, yang transkripnya berisi 119 kata. Audio cukup diekstrak untuk dikirim ke transkriber agar biaya lebih rendah, dan waktu potong dibulatkan ke batas frame 30 fps agar sesuai dengan yang dipotong ffmpeg. Hasil suntingan menghasilkan empat rentang, termasuk satu rentang pendek 134 ms yang memuat kilasan tengah kalimat yang seharusnya sudah dihapus. Masalah itu muncul karena jeda di antara kata-kata terhapus ikut dipertahankan, sehingga perbaikannya harus menentukan kepemilikan jeda tersebut.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

AI Models Map San Francisco From Memory, With Mixed Accuracy

Researchers tested six AI chat models from Anthropic, OpenAI and Google by asking what lies at 41,526 coordinates across San Francisco. The models answered without maps or internet access, and each answer was checked against OpenStreetMap. The best models, run at high reasoning settings, labeled the city's water and park areas correctly about 86% of the time. Their results were close to one another and beat a baseline of 61% from simply guessing neither water nor park. Finer-grained tests in Crissy Field, the Marina and the Palace of Fine Arts showed the models could partly distinguish dense street grids from parkland, though small parks were often misidentified.

0
ProgrammingDEV Community ·

Google Maps closure data often lags reality, test of 400 US places finds

A study checked 400 random US business listings from Overture Maps against the Google Maps status for each place. An automated enrichment tool marked 93 as closed, and the researchers examined those cases by checking public listings and independent sources. After verification, 86 of the 93 flagged closures were confirmed, while 3 were wrong and 4 remained unresolved. Roughly a quarter of the confirmed closures, 23 of 86, still appeared as open or were missing on Google Maps. The authors caution that the test only covered the closures they flagged and is not a complete measure of accuracy.

0
ProgrammingDEV Community ·

Study Finds Citation Checks Miss Fabricated Claims in Automated Research Pipeline

A researcher built an automated research agent whose claims are checked against their cited sources, and it scored perfectly on its own benchmark. The author then tested it with poisoned sources, planted instructions, swapped statistics, and questions the sources could not answer. Nearly all source-borne attacks succeeded, and citation accuracy stayed at 100% even for fabricated claims. The critic only verifies that a claim faithfully quotes its source, not whether the source itself is reliable. The work argues that structural citation alone does not guarantee trustworthy research.

0
ProgrammingDEV Community ·

Shared Git-Backed Memory Helps AI Coding Agents Avoid Rejected Approaches

A developer describes how scattered Markdown notes caused Claude Code, OpenAI Codex, and Google Antigravity agents to revisit approaches the team had already abandoned. He built KYB, an open-source shared store backed by Git, which keeps versioned records with lifecycle states such as active, archived, and retracted. The system lets users query current state, history, or a specific time slice, and allows wrong information to be replaced rather than appended. The author notes his experience is anecdotal, with no controlled benchmarks, and the mechanisms are pinned to KYB version 0.3.3.