#FFmpeg

Clemens PitschkeClemensPitschke
2025-05-02

Thanks to @hyalinesystems I am now able to generate these fantastic spectrograms using .
Here is a recording of a I made last year when on a trip with friends in the nature reserve Drömling, Germany. The main species you can hear and now also see are Black Woodpecker, Eurasian Siskin and Eurasian Wigeon.
If you want to have a go yourself at this here is the link to the fantastic tutorial:
hyaline.systems/blog/ffmpeg-fo
.
.
.

2025-05-02

🎮 #Tumbleweed: A Gamer's Paradise!!! Here are April enhancements for #gamers:
🕹️ Mesa 25.0.4: Better performance in titles like Elden Ring
🎧 SBC 2.1: Reliable Bluetooth audio
🛠️ #FFmpeg 7.1.1: Robust audio decoding
#openSUSE #Linux #LinuxGaming news.opensuse.org/2025/05/02/t

Comunitatea Linux Româniaclr@comunitatealinux.ro
2025-04-30

Cum să creați un GIF pe Linux

Crearea de GIF-uri pe Linux poate părea intimidantă, dar cu instrumentele și instrucțiunile potrivite, este ușor! În acest ghid, vă voi arăta cum să creați GIF-uri personalizate utilizând sistemele de operare Linux în doar câțiva pași simpli. Cerințe esențiale GIMP FFmpeg ImagicMagick byzanz Cum se creează un GIF Dacă aveți deja o secvență de imagini, puteți evita utilizarea FFmpeg și puteți folosi GIMP sau instrumentul de linie de comandă ImagicMagick […]

comunitatealinux.ro/cum-sa-cre

Import images to create GIF
R.L. Dane :Debian: :OpenBSD: 🍵rl_dane@polymaths.social
2025-04-30

I was puzzling over why so many of my spoken word audio tracks were suddenly so muted, and I thought I was going to have to re-process all 70 of them.

Y'all, the bluetooth volume on my phone was set low.

XD

But at least now I know how to batch-detect quiet tracks with #ffmpeg!

C++ Wage SlaveCppGuy@infosec.space
2025-04-30

@Edent
If I got the video in binary form, I could read enough of the #ffmpeg man page to adjust the brightness and contrast myself. The results wouldn't be as good as a specialist could produce, certainly, but they'd be enough to tell me whether the enhanced video could plausibly have been derived from the original.

For non-geeks, my answer is quite different: we can't be sure of any evidence presented in court, because witnesses, police officers and experts could be lying. That's why we have perjury laws with such stiff penalties. If you can't get your hands on the evidence yourself, you ultimately have to trust the system.

2025-04-29

Here is the magic incantation I've found creates the best animated gifs for use as emojis in Slack. Powered by @kornel 's gifski:

ffmpeg -i INPUT.gif -vf "format=yuv420p"  -f yuv4mpegpipe - | gifski -W 128 -H 128 -Q 55 -o OUTPUT-compressed.gif -

Make quality -Q vary until size is just below ~128k. For some reason, Slack's limit is not exactly 217, but not 128000 either.

#ffmpeg #gifski #gifsicle #RustLang #SlackMoji

Radio AzureusRadioAzureus
2025-04-28

I'm going to play with this powerful ffmpeg feature time stretching

Make sure lib-rubberband is enabled at compilation time of FFmpeg!

'ffmpeg input.mp4 -filter_complex "[0:v]setpts=2.0*PTS[v];[0:a]rubberband=tempo=0.5:pitch=0.5[a]" -map "[v]" -map "[a]" output-tempo-pitch-0.5.mp4'

ffmpegbyexample.com/examples/7

The screencap shows FFmpeg by example demonstrated with a YouTube video titled "FFmpeg Timestretch Audio with Atempo v..." with a thumbnail featuring seals on a snowy surface. The video is paused at 0:00 out of 1:00, with a red play button overlay.
Below the video, there is a text box explaining the FFmpeg command parameters that play a video at half speed with audio slowed down by an octave. It mentions that to enable the compilation of this filter, FFmpeg must be configured with "enable-librubberband." The text also notes that librubberband supports time stretching without changing pitch, and suggests removing "pitch=0.5" to achieve this. The bottom of the image shows a search bar with "ffmpegbyexample" typed in, and a navigation bar with icons for home, search, and more options. The battery level is at 89%, and the time is 08:21.

 Ovis2-8B

🌱 Energy used: 0.240 Wh
2025-04-28

MP3 устарел. Будущее за современными lossless-кодеками

