Skip to content

Instantly share code, notes, and snippets.

@basso
basso / gist:04cbdc9cad5629f2ae83a941875c4ad5
Last active December 1, 2025 12:32
Bazzite Linux How to force transcode Dolby Digital AC3 5.1 over HDMI ARC
COMPATIBILITY WARNINGS:
LG TV 2017: Outputs loud white noise on occation.
CHANGE NOTES:
22.11.25 Added a systemd unit to send backround noise to pcm to make it keep alive, this will stop audio from cutting on idle
23.11.25 Change default bitrate to be 640kbit, max for HDMI ARC.
24.11.25 Workaround for alsa card changing from 0 to 1, or 1 to 0 on reboots.
24.11.25 Normalize working on systemd units, now its only ac3 and ac3-keepalive
I have managed to get the alsa-plugins-a52 to output over HDMI on bazzite.
@basso
basso / Convert.ps1
Created June 24, 2018 21:00 — forked from sidewinder94/Convert.ps1
Convert a folder using ffmpeg in Powershell
#Replace the extensions if needed
Get-ChildItem -File | Foreach {ffmpeg.exe -i $_.FullName -vn -acodec copy ($_.FullName -replace "\.mp4", ".aac")}
@basso
basso / account-login
Last active August 29, 2015 14:00
Castcloud
{
"token":"1337EGAh10qpLDq7xDTXG41r6T//ONLRvF5hd\/M3AX9I="
}
```
>curl http:// UrlPath /api/library/casts -H "Authorization:SuperSecretToken"
[ { "arrangement" : null,
"feed" : { "atom:link" : { "href" : "http://pubsubhubbub.appspot.com/",
"rel" : "hub"
},
"copyright" : "Copyright Jupiter Broadcasting",
"description" : "A weekly show covering the latest developments in the world of the BSD family of operating systems. News, Tutorials and Interviews for new users and long time developers alike.\n",
"docs" : "http://blogs.law.harvard.edu/tech/rss",