Recently I’ve been working on a Red5 webapp called kdrlivestream which authenticates users using a MySQL database. This will be used for live streaming my radio club’s subscription based remote courses.

Red5 has a built-in webapp called live, but it doesn’t use authentication. Everyone will be able to publish and watch streams using your private Red5 server.

kdrlivestream always authenticates publishers using usernames and passwords stored in a MySQL database.

By default, every viewer has to be authenticated too, but publishers can specify that their streams are public. Public streams can be watched without any authentication.

Optionally the webapp can periodically store active publisher and viewer info into the database (who watches and publishes what).

See more info on the project’s GitHub page!

Here’s a quick note on how to open a Qihan IP camera’s RTSP stream with ffmpeg/avconv:

1
avconv -rtsp_transport tcp -i "rtsp://192.168.1.10:554/tcp_live/ch0_0" -acodec copy -vcodec copy -f mpegts a.ts

To open the stream from VLC, set RTP over RTSP (TCP) on the Input/Codecs tab.

We’ve been to the conference last week, it was great. Here’s a short and fun video recap of the 3 days:

Some YouTube videos

I forgot to post my latest YouTube videos on the blog so here’s some from the last few months:

Hiking in Pilis while drinking beer:

A lunch with the colleagues at the usual restaurant:

» …continue reading ‘Some YouTube videos’

I’ve got the chance to read another very good quality book from PacktPub. Nice intro to the BeagleBone and cluster computing even for those who are not into Linux and embedded hw & sw. I think they are the target audience. I didn’t know much about open source cluster computing software, know I know the basics, and I’m happy that there are nice and easy solutions for dealing with multiple processes running on multiple machines.

Sony HDR-PJ620 review

So I bought a new camcorder on 22th January. Some might say it’s a stupid thing to buy a camcorder in 2015, as every phone, compact and DSLR camera can record videos in great quality, but here are the reasons I think a camcorder is the best tool for me to record everyday videos:

  • I hate making videos with my phone.
  • I need autofocus and wide zoom range, I only have old manual fixed Nikon lenses so recording videos with my Canon DSLR is not an option.
  • I don’t need a large sensor as I want to focus on content, not recording artistic videos with shallow depth of field.
  • I want to record my videos with high bitrates to get rid of compression artifacts.

I looked at the following cameras and camcorders:

  • Canon Powershot S120
  • Panasonic HC-V770
  • Sony PJ620

Canon has some consumer camcorders but I didn’t like that you have to open and close the lens cover manually each time you power the camcorder on or off. The Powershot S120 would be a good choice as it’s pretty small and used by a lot of people for video recording, but I found out that it has very noisy sound and no mic input. An even bigger problem is that it can record only about 14 minutes in one take as the maximum file size per clip cannot be larger than 4 gigabytes.

Panasonic HC-V770 and Sony PJ620 can be bought at nearly the same price, but the former one won’t be available here in Hungary until spring. Their specs are nearly the same, as Sony added 50mbps recording capability to the PJ620. The biggest difference is that Sony has the Balanced Optical Steadyshot feature.

So I bought the Sony PJ620. Here are some thoughts after more than a week of usage:

  • Balanced Optical Steadyshot is the best thing happened to consumer camcorders in these years. From now on, I will only buy camcorders/cameras which have at least the same stabilization capability as Sony camcorders.
  • The camcorder turns on very fast. I can start recording about 2 seconds after opening the display. After a few days this time has increased gradually, but formatting the SD card helped it. Maybe a bug in the firmware? :)
  • The built-in USB cable is a great feature.
  • I had to buy a 64GB SDXC card, as it didn’t let me record in 50mbps XAVC-S with a 32GB SDHC card.
  • 50mbps recording is as fast as recording in lower bitrates. It creates .mp4 files which can be edited nicely in Vegas. 50mbps videos have much better quality, I’d recommend that you shouldn’t buy a camcorder which can’t record in 50mbps.
  • The built-in projector is surprisingly bright and it’s resolution is quite good, but I don’t think I will use it more than once a year.
  • Copying files over Wi-Fi are slow if you have big 50mbps .mp4 files, so I don’t use that and airplane mode is always turned on. This might save me battery power as well.
  • I can’t see the display correctly if it’s not pointing nearly exactly at me. It has a narrow viewing angle. It also has a fairly low resolution, so I’m not satisfied with it. It’s touch interface is a resistive one so you have to press it with force, touching it isn’t enough.
  • It’s annoying that the OSD can’t be turned off while recording (I mean the OSD zoom and rec start/stop buttons).
  • Sound quality is good. I didn’t try multichannel recording, I’m ok with two channels.
  • Zooming could be faster but it’s ok anyway. At least it’s sound can’t be heard during recording.
  • Background sound cancellation is a totally useless feature.
  • The camcorder is pretty light, it has good build quality. The leather surface at the handling side is comfortable.

I hope this post helps others choosing which camcorder to buy. If you are looking for a good consumer camcorder, buy the PJ620.

Arduino Robotic Projects

Packtpub sent me this great book called Arduino Robotic Projects. The title should be “Learning Arduino” or something like this because this is the best book I’ve read so far for beginners who want to learn Arduino. The chapters are well-written, everything is clearly explained, images and source code examples are great. The book’s structure is wise and covers everything from choosing an Arduino board to connecting to a Wi-Fi network, using sensors or controlling servos and DC motors. If you want to learn Arduino, don’t hesitate, get this book.

My 31th birthday party :)

Here’s a short video recap:

Onda V989 hacking

So I bought a truly Chinese – but surprisingly good tablet from this store a few days ago.

Upgrading the firmware

The first thing I noticed that the Users menu was missing from Settings, so I couldn’t create a user for my wife. When I ordered the tablet I was sure I need to hack something so I instantly began with updating the firmware to the latest one which I downloaded from here.

I have a V4 tablet, you can check your hardware version by looking at the serial number’s 9th and 10th character. There was an installer inside the zip which had the Windows software and drivers for the tablet. There was a Chinese .doc about updating the firmware but luckily I found it translated to English here (V989 Brush ENG Tutorial.docx).

Rooting

After “brushing” (or whatever they call fw upgrading) I rooted the tablet using this tool. First I had to copy update.apk and ondaos_V989_Root.zip to the tablet, then I installed the apk, launched the Update application and started the Local Update using the zip file.

Enabling multiple users

I used this build.prop editor which is a very comfortable tool for editing that text file. I had to add this line to the file (without the line number of course):

1
fw.max_users = 4

I saved the file and rebooted the tablet, and the Users menu popped up in the Settings.

Changing the usernames and profile pics

If I try to open the profile settings of a user the Settings app quits unexpectedly, so I had to edit each users’ XML file in the directory /data/system/users/ to change their names. I used ES File Editor for editing the XMLs as it supports root mode. As the user profile files get overwritten at reboot, I had to change the permissions of the files to read only.

I replaced the profile picture PNGs too (for example the user with ID 0 has the pic at /data/system/users/0/photo.png). I used images with a size of 256×256 pixels.

Egypt 2014

Click for dp.nonoo.hu »

About me

Nonoo
I'm Nonoo. This is my blog about music, sounds, filmmaking, amateur radio, computers, programming, electronics and other things I'm obsessed with. ... »

Twitter

Listening now

My favorite artists