Сравнение производительности lossless-кодеков на материале CD-качества, то есть аудиофайлах PCM с битовой глубиной 16 бит и частотой дискретизации 44,1 кГц, источник В своё время MP3 совершил революцию в распространении музыки. Больше не нужно было покупать дорогие компакт-диски. Достаточно поставить на ночь загрузку из «Напстера» — и к утру у тебя несколько файлов MP3, которые можно слушать совершенно бесплатно! Любые исполнители и альбомы. Это было невероятно. Но сейчас времена изменились. Файлы скачиваются за секунды, а место на диске измеряется терабайтами. Нет смысла подвергать музыку калечащему сжатию с потерей информации. Можно спокойно скачивать и хранить её в lossless-форматах, причём со значительным сжатием. Есть ряд lossless-кодеков, которые эффективнее .FLAC по степени сжатия.

habr.com/ru/companies/ruvds/ar

#MP3 #lossless #HAVAC #ffmpeg #аудиокодеки #ANS #FSE #энтропийное_кодирование #арифметическое_кодирование #теорема_Шеннона #Ярек_Дуда #RFC_8478 #Apple_LZFSE #Google_Draco_3D #PIK #Nvidia_nvCOMP #Dropbox_DivANS #JPEG_XL #коды_Голомба #Monkeys_Audio #OptimFROG #WavPack #FLAC #LPC #предсказательное_кодирование #aptX_Lossless #ruvds_статьи

Andrey DarkCat09darkcat09@dc09.ru
2025-04-27

Программист — тот, кто автоматизирует задачу час, чтобы не делать вручную десять минут.

Чтоб вы понимали масштаб: я щас компилировал #ffmpeg. Хорошо, что вовремя остановил себя, когда хотел переключить с gcc на clang и врубить максимум оптимизаций.

Сама задача состояла в скачивании иконок веб-сайтов (12 штук) в локальные файлы, сразу с конвертированием в маленький WEBP. Сбор ссылок из одного конфига + проход по ним циклом с вызовом ffmpeg решается легко на баше, можно в одну строку.

Но там ровно две иконки были SVG. А в билде из войда не было флага --enable-librsvg. А я хотел, чтоб пачкой все иконки сконвертировались, без работы вручную. И поэтому пошёл компилять ффмпег (гениально).

Вручную всё-таки пришлось две штуки, там какие-то файлы кривые были.

https://git.dc09.ru/DarkCat09/dc09rs/commit/cae3f60679

@rf

Jörg 🇩🇪🇬🇧🇪🇺geco_de@troet.cafe
2025-04-25

#ffmpeg nachinstalliert. Das löste das Problem unter #Windows. Hat aber auch nicht geholfen. Wahrscheinlich bleibt mir nix anderes übrig, als extra dafür nun eine VM mit Windows aufzusetzen. Wollte ich eigentlich nicht.

Leider habe ich keine Video Schnittsoftware als #Opensource gefunden, die die Features von Cuttermaran bietet.
* Schnitt auch auf B-Frame
* Geschnittene Videos werden nur kopiert. Nur die Schnittstellen werden über den #Encoder geschleust.

Any idea?

#followerpower #fedihelp

2025-04-24

Don't forget to cool your #RaspberryPi from time to time.
Just converted some files with #ffmpeg and thought 54°C is uncommonly hot.
(Yeah, the fan control is home made 😃)

R.L. Dane :Debian: :OpenBSD: 🍵rl_dane@polymaths.social
2025-04-23

Update: Thanks to @furicle for this suggestion. I think it's about perfect:

tmp $ AV_LOG_FORCE_NOCOLOR=true ffmpeg -hide_banner -i example.opus -filter:a volumedetect -f null /dev/null
Input #0, ogg, from 'example.opus':
  Duration: 02:13:19.89, start: 0.007500, bitrate: 118 kb/s
  Stream #0:0(eng): Audio: opus, 48000 Hz, stereo, fltp
      Metadata:
        encoder         : Lavf58.45.100
[Parsed_volumedetect_0 @ 0x563ea07eeb00] n_samples: 0
Stream mapping:
  Stream #0:0 -> #0:0 (opus (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, null, to '/dev/null':
  Metadata:
    encoder         : Lavf61.7.100
  Stream #0:0(eng): Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
      Metadata:
        encoder         : Lavc61.19.101 pcm_s16le
