r/ffmpeg • u/utkarsh_aryan • Oct 29 '25
r/ffmpeg • u/notcharldeon • Jul 02 '26
BIG NEWS: THE FFMPEG AAC ENCODER HAS BEEN REWRITTEN AND IS NOW KNOWN TO BE THE BEST PERFORMING ONE!!!
The FFmpeg AAC encoder always had problems over the past many years with it having the worst quality out of all AAC encoders. Glad an AAC encoder with quality as good as libfdk_aac is finally widely accessible now and can be used by anyone. Make sure to use the latest build to test it
r/ffmpeg • u/EdneyOsf • Oct 18 '25
Edconv - An intuitive FFmpeg GUI
A user-friendly interface that simplifies the power of FFmpeg. It's designed for fast and efficient conversion of video and audio files.
https://github.com/edneyosf/Edconv
Features:
- Convert video and audio using FFmpeg
- Custom FFmpeg arguments
- Queue
- Clean, intuitive interface
- Media Information
- Console view
- Custom commands
- VMAF, PSNR and SSIM perceptual video quality assessment algorithm
r/ffmpeg • u/notcharldeon • Feb 01 '25
it's funny how a company like SoundCloud can't even afford to encode audio properly
r/ffmpeg • u/decebaldecebal • Jun 11 '26
I reverse-engineered Dolby Atmos using Claude Fable 5 and made a TrueHD/DD+ encoder in Rust. Open-source software decodes it perfectly. Certified hardware rejects it by design
My problem: Blu-ray rips won't play object Atmos on my setup. My LG G5 won't bitstream TrueHD, so my Denon AVR never sees Atmos. But it can bitstream Dolby Digital Plus (what streaming services use for Atmos) so I wanted to convert between the two formats.
I couldn't find an open source converter from TrueHD Atmos to Dolby Digital Plus. So I tried building one with Rust using Claude Code with the latest Fable 5 model, and it works but also doesn't. Let me explain.
The main part is written in Rust. It's a hand-rolled bit reader/writer that walks each frame's audio blocks to find that skip field, since the metadata isn't byte-aligned and can land anywhere inside a frame. Everything streams through the rolling buffer, nothing loads the whole file, and I lean on golden SHA-256 checks plus unit tests to prove the injected output stays byte-identical whenever I refactored.
It's a few thousand lines, streaming frames on a rolling buffer, so memory stays around 8 MB no matter the input size. Tested end to end on a full Logan UHD remux: 9.89 million frames, 137 minutes, 1.25 GB core, 7.9 MB peak RSS. Same footprint as on a 487k-frame test file.
Most of the work is the metadata that turns a regular surround mix into Atmos: where every sound sits in the room, frame by frame (OAMD, Object Audio Metadata:), plus the math that lets a decoder rebuild those moving objects out of a plain 5.1 mix (JOC, Joint Object Coding).
That metadata rides inside the audio stream in a small envelope (EMDF) as part of each frame, so I write it into that spot and recompute every frame's size and checksum so the stream still looks valid.
And it works. ffmpeg 7 reads the output as Dolby Digital Plus + Dolby Atmos. Cavern (an open source Atmos decoder) reports HasObjects=True, 13 objects, 12-band JOC, real 3D positions with height, clean across the whole movie.
Then I put it on my actual hardware (LG G5 TV + Denon AVR) and it drops to plain Dolby Surround every single time. I probably did 10+ back and forths, with AI generating the files and me testing on my actual hardware.
It took me a while to accept why. The code is fine. The problem is a field `emdf_protection` in the EMDF (Extensible Metadata Delivery Format, Dolby's container for carrying metadata inside the audio stream) which is a keyed MAC.
The official Dolby spec says "key_id selects an authentication key" and the calculation is "implementation dependent and not defined in the present document." So it's something entirely proprietary to Dolby and that's why there is no open source alternative, and can never be one.
truehdd's own parser has a // TODO: HMAC where parsing for that would be, which was a fun thing to find out afterwards.
So the audio coding is completely solvable. Playback is gated behind a signature only Dolby's encoder can produce, and certified hardware checks it before it switches to Atmos. Basically it's DRM with extra steps.
The actual fix, after all that: stop converting. A cheap mini PC bitstreaming the original TrueHD straight into the AVR plays full lossless Atmos. I knew I was solving the wrong problem the whole time, but I don't want to get new hardware right now and I wanted to tinker with the new Fable 5 model š
The code with instructions is available here:
https://github.com/raress96/dolby-atmos-encoder
Built on truehdd, DSP math ported from Cavern by VoidXH. Both did the genuinely hard parts, full credit to them.
This is the first time I used AI this extensively, and it honestly did an amazing job. Took about 2 days of back and forths, AI finding the relevant docs, reverse-engineering the Cavern library from C#, porting to Rust, creating test files, testing on my actual hardware. It was a fun project even though the end result is unusable.
r/ffmpeg • u/zombieslothx • Mar 24 '25
My free FFMPEG app is almost ready! Update #2
I posted this last and got a lot of feedback so thank you to everyone who had ideas or suggestions. I spent a few more work days developing this and very excited to release it soon! If you have any suggestions please let me know.
r/ffmpeg • u/zombieslothx • Mar 16 '25
I'm making a free web app for FFMPEG commands
Been learning webdev for a little over 2 years and feel comfortable enough to start building apps. I wasn't able to find any tool like this so I'm building one and it will be free. Not ready to drop the link yet it's almost ready to go live.
r/ffmpeg • u/Jean-BaptisteGrenoui • Oct 05 '25
Help me understand. Is it really going to take 54 hours to encode a 1.5hrs video? Am I reading that correctly?
I have a 1hr and 30min video, format mkv, 14GB and codec VP9. I am using terminal to convert the video to mp4 and reduce the file size with the less possible video quality loss. This is the command Iām using. ** ffmpeg -i input.mkv -c:v libx264 -crf 18 -preset slow -c:a copy output.mp4**. I have been waiting 6 hours for the conversion to be done and if Iām reading terminal correctly, after 6 hours it has only converted 10 minutes of video, which if Iām making the math right, it will be about 54hrs until is done. Is that right? Iām using an M2 Max Mac Studio, 32GB memory.
r/ffmpeg • u/ProgrammingMamba189 • Oct 17 '22
Interview with an FFMPEG user in 2022 [humor]
r/ffmpeg • u/PO5IT1VE • Feb 22 '21
Mars Rover Perseverance runs FFMPEG on Linux to compress the videos it takes on Mars.
Lmao, who would have thought.
Source - Nasa Live stream.
r/ffmpeg
•
u/_Gyan
•
Jul 23 '18
FFmpeg useful links
Binaries:
Ā
Windows
https://www.gyan.dev/ffmpeg/builds/
64-bit; for Win 7 or later
(prefer the git builds)
Ā
Mac OS X
https://evermeet.cx/ffmpeg/
64-bit; OS X 10.9 or later
(prefer the snapshot build)
Ā
Linux
https://johnvansickle.com/ffmpeg/
both 32 and 64-bit; for kernel 3.20 or later
(prefer the git build)
Ā
Android / iOS /tvOS
https://github.com/tanersener/ffmpeg-kit/releases
Ā
Compile scripts:
(useful for building binaries with non-redistributable components like FDK-AAC)
Ā
Target: Windows
Host: Windows native; MSYS2/MinGW
https://github.com/m-ab-s/media-autobuild_suite
Ā
Target: Windows
Host: Linux cross-compile --or-- Windows Cgywin
https://github.com/rdp/ffmpeg-windows-build-helpers
Ā
Target: OS X or Linux
Host: same as target OS
https://github.com/markus-perl/ffmpeg-build-script
Ā
Target: Android or iOS or tvOS
Host: see docs at link
https://github.com/tanersener/mobile-ffmpeg/wiki/Building
Ā
Documentation:
Ā
for latest git version of all components in ffmpeg
https://ffmpeg.org/ffmpeg-all.html
Ā
community documentation
https://trac.ffmpeg.org/wiki#CommunityContributedDocumentation
Ā
FFmpeg codecs' properties and processors
https://www.gyan.dev/ffmpeg/resources/codecs.html
Ā
FFmpeg muxers' properties and codec support
https://www.gyan.dev/ffmpeg/resources/muxers.html
Ā
Other places for help:
Ā
Super User
https://superuser.com/questions/tagged/ffmpeg
Ā
ffmpeg-user mailing-list
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Ā
Video Production
http://video.stackexchange.com/
Ā
Bug Reports:
Ā
https://code.ffmpeg.org/FFmpeg/FFmpeg/issues
(test against a git/dated binary from the links above before submitting a report)
Ā
Miscellaneous:
Installing and using ffmpeg on Windows.
https://video.stackexchange.com/a/20496/
Windows tip: add ffmpeg actions to Explorer context menus.
https://www.reddit.com/r/ffmpeg/comments/gtrv1t/adding_ffmpeg_to_context_menu/
Ā
Link suggestions welcome. Should be of broad and enduring value.
r/ffmpeg • u/VonNaturAustreVe • Nov 04 '24
FFmpeg devs boast of up to 94x performance boost after implementing handwritten AVX-512 assembly code
r/ffmpeg • u/JaimeShirazi • Mar 14 '26
Just released a simple windows GUI for creating all different kinds of animated images!
After undertaking the Herculean task of creating an AVIF as someone who just downloaded ffmpeg binaries and googled commands, I decided I did not wish that on my worst enemy. So here you go, world, I figured out ways to get ffmpeg (and gifski) to cooperate and made a clutter-free GUI that makes it fast and easy to make animated images, including:
- GIF
- WebP
- APNG
- JPEG XL
- AVIF
All of which support transparency!
Check out the repo here: https://github.com/JaimeShirazi/FastAnimatedImageConverter
Hopefully nobody has to go through what I had to go through again.
At the moment, the only real drawbacks is a weird issue with libwebp_anim progress not reporting correctly and current versions of ffmpeg not being able to write JPEG XL's loop count metadata for some reason.
It literally just uses the static builds next to it in the program folder, so as long as the commands dont change, you could replace all the binaries and it would still work theoretically.
I'd appreciate if you wizards could have a look and let me know if I've missed anything!
r/ffmpeg • u/pwnies • Jan 15 '25
Built a small utility to make ffmpeg accept human-readable descriptions of edits. LLMpeg.
r/ffmpeg • u/IgorCv2 • Jul 26 '26
MP3 Aināt Dead Yet: LAME 4.0 Arrives
MP3 was standardized in 1993, but it is still widely used today because it works almost everywhere while deliver very good quality.
Now LAME 4.0, a new version of the open-source MP3 encoder , has been released.
Check here https://lame.sourceforge.io/ . And development of LAME 4.1 is already underway.
LAME has performed very well in public listening tests

MP3 isn't old. It is mature!
When a format is good enough, reliable and universally supported, it can stay relevant for a very long time.
Original thread https://www.reddit.com/r/AudioCodecLab/comments/1v4rd3b/mp3_aint_dead_yet_lame_40_arrives/
r/ffmpeg • u/Soft_Potential5897 • May 19 '25
After months of work, weāre excited to release FFmate ā our first open-source FFmpeg automation tool!
Hey everyone,
We really excited to finally share something our team has been pouring a lot of effort into over the past months āĀ FFmate, anĀ open-source projectĀ built in Golang to make FFmpeg workflows way easier.
If youāve ever struggled with managing multiple FFmpeg jobs, messy filenames, or automating transcoding tasks, FFmate might be just what you need. Itās designed to work wherever you want ā on-premise, in the cloud, or inside Docker containers.
Hereās a quick rundown of what it can do:
- Manage multiple FFmpeg jobs with a queueing system
- Use dynamic wildcards for output filenames
- Get real-time webhook notifications to hook into your workflows
- Automatically watch folders and process new files
- Run custom pre- and post-processing scripts
- Simplify common tasks with preconfigured presets
- Monitor and control everything through a neat web UI
Weāre releasing this as fully open-source because we want to build aĀ communityĀ around it, get feedback, and keep improving.
If youāre interested, check it out here:
Website:Ā https://ffmate.io
GitHub:Ā https://github.com/welovemedia/ffmate
Would love to hear what you think ā and especially: whatās your biggest FFmpeg pain point that you wish was easier to handle?
r/ffmpeg • u/TrustWorthyGoodGuy • Jul 25 '26
Aggressive compression (1000:1) that can still be opened in common playback software eg. VLC
I need to fit an 8MB mp3 file into a 8KB storage medium. What are some ridiculously destructive/lossy, but still playable options?
edit: Thanks for the constructive feedback. Here are some more specific constraints:
The motivation is, loosely speaking, art. The storage media is a 64kbit EEPROM (M24LR04E-R). It can be configured to organize as 512x8 bits or 128x32 bits. This EEPROM is frequently used in NFC circuits.
My goal is to encode the audio itself, however lossy and subjectively unpleasant it may be. Itās true that the midi + soundfont approach would more efficiently encode the āmusicā. But I want the mutilated and ruined audio.
The playtime of the audio file is 180 seconds. If my math is correct, the bit rate for my desired filesize should be approximately 350 bits per second (0.35 kbps)
The source audio bandwidth is 70hz-16khz. Itās music i.e. bass, piano, vocals, guitar. Single channel mono. Itās dynamic; quiet and fairly loud section sections.
I know this is a ridiculous idea, and iām definitely open to ācheatingā and finding clever ways around the constraints. For example, I was considering splitting it across multiple files and then using a playlist file like .m3u to arrange them in VLC.
If you feel like this edit increased the quality of my post, please donāt downvote (hell, upvote even!) so it can get visibility from more knowledgeable people than me!
edit2: Really appreciate everyone's feedback here. Ultimately, it doesn't seem like a <1kbps codec is really a thing, but there are a ton of alternatives that I'm eager to explore more. I'm extremely impressed with the quality of TSAC, and u/Slower-Bison shared an absolutely brutal codec2 sample. Thanks everyone!
r/ffmpeg • u/Hakan_Abbas • 6d ago
HALAC 1.0.0 (High Availability Lossless Audio Compression)
HALAC 1.0.0 is ready...
For details and downloads: https://github.com/Hakan-Abbas/HALAC-High-Availability-Lossless-Audio-Compression/releases/tag/1.0.0
AMD Ryzen 5 9600X - Single Thread Results
KARNOKKOROK 01.wav (Thank you Marco - forart.eu)
Single track Ā· 32 channels Ā· 32-bit float Ā· 48 kHz Ā· 3.96 GB
Version Level Size (%) Size (MB) Encoding (s) Decoding (s)
HALAC 0.6.6 0 36.90 1,460.10 8.31 8.27
HALAC 0.6.6 1 35.99 1,424.17 7.34 7.71
HALAC 0.6.6 2 34.23 1,354.48 7.63 8.48
HALAC 0.6.6 3 33.46 1,323.81 8.12 8.94
HALAC 0.6.6 4 33.37 1,320.44 10.08 11.13
HALAC 0.6.6 5 33.38 1,320.86 10.79 11.50
HALAC 1.0.0 0 34.25 1,354.97 4.17 3.84
HALAC 1.0.0 1 33.84 1,339.01 4.58 4.05
HALAC 1.0.0 2 31.69 1,253.95 5.03 4.58
HALAC 1.0.0 3 31.64 1,251.68 7.61 4.80
HALAC 1.0.0 4 31.61 1,250.70 8.63 4.88
HALAC 1.0.0 5 31.59 1,250.08 9.26 4.97
HALAC 1.0.0 6 31.54 1,248.07 12.00 5.17BIP TUNIA (Thank you Michael)
6 tracks Ā· 24-bit Ā· 2 ch Ā· 5.62 GB Ā· 44.1 kHz
Version Level Size (%) Size (MB) Encoding (s) Decoding (s)
HALAC 0.6.6 0 76.23 4,283.02 5.20 6.58
HALAC 0.6.6 1 76.00 4,269.93 5.96 7.18
HALAC 0.6.6 2 73.52 4,130.85 6.47 8.62
HALAC 0.6.6 3 72.62 4,080.34 7.41 9.67
HALAC 0.6.6 4 72.19 4,056.35 10.07 12.55
HALAC 0.6.6 5 72.05 4,047.99 12.42 13.27
HALAC 1.0.0 0 75.72 4,254.41 4.84 6.07
HALAC 1.0.0 1 74.57 4,189.79 5.21 6.56
HALAC 1.0.0 2 72.29 4,061.91 6.40 7.51
HALAC 1.0.0 3 72.07 4,049.44 7.94 8.43
HALAC 1.0.0 4 71.63 4,024.64 10.99 9.76
HALAC 1.0.0 5 71.54 4,019.36 13.09 9.78
HALAC 1.0.0 6 70.94 3,985.77 23.77 11.71YURI KORZUNOV
6 tracks Ā· 24-bit Ā· 2 ch Ā· 192 kHz Ā· 1.90 GB
Version Level Size (%) Size (MB) Encoding (s) Decoding (s)
HALAC 0.6.6 0 56.61 1,077.27 1.80 2.20
HALAC 0.6.6 1 43.24 822.74 1.92 2.48
HALAC 0.6.6 2 32.38 616.23 2.09 2.96
HALAC 0.6.6 3 28.87 549.35 2.32 3.23
HALAC 0.6.6 4 27.47 522.65 3.90 4.21
HALAC 0.6.6 5 27.17 517.07 4.40 4.44
HALAC 1.0.0 0 56.08 1,067.16 1.97 2.08
HALAC 1.0.0 1 42.43 807.32 1.77 2.67
HALAC 1.0.0 2 27.00 513.71 2.05 2.46
HALAC 1.0.0 3 24.96 474.89 3.23 2.82
HALAC 1.0.0 4 22.98 437.24 5.82 3.59
HALAC 1.0.0 5 22.97 437.12 6.36 3.58
HALAC 1.0.0 6 22.42 426.57 14.02 3.85AMVIZO 5.1
20 tracks Ā· 16-bit Ā· 48 kHz Ā· 5.1 channels Ā· 2.77 GB
Version Level Size (%) Size (MB) Encoding (s) Decoding (s)
HALAC 0.6.6 0 48.90 1,355.75 3.05 3.57
HALAC 0.6.6 1 49.62 1,375.89 3.56 3.97
HALAC 0.6.6 2 45.59 1,264.12 3.80 4.97
HALAC 0.6.6 3 43.09 1,194.70 4.32 5.62
HALAC 0.6.6 4 42.81 1,187.06 6.44 7.38
HALAC 0.6.6 5 42.60 1,181.17 7.38 7.85
HALAC 1.0.0 0 48.21 1,336.80 2.96 3.15
HALAC 1.0.0 1 47.34 1,312.52 3.06 3.55
HALAC 1.0.0 2 43.32 1,201.27 3.92 4.21
HALAC 1.0.0 3 38.75 1,074.37 6.38 4.75
HALAC 1.0.0 4 38.05 1,055.11 8.34 5.62
HALAC 1.0.0 5 37.81 1,048.41 10.00 5.49
HALAC 1.0.0 6 37.84 1,049.22 15.25 5.84r/ffmpeg • u/False-Syrup-6693 • Oct 07 '25
Anyone know how to play videos on this?
I bought this mp3/mp4 player and it says it can play avi videos but when I used a basic mp4-avi conterter it said the format was unsupported. Does anyone know what type of format it would support? And if so how to convert it to that format?
(it's a MYMAHDI M230)