Category Archives: linux

Video cutting from start to end time using ffmpeg

Sometimes I need pieces from movies to upload to YouTube for example. It’s possible with the following nice oneliner: ffmpeg -i IN.mp4 -ss 01:12:55 -t 35 -async 1 OUT.mp4 The solution came from http://stackoverflow.com/questions/18444194/cutting-the-videos-based-on-start-and-end-time-using-ffmpeg

Posted in linux, video | Tagged , , , | Leave a comment

Linux ffmpeg screencast command

Simple screen capture with ffmpeg in Linux with: ffmpeg -video_size 1920×1080 -framerate 25 -f x11grab -i :0.0 output.mp4

Posted in linux | Tagged , , | Leave a comment

Overwriting httpd.service PrivateTmp

While setting up Xdebug I had to change the httpd.service systemd unit file to don’t use private tmp dir in /tmp For locating the unit file I just used locate httpd.service Then needed to copy it, edit and reload the … Continue reading

Posted in linux, systemd, Uncategorized | Tagged , | Leave a comment

Auto access Android files via MTP filesystem

Finally figured out Android file access via MTP using autofs and jmptfs # /etc/autofs/auto.misc android -fstype=fuse,allow_other,umask=000 :jmtpfs To test: $ sudo systemctl stop autofs.service $ sudo automount -vf Starting automounter version 5.1.1, master map auto.master using kernel protocol version 5.02 … Continue reading

Posted in android, linux, Uncategorized | Tagged , , | Leave a comment

Fixing – kernel: kvm: disabled by bios

On my HP Z210 workstation (Hewlett-Packard HP Z210 Workstation/1587h, BIOS J51 v01.47 07/18/201) I was annoyed and also bothered with the following error in journalctl -b: kernel: kvm: disabled by bios So I rechecked over the BIOS and finally found … Continue reading

Posted in linux, Uncategorized | Tagged , , , , | Leave a comment

Passwordless ssh not working

I was getting the following with ssh -v user@remote_host debug1: Authentications that can continue: publickey,password debug1: Next authentication method: publickey debug1: Offering RSA public key: /home/mike/.ssh/id_rsa debug2: we sent a publickey packet, wait for reply debug1: Authentications that can continue: publickey,password … Continue reading

Posted in linux, net, security, ssh | Tagged , | Leave a comment

First experience with RAID0

In my new desktop PC I have Intel Rapid Storage technology so gave it a try. Bought a second Kingston V300 SSD to put it in RAID0. I was curious about the performance with and without RAID0 of the SSDs. So … Continue reading

Posted in linux, monitoring, productivity | Tagged , , , | Leave a comment