Sunday 24 June 2018

TimeLapse: Wainuiomata Shopping Centre LH, NZ.


What happens outside our shopping centre at 9am on a Sunday morning in the middle of winter, not a lot.

Well on this mornings ride I had a small crash. I went up a driveway that had a triangular piece missing right in the middle of it. My front wheel lodged at this spot and instantly stopped the bike from progressing any further, which resulted in me flying over the handle bars. A quick check over the bike no visible damage and a test ride in the car park everything seemed good.

24kms later I wasn't feeling too good, so I stopped at this spot for a timelapse opportunity and check myself over. The graze on my legs I fixed up fine (I always carry a full 1st aid kit) but a few of my ribs was making it uncomfortable to ride, time go ride home.

With this timelapse I changed it up a little from 2sec intervals to 5sec intervals because I knew it was a boring place to capture LoL. The only problem with doing this it took 48mins to create this 24sec timelapse.


Tuesday 19 June 2018

Installing Arduino IDE on Linux Mint 18.3


I have always had a problem installing this piece of software, you can download the archived file from here https://www.arduino.cc/en/Main/Software


Once unarchived you need to run the ./install.sh in a terminal to create the desktop icon. Up to this point everything worked fine, until I plugged the USB cable from the computer to the Arduino board.

Loading up the example blink sketch, then sending it to the UNO resulted in an error message which unfortunately I cannot display because I have resolved the problem.

The problem was the UNO was not recognized on any port, so searching DuckGo I needed to find a BASH command that tells me what is connected to the usb ports. lsusb


which was actually pointless, all it told me was the UNO device
Bus 003 Device 006: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter. I have no idea what to do with that information. So I played around with the Tools/Ports option in the IDE, choosing between /dev0/ttys4 try uploading, /dev/ttys0 try uploading again, same error. These were the only 2 options, until 5mins later, I looked again lo and behold a third option appeared,
/dev/ttyUSB. This has to be it, so tried uploading sketch again and bugger me a new error appeared LoL.



this time access denied. In fact this is something I remember from previous installations so back to DuckGo and find those BASH commands that allows me access.


sudo usermod -a -G dialout <your login name>

sudo chmod a+rw /dev/ttyUSB0


Not sure about the second line (didn't use it)  but all works perfectly now, so expect some Arduino Projects coming up very soon.

Wednesday 13 June 2018

Twitch Experience: I Gots Me A Webcam


After 2 weeks on Twitch it was time to hook up a Webcam. I'm not sure how I would feel about this so the obvious thing to do was to quickly get my hands on a cheap webcam. $1.00 from Trademe, even though it was only 480p, perfect for what I want to do for now and in 3 days was on my doorstep.

You would think a simple device like this would work perfectly the moment you inserted the USB plug. Well yes, kind of. I got no indication/alert telling me a new hardware device has become available. So now what. Linux Software Manager opened to find a webcam program which resulted in a program called Cheese. Installed, ran it, it didn't acknowledge the presence of the webcam. For the next hour I was singing a different version of "Oh happy days" until I decided to do a reboot. It works, hallelujah! I see me on screen and go, geez who's this ugly bugga.

So I closed down Cheese, set up my Twitching environment, added a source using the webcam option, and it did not find the webcam. Here we go, another chorus of "Oh happy days" starts. So once again, started up Cheese and yes, once again Cheese didn't acknowledge the webcam. Well the obvious conclusion was, if you wish to use the webcam that day, do not close webcam window because if you do, you have to reboot the computer!

Using Cheese was fine, but I wanted to use the webcam without this program, it has issues and every time it crashes it was reboot time, so it was BASH time:-

ls -ltr /dev/video*

Use this to find what port Linux recognises the webcam

mplayer tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0 -fps 60

This will bring up a window showing, well your face :-)
It is this window I use as the source for OBS


Yes the quality is awful, and I intend on getting a real webcam like a Logitech 920 after watching and talking to Jade from Twitch.

Monday 11 June 2018

TimeLapse: Wainuiomata Mall Playground, LH, NZ.


Another forgotten folder. I remember this moment. Had a flat tire so I put the Sony on the ground, started the timelapse. I need to work on my "what/where to record" to get that money shot.

TimeLapse: Wainuiomata Summit, LH, NZ


I did this a while back and totally forgot about this folder full of 600jpgs.

Sunday 10 June 2018

TimeLapse: Wainuiomata Reservoir Waterworks, LH, NZ


I really do cycle up here a lot, at least twice a week.

As per my YouTube description:-
Experimenting with 25, 30, 50 frame rates.

VLC Playback results on my OptiPlex 9010 i5 8GiB desktop
- 25fps: smooth
- 30fps: coping but minute signs of freezing
- 50fps: way too jerky, was not worth keeping.
This is my 1st 4K upload to YouTube.