[Parsed_volumedetect_0 @ 0x7f9920003c00] n_samples: 767987856
[Parsed_volumedetect_0 @ 0x7f9920003c00] mean_volume: -21.0 dB
[Parsed_volumedetect_0 @ 0x7f9920003c00] max_volume: -2.8 dB
[Parsed_volumedetect_0 @ 0x7f9920003c00] histogram_2db: 1
[Parsed_volumedetect_0 @ 0x7f9920003c00] histogram_3db: 70
[Parsed_volumedetect_0 @ 0x7f9920003c00] histogram_4db: 3872
[Parsed_volumedetect_0 @ 0x7f9920003c00] histogram_5db: 98331
[Parsed_volumedetect_0 @ 0x7f9920003c00] histogram_6db: 750534
[out#0/null @ 0x563ea084bf80] video:0KiB audio:1499976KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown
size=N/A time=02:13:19.87 bitrate=N/A speed= 573x    

Dear sound/audio folks and engineers,

[Update: just for clarity: I'm looking for a command line utility that will help me decide which of 70 audio recordings need amplification/compression/normalization. Something that can print out media stats like average loudness, or something like that]

I have a directory with 3.5GiB of audio files (chiefly opus & m4a) which are spoken word recordings.

Some of them are quite low, and some of them are quite dynamic such that it's a whisper at times and nearly a shout at other times.

I've processed a lot of them with #audacity's compressor filter or #ffmpeg (ffmpeg -i audio.m4a -filter:a "speechnorm=e=50:r=0.0001:l=1" audio-normalized.m4a), but there are some unprocessed files in the collection, which are a pain to individually find and fix.

Is there a way from the #CommandLine to detect the loudness and/or dynamic range of audio files so that I can automatically flag them for processing with ffmpeg?

Thanks!!

#audio #sound #SoundEngineering #AskFedi #HiveMind

Francesco Yoshi Gobbo :linux:frayoshi@qoto.org
2025-04-23

Timelapsing using only screenshots was getting heavy in term of #storage space, so have added a new #script to compress the #timelapse using a magical technology called '#video'.

so here you can find the commit!
Gonna work on adapting the multi-screen one soon ^^

oh, also rearranged the #ffmpeg config file!

github.com/FraYoshi/fura-utils
#bash #bashscript #linux #foss #floss #furaUtils

2025-04-22

#ffmpeg doesn't know how to embed album art in .opus files.

I wish I knew this before I let my computer reencode my music collection for 23 hours straight.

The ticket for implementing opus album art has been open for ten years.

trac.ffmpeg.org/ticket/4448

Fabián Rodríguez 🛡💾 🇨🇴 🌴magicfab
2025-04-22
Dendrobatus AzureusDendrobatus_Azureus@bsd.cafe
2025-04-20

@jimbolaya

I've installed the statically linked version. Now I rock the latest version of ffmpeg

#AskFediverse #ffmpeg #programming #Linux #KDE #MXLinux #iso #bash #tcsh #ksh #zsh #sh

MergeLabMergelab
2025-04-20

Tomorrow is a new day!! I’ve got so much I want to do… especially appreciating more! That will be a start!!

SSL and Recording Studio

hello all #kdenlive user,

Does anyone know a way to work in kdenlive pixelperfect? So that small images (64*64px) are upscaled to HD without blurring? Alternatively via #ffmpeg
Thanks :)

Dendrobatus AzureusDendrobatus_Azureus@bsd.cafe
2025-04-20

This error in MX Linux KDE edition is now annoying

I cant work without ffmpeg and Im NOT going to install a programming ENV: just to build one programma

>>
$ sudo apt install ffmpeg
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
ffmpeg-doc
The following NEW packages will be installed:
ffmpeg
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 1,816 kB of archives.
After this operation, 2,437 kB of additional disk space will be used.
Get:1 deb.debian.org/debian bookworm/main amd64 ffmpeg amd64 7:5.1.6-0+deb12u1 [1,816 kB]
Fetched 1,816 kB in 2s (992 kB/s)
Selecting previously unselected package ffmpeg.
(Reading database ... 342056 files and directories currently installed.)
Preparing to unpack .../ffmpeg_7%3a5.1.6-0+deb12u1_amd64.deb ...
Unpacking ffmpeg (7:5.1.6-0+deb12u1) ...
Setting up ffmpeg (7:5.1.6-0+deb12u1) ...
Processing triggers for man-db (2.11.2-2) ...
metalloid@bugrupola:~
$ ffmpeg
ffmpeg: error while loading shared libraries: libavcodec.so.59: cannot open shared object file: No such file or directory

<<

Who knows a fix apart from compilation?

#AskFediverse #ffmpeg #programming #Linux #KDE #MXLinux #iso #bash #tcsh #ksh #zsh #sh

2025-04-18

Rust и FFmpeg: Новый способ создания пользовательских видеофильтров

FFmpeg — это мощный инструмент для работы с мультимедиа, который используют для кодирования, декодирования, перекодирования и применения фильтров к видео и аудио. Но если вы работаете с Rust, интеграция с C API FFmpeg может стать настоящей головной болью: управление памятью, проблемы безопасности и крутая кривая обучения. Особенно сложно реализовать пользовательские фильтры — для этого обычно нужно писать код на C и разбираться во внутренностях FFmpeg. А что, если я скажу, что с Rust и библиотекой ez-ffmpeg вы можете забыть про эти трудности и писать фильтры прямо на любимом языке? В этой статье мы разберём, как использовать Rust и ez-ffmpeg для создания собственных видеофильтров. Мы начнём с основ, дойдём до продвинутых решений и покажем, как это может пригодиться именно вам. Готовы упростить свою жизнь? Тогда поехали!

habr.com/ru/articles/901958/

#rust #ffmpeg #media #audio #video

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst