Discord streaming audio error 1001/1002 on Windows 23H2 - fixed after 26H2 upgrade

For a while, my simracing PC was stuck on Windows 11 23H2 because I used a Windows Mixed Reality headset. WMR was deprecated and forcibly removed from Windows 11 by Microsoft in 24H2, so my only option was to stay on 23H2.

At some point in 2023 or early 2024, Discord audio stopped capturing when I was game streaming - no other changes to my machine. Since then I've periodically tried to get it working trying every possible fix or workaround available, but nothing worked. 

I was finally able to update to W11 26H2 this week - and as soon as I did, Discord audio capture in games or application streaming magically started working again! 

Without any more info, I can only presume Discord devs made a breaking change in an older build which resulted in audio capture being irreparably broken in 23H2 for certain hardware combinations. 

What's even stranger is that on another machine, which I have intentionally kept on Windows 10 23H2, Discord audio capture for game or application streaming continues to work absolutely fine! 

I raised support tickets with Discord and investigated logs myself over time, but I never had any meaningful response from them. Logs were inconclusive and didn't offer much by way of useful info on which to base investigations.

Unfortunately, I can't offer a solution in this post for why Discord on one machine started to have this issue with audio capture - I was never able to solve it. What appears to have fixed it was a W11 feature upgrade. Perhaps 24H2 would have fixed it -- but as I remained on 23H2 for much longer than most people (due to VR headset requirements), I could never test that. 

Not everyone who has stayed on an older build of W11 may want or be able to upgrade to 26H2, but if you've also got broken Discord streaming audio and you're still on the fence about moving to the latest Windows 11, it may be worth contemplating the upgrade.

Scripted conversion of HyperDeck Studio ProRes videos to x264 with burned-in timecode

This article discusses how to loop through a folder of source files, manipulating the audio tracks, suitably encoding the video and burning text and timecode in the video.

Recently I worked on a project where the output of a vision and sound mixer was recorded to a HyperDeck for later review. The setup was referenced to master clock timecode from a Signal Pulse Generator (SPG), so the HyperDeck fortunately also embedded the timecode as a metadata track in its ProRes recordings.

I received a request to generate viewable files from the ProRes source, and burning the timecode on-screen (as you see with film rushes/dailies) was considered a good consistent reference for notetaking and discussion.

The requirement was to accomplish this without needing to use expensive NLE software or traipse into the office each night to use an edit suite. This session was in a hired facility miles from my usual workplace and I only had a Windows 10 laptop for company. But all we need is FFmpeg and FFprobe...

Click to read more and see my example script...

Frameserving from Premiere Pro CC 2019 to FFmpeg

This article discusses how to set up frameserving from Adobe Premiere CC 2019 or later for great results with free software.

A while ago while working on batches of video edits, I came to the realisation that frameserving is simply the best, most flexible way to encode in some cases. Time marches on, and so did my software - eventually I came to a new machine, new Premiere Pro and - disaster - no apparent support for frameserving. Just when I needed it...

Cleverer people than me have solved the CC2019 problem - for those of you editing in Premiere it's once again fairly easy to frameserve encode. However, it did take a bit of sleuthing to figure out a few things; this tutorial should help you to avoid the same problems I encountered.

November 2019: Vouk's excellent Voukoder plugin for After Effects and Premiere can now accomplish some of what this article covers, and it has an active developer and user community. Vouk includes the FFmpeg/libav filters to enable things like bwdif deinterlacing. There are still some bugs but it's worth a test - it should integrate nicely into an AME or batch workflow. More complicated workflows may still benefit from frameserving, so it's still worthwhile to do.

July 2020: wangqr, the developer of the dfscPremiere.prm patch, informed me by email that he's not maintaining it any more as it's been merged into the main Debugmode Frameserver repository. Download v3.0 for use with CC2019 and above. Thank you for your hard work, Q!

Spoiler: it's a little bit of work, not very difficult, and the results are great
I ♥