Urgent.News

What's breaking now, across thousands of outlets.

Tech

Extract the audio from a video with ffmpeg from command line

You have a recording of a call or a talk, and you only want the audio. How do you do it? You ask an AI, and it gives you the classic line: ffmpeg -i "Team call.mp4" -vn -acodec copy out.mp3 It fails: Invalid audio stream. Exactly one MP3 audio stream is required. Could not write header (incorrect codec parameters ?): Invalid argument and leaves an empty out.mp3 behind. The audio inside an .mp4 is…

The source material provides instructions on how to extract audio from an MP4 video file using ffmpeg, a command-line tool. The process involves using a script that asks ffprobe for the audio stream inside the video, and then chooses the appropriate output format (mp3, m4a, wav) based on user input. The script handles errors, such as missing audio streams or codec issues, and outputs the extracted audio file with the same name as the input video, but with a different file extension.

The script is designed to be reusable, with a GUI implemented using cmdbook for easier command-line usage.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

OpenHands vs SWE-Agent vs AutoGen: Best Autonomous Dev Tool for Real T

Updated June 3, 2026. Current GitHub stars, licenses, official product pages, and community reports were checked before writing this expanded comparison.

  • OpenHands excels in end-to-end cloud coding with Docker sandbox
  • SWE-agent specializes in GitHub issue-to-patch automation
  • AutoGen offers most flexible framework for multi-agent orchestration

Marketplace Webhook Signature Check After Deploy With Raw Body Admission Controls

The page a marketplace team should rehearse is painfully specific: a webhook signature check starts failing after a deploy, platform events stop entering the backend, and the on-call must decide how…

  • Preserve raw request bytes before JSON middleware processes them
  • Verify original bytes before parsing to maintain signed representation
  • Reject verification failures with non-retryable status

Building a Canada-wide licensed cannabis store dataset from official provincial registries

By Where's The Weed At Canada has no single national list of licensed cannabis retailers. Retail is a provincial and territorial matter, so there are 13 registries, each with its own format, update…

  • Canada lacks a national cannabis store list, relying on 13 provincial registries.
  • The compiled dataset contains 4,030 licensed, open cannabis stores nationwide.
  • The full dataset and methodology are available at wherestheweedat.ca/stats.

More from Saturday 21 November →