mastodon.uno è uno dei tanti server Mastodon indipendenti che puoi usare per partecipare al fediverso.
Mastodon.Uno è la principale comunità mastodon italiana. Con 77.000 iscritti è il più grande nodo Mastodon italiano: anima ambientalista a supporto della privacy e del mondo Open Source.

Statistiche del server:

6,2K
utenti attivi

#ffmpeg

7 post7 partecipanti0 post oggi

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!

Ha risposto nella discussione

@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.

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.

GIF encoder based on libimagequant (pngquant). Squeezes maximum possible quality from the awful GIF format. - ImageOptim/gifski
GitHubGitHub - ImageOptim/gifski: GIF encoder based on libimagequant (pngquant). Squeezes maximum possible quality from the awful GIF format.GIF encoder based on libimagequant (pngquant). Squeezes maximum possible quality from the awful GIF format. - ImageOptim/gifski
Discussione continua

#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?

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!!

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

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?

deb.debian.orgIndex of /debian
Ha risposto nella discussione

[update:
The metadata information is retained in snippets created from a file that already has the metadata content written into it. So first step should always be to write the metadata.]

btw:
This answer should be updated into a link to a littel ffmpeg tutorial]

#ffmpeg template (in development) containing all commands for fast and simple editing of snippets, in this case with the files to create the audio file in the previous comment:
leak_bitPicRecovery_mdCC.mp3
media.tupambae.org/colaborator…

original template:
media.tupambae.org/colaborator…

@deusfigendi
So viel zu den quantenphysischen Momenten wenn ein Kommntar ueber duckduckgo-AI im Stream just in den work flow passt .. :)

@aiquez @crossgolf_rebel @mina

00:00/00:14

@linuxuserspace

Pretty late, but comment to the #Snap and #Flatpak episodes:

My Flatpaks take up 30GB of space, after deduplication. A ton of outdated runtimes (badly maintained packages) and random stuff like #mpv or #ffmpeg shipped with apps instead of as a runtime extension are issues.

And no, you dont need to have an entire #distribution for #sandboxing. You can use #bubblejail and other new tools like #crabjail or #fortify.

For Flatpak and Snap, cross compatibility is 1st priority

1/2

I made a video and an audio track sound. I synchronized the two with ffmpeg. They are well in sync on my (linux) and on a friend's (mac) laptop.

But when I load and read it on my (android) phone, the audio is slightly (.1-.2 sec?) but visibly out of sync. I can't upload this on Loops. Annoying. Any one has an idea of what I can do?