Camera Sony FDR-X3000: TimeLapse Mode 2sec Intervals

Saturday 9 June 2018

TimeLapse: Kennedy Good Bridge Lower Hutt NZ


Experimental, wasn't sure how this would turn out with Sony FDR-X3000 mounted on a bridge with heavy vehicle traffic.



Friday 8 June 2018

Creating 12sec TimeLapse Videos.


I'm going to start making 12sec TimeLapse video's. They are pretty easy to make/create and the results can be stunning if you get the timing right. As demonstrated in this clip, the moving clouds was ideal.

This is a re-upload that was taken down with a lot other videos when I decided to stop blogging. But I've had a change of heart and once again I've found blogging to be fun.

Creative Commons Licence
Attribution-ShareAlike
Basically as shown in the image

So yes you can download this and use it in your own projects, here's the link to get a better quality 12 sec 1080p50fps video instead of using YouTube.


Tuesday 5 June 2018

USO Whanau Ride, Round the Bays, Wellington.


I really enjoy these rides. With winter now here we get to ride in stunning scenery that only Wellington can produce on a good day! 1st time I rode using my motorcycles balaclava, so glad I did.

Whanau means family.

This time the Sony FDR-X3000 is mounted once again on the handle bars. I used the Sony HDR-CX405 to take shots from the car which produced poor results, but I doubt the FDR would fair any better. Action camera's don't do well in low light situations.

Solo Ride Wainuiomata


Now that Kdenlive has been restored, back to video editing. This is a few weeks old but still experimenting holding the Sony FDR-X3000.

Saturday 2 June 2018

Kdenlive: Restoring Default Settings For Linux Mint 18

It is unbelievable how easy it is to totally screw up your Kdenlive windows as you edit/create your video content.

Window views after a new install.

This is what it should look like if you have recently installed Kdenlive. After I accidentally shut down a few windows, Kdenlive became unusable. It kept crashing so I removed the application, rebooted the computer, reinstalled Kdenlive only to find the corrupt settings had returned (which means there must be a hidden config file somewhere on my HDD). Researching Youtube I came across this:-


So this tells me there is a hidden file called kdenliverc that needs to be deleted. Where he found his config file as shown in the video, was in a completed different location to mine.

Home/.config

Instead of deleting the file I renamed it to kdenliverc000 which results in Kdenlive thinking it is a new install and proceeds to create a new kdenliverc.

This did the trick, now I can get back into editing videos..

Kdenlive is not the easiest video editors to use but it is free, and works well on Linux. Without this I would not be able to create any video content I would be prod of.

Friday 1 June 2018

Linux Mint 18.3 Dual Monitor Problem

Should really add a third monitor, two doesn't cut it anymore.
This has bugged me for a few months now, not being able to use a second monitor that I have been accustomed to for many years is unacceptable. Recently I came across a work-around solution from the Linux Mint forums.

"dpm" support, must be selected at boot (via radeon.dpm=1) and is only supported on R6xx and newer asics.
Which then suggested the following modifications

To test this when the grub menu appears press e (for edit) then replace the nomodeset (if there) with radeon=dpm=1. Press f10 to boot this session with the change.
Of course to make the change stick you must edit, as root, /etc/default/grub and change the
GRUB_CMDLINE_LINUX_DEFAULT= line to include radeon.dpm=1
eg GRUB_CMDLINE_LINUX_DEFAULT="radeon.dpm=1 quiet splash"

Then run sudo update-grub.
Upon doing these changes followed by a reboot it didn't work. The funny thing was I remember a few years ago someone else had this exact same problem, who suggested after the reboot, save the session, log out, then log in.

It worked, both monitors fired up with Linux Mint logo shown on each. Going through the monitor settings each monitor was identified correctly.

Here's the problem:
It's not a permanent solution, if the computer reboots/shutsdown for any reason, you lose the dual monitor display once again, unless you log out, log in again. A minor inconvenience but knowing it's a temporary solution just doesn't sit right with me.


Now from that Forum post it referred to the Radeon website where he found the solution. This suggests to me that this particular Linux Mint distribution didn't compensate for this particular problem on its release for this grapics card. I really don't have a problem with this because with each release there is bound to be bugs/errors. Creating a Linux distribution is huge and involves a lot of time and people, it's just that waiting for the next upgrade can take months.

References:-

Post from the Linux Mint Forums

Mentioned Radeon Link

In the mean time, I'm looking at trying a different distribution called MX Linux, there has been some good reviews on YouTube about this. Check out their homepage: https://mxlinux.org/.

Featured Post

USO Fresh Ride Eastbourne

Another enjoyable ride, I'm well used to going down this route. There are some places where the road doesn't allow a car and a cyc...