Friday, March 10, 2023

Today I found out "The hard way" that Google drive Enterprise has a limit to the number of files you can store..

 So I just got the following error while uploading files with rclone:


googleapi: Error 403: This account has exceeded the creation limit of 5 million items. To create more items, move items to the trash and delete them forever., activeItemCreationLimitExceeded


I was unaware there was a limit, I have "unlimited" storage with about 9.3 TB used, and I pay about $26 USD/month for this..


I've deleted a few million files and emptied the trash but as of yet I cannot create new files..


We shall see what happens.. how long it takes to 'update' and let me create files again.. 


I've added a comment on the following issue tracker.. 

https://issuetracker.google.com/issues/268606830

 

Thursday, March 9, 2023

Video editor using ffmpeg that supports HDR and any other type of video, no GPU required

I made a python script that lets you edit video without re-encoding and automatically cuts on the closest keyframe (iframe)

This means you can edit video without having a strong cpu, including HDR video!!!

This barely uses any CPU, and runs really really fast, as long as you're ok with jump cuts.

Check it out on github!

https://github.com/igmrlm/KeyframeCutandConcat

Friday, February 24, 2023

How-To make Trunking Recorder Play Audio Faster

If you're running trunking recorder on a system that has lots of calls, you may have an issue where the calls are coming in faster than playback and a backlog of calls piles up and you have to either have to pick and choose what calls you want to hear or get far behind realtime.

I don't like either choice, so I spent a fair bit of time researching how the software works, reading through the javascript files and such and found that if you add a single line to trunkingrecorder.js you can change the default playback speed!

I'm not good enough at coding to modify it so that there's a dropdown menu to change the speed at will, but for my case, I changed the playback speed to 1.5x and find that's the perfect speed to keep up with the system I'm monitoring, Bell Fleetnet Zone 2 in Ottawa.

So how do you do this:

Open TrunkingRecorder.js in a text editor, it's located by default at:

C:\Program Files\Trunking Recorder\Website\js\TrunkingRecorder.js

Go to line 1375, where it says:

1372            audio.addEventListener('timeupdate', AudioTimeUpdated);

1372            audio.addEventListener('ended', PlayerEnded);

1373            audio.addEventListener('pause', PlayerPaused);

1374            audio.addEventListener('play', PlayerPlay);

1375            audio.addEventListener('error', PlayerError);

And add a new line:

1376            audio.defaultPlaybackRate = 1.5;

Where 1.5 is the playback rate you want to use, this could be 1.25, 1.75, 3.20 or whatever playback speed you want.


Save the file and refresh the page and VOILA!! It should now be playing faster!

Hope this helps, leave a comment if it did!

While you're at it, check out my scanner feed at https://www.youtube.com/nathanaelnewton