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

Wednesday, January 11, 2023

The Incredible Tomato Suspension Bridge Project




This was shot during the summer of 2020 when I was staying at my friend's house on their small farm, we had over 85 tomato plants and due to the drip irrigation that I set up, they had grown so large that they were about to fall over with their cages, likely destroying the plants.


So, I decided to build a suspension bridge.


I had never built a suspension bridge before, I knew the basic physics behind how they worked and I figured I had enough raw materials so over the course of a few days I cut, doug, screwed, unscrewed, tore down what I had built, rebuilt it better, and eventually had what I'm calling the 'Incredible tomato suspension bridge'


I'm very proud of how it turned out, I didn't have a post hole digger so I ended up using a Shop-Vac and a small garden shovel, which was surprisingly super effective and produced an exceptional result!


Anyway, let me know what you think.. the video is a bit long I know I'm sorry, I cut out a lot and sped up most of the video 10x


Some spots I wanted to go faster than 10x but DaVinci Resolve kept glitching out so I trimmed out a few sections.


#YouTuber #SmallBusiness #Gardening #TimeLapse #Farming #tomatoes #engineering #redneckengineering  #DIY #Canada #Ontario #SuspensionBridge