site  contact  subhomenews

EasySR screen recorder audio cutoff fixed

July 01, 2026 — BarryK

I posted about EasySR recently, and have been using it to create the YouTube videos, as EasyCast is unsatisfactory. I created EasySR about a week ago, a GUI frontend for the 'ffmpeg' commandline utility, and have been gradually improving it.

One problem is that audio cuts out before the video stops recording. I hunted online for solutions, none of them perfect, but did find a recommendation that reduces the audio cutoff to 800ms before the video stops. Still not good enough.

Just now did another search, framing the question to Google AI a bit differently; this time got an answer that fixes the problem:

Audio truncation when recording desktop using x11grab and pulse happens because the audio stream finishes exactly at the time it took for the video encoder (e.g., libx264) to initialize. Add the -apad audio filter to your output command to indefinitely pad the audio stream so it matches the video length.

A proper command structure using the pad filter looks like this:

ffmpeg -video_size 1920x1080 -framerate 30 -f x11grab -i :0.0 -f pulse -i default -af apad -c:v libx264 -preset ultrafast -c:a aac output.mp4

Key Flags to Prevent Cutoffs and Sync Issues:
-af apad: This FFmpeg filter prevents audio from falling short of the video stream by continually padding the audio with silence until the video stream ends.
-preset ultrafast: Lowers CPU usage during recording. Using high-load encoders without this flag is often the root cause of initialization delays that truncate the audio.
-async 1: If your audio and video slowly drift out of sync over a long recording, adding this legacy flag can help force them together (though it is largely deprecated, it is still used by many for desktop capture)

This is what I have put into EasySR, script /usr/local/easysr/easysr:

ffmpeg -framerate ${FPS} -f x11grab -i :0.0 -f pulse -i default -af apad -c:v libx264 -preset ultrafast -c:a aac -vf "scale=-2:${HEIGHT}" /files/media/video/EasySR/${FNAME}.mp4

...works great! The ordering of the components on the command line is tricky, had to get it just right. I haven't put in that "-async 1"    

Tags: easy

EasyOS YouTube Part-9

June 30, 2026 — BarryK

The previous video, Part-8, introduced Easy Containers. Part-9 explains a few extra details about Easy Containers. Also explains about running as the administrator (root) and "crippled root" in containers. Also shows how you can see what packages are in 'easy.sfs' and 'devx.sfs'. Also explains some tweaks for the webcam.

https://www.youtube.com/watch?v=1jj-Nl204_g    

Tags: easy

EasyOS YouTube video Part-8 Easy Containers

June 30, 2026 — BarryK

Easy Containers is unique to EasyOS, needed to create a video showcasing it. Now done.

"EasyOS Part8 Easy Containers"
https://www.youtube.com/watch?v=VQk8ftYQaeI

So much more that can make a video about... have to think what next.    

Tags: easy

EasySR screen recorder fix audio cutoff

June 27, 2026 — BarryK

Recording on-the-fly audio and video with ffmpeg, using x11grab, direct to an MP4 file, results in audio getting cutoff prematurely at the end.

There is a lot of online discussion about this, but I could not find anything to fix it. Except this page, that shows how it can be minimized:

https://trac.ffmpeg.org/ticket/11330

I have added "-preset ultrafast", which gets the cutoff audio to just under 1 second. That's OK, now that I know, will stop talking 1 second or more before ending the video.

Note, there is another little issue, was getting duplicate video resolution radiobuttons, fixed that too.   

Tags: easy

YouTube video Part-7 version update

June 27, 2026 — BarryK

This video shows how easy it is to update EasyOS to the latest version.

https://www.youtube.com/watch?v=IVZIyH_CwBc

All of the videos in this EasyOS-series may be seen here:

https://www.youtube.com/@barrykauler/videos    

Tags: easy

YouTube EasyOS-series Part-6 access phone

June 27, 2026 — BarryK

I created a short video showing how to access your Android phone from the EasyOS desktop:

"EasyOS Part6: Access android phone"
https://www.youtube.com/watch?v=et0f6YAmg1M

You must use a USB cable that is capable of data transfer, not a charging-only cable. Well, it won't work if you try with a charging-only cable.

I plan to show how to run "Droidcam", to use a phone as a webcam, in the next video.  

Tags: easy

EasyOS Excalibur-series version 7.4.2

June 27, 2026 — BarryK

Newcomers to EasyOS, please read the 7.4 announcement, as it has more detailed information:

Changes since version 7.4.1:

Limine bootloader has been updated from 10.7.0. Unfortunately, we cannot bump to the 12.x version, due to a change in I/O handling that renders our ext4 patch invalid. See here. To jump to 12.x, we will have to drop support for ext2/3/4, which will require 'vmlinuz' and 'initrd' to be in a vfat partition. Very reluctant to do that.

Download:

https://distro.ibiblio.org/easyos/amd64/releases/excalibur/2026/7.4.2/

Newcomers will also find the new YouTube videos helpful with getting started:

https://www.youtube.com/@barrykauler/videos

Feedback welcome at the forum:

https://forum.puppylinux.com/viewtopic.php?p=172954#p172954

Have fun!    

Tags: easy

Limine version 12.3.3 panic

June 26, 2026 — BarryK

I posted yesterday about compiling the latest Limine bootloader

Built EasyOS with it, what was to be version 7.4.2; however, got a Limine panic loading 'vmlinuz'.

Have reported it to the developer mintsuki:

https://github.com/Limine-Bootloader/Limine/issues/602    

Tags: easy