-
Recent Posts
Archives
- April 2020
- November 2019
- May 2019
- February 2019
- January 2019
- September 2018
- April 2018
- February 2018
- January 2018
- July 2017
- May 2017
- March 2017
- February 2017
- August 2016
- July 2016
- April 2016
- July 2015
- May 2015
- January 2015
- May 2014
- February 2014
- September 2013
- August 2013
- April 2013
- March 2013
- February 2013
- August 2012
- July 2012
Categories
Meta
Tags
Author Archives: sta.ee
Extract audio from video by ffmpeg
just to see if there any audio: ffprobe -i in.mp4 find string as example here: Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 95 kb/s (default) then exctract it ffmpeg -i in.mp4 -vn -acodec copy out.aac … Continue reading
Posted in Administration, Linux/Unix, video surveillance, windows
Leave a comment
unauthentificated guest access restriction from client pc (default in w19, w10Enterprice)
gpedit.msc / computer configuration / Administrative Templates/ Network / Lanman Workstation -> enable insecure guest logons
Posted in Administration, Linux/Unix, windows
Leave a comment
create .reg file with content inside: Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Applications\photoviewer.dll] [HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell] [HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open] “MuiVerb”=”@photoviewer.dll,-3043” [HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open\command] @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\ 00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,72,00,75,00,\ 6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,\ 00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,00,65,00,73,00,\ 25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,50,00,68,00,6f,\ 00,74,00,6f,00,20,00,56,00,69,00,65,00,77,00,65,00,72,00,5c,00,50,00,68,00,\ 6f,00,74,00,6f,00,56,00,69,00,65,00,77,00,65,00,72,00,2e,00,64,00,6c,00,6c,\ 00,22,00,2c,00,20,00,49,00,6d,00,61,00,67,00,65,00,56,00,69,00,65,00,77,00,\ 5f,00,46,00,75,00,6c,00,6c,00,73,00,63,00,72,00,65,00,65,00,6e,00,20,00,25,\ 00,31,00,00,00 [HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open\DropTarget] “Clsid”=”{FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}” [HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\print] [HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\print\command] @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\ 00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,72,00,75,00,\ 6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,\ 00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,00,65,00,73,00,\ 25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,50,00,68,00,6f,\ 00,74,00,6f,00,20,00,56,00,69,00,65,00,77,00,65,00,72,00,5c,00,50,00,68,00,\ 6f,00,74,00,6f,00,56,00,69,00,65,00,77,00,65,00,72,00,2e,00,64,00,6c,00,6c,\ 00,22,00,2c,00,20,00,49,00,6d,00,61,00,67,00,65,00,56,00,69,00,65,00,77,00,\ 5f,00,46,00,75,00,6c,00,6c,00,73,00,63,00,72,00,65,00,65,00,6e,00,20,00,25,\ 00,31,00,00,00 … Continue reading
windows hosts file location C:\Windows\System32\drivers\etc
windows7,8,10,2012, 2016 hosts file location C:\Windows\System32\drivers\etc
Posted in Administration, windows
Leave a comment
rotate video with ffmpeg or avconv
Rotate 90 clockwise: ffmpeg -i in.mp4 -vf “transpose=1” out.mp4 rotation parameters as follows: 0 = 90CounterCLockwise and Vertical Flip (default) 1 = 90Clockwise 2 = 90CounterClockwise 3 = 90Clockwise and Vertical Flip https://askubuntu.com/questions/83711/how-can-i-rotate-a-video
Posted in Uncategorized
Leave a comment
Debian version
some ways to find out debian version: root@pom:/etc# cat /etc/issue Debian GNU/Linux buster/sid \n \l root@pom:/etc# cat /etc/debian_version buster/sid root@pom:/etc# cat /etc/os-release PRETTY_NAME=”Debian GNU/Linux buster/sid” NAME=”Debian GNU/Linux” ID=debian HOME_URL=”https://www.debian.org/” SUPPORT_URL=”https://www.debian.org/support” BUG_REPORT_URL=”https://bugs.debian.org/” root@pom:/etc# lsb_release -da No LSB modules are available. Distributor … Continue reading
Posted in Administration, Linux/Unix
Leave a comment
mdadm replace broken drive on Debian Jessie
If the drive should be replaced, then 1. start with determining which one is broken. See details of md device # mdadm –detail /dev/mdX # smartctl -a /dev/sdY smartmontools required to be installed 2. replace required drive physically 3. See … Continue reading
Posted in Administration, hardware, Linux/Unix
Leave a comment
rdp client from linux. Freerdp, xfreerdp
The best rdp client on linux I found to work is the freerdp usage from console: $ xfreerdp /u:lamer /w:1024 /h:768 /v:1.2.3.4:13389 +clipboard /a:drive,home,/home Simple options that required mostly: /v:<server>[:port] Server hostname /port:number Server port /w:<width> Width /h:<height> Height /size:<width>x<height> … Continue reading
Posted in Administration, Linux/Unix, windows
Leave a comment
w8.1, 2012, 10 startup folder shell:startup
As simple as start->run(win+r)-> shell:startup Works on w10 pro ver1709 build16299.125 Win2012r2 standard Win8.1
Posted in Administration, windows
Leave a comment
rename mdadm raid name
changing drives to bigger once caused to create new md raid device for copying files from old md4 to new md127 device. After that should the md4 physically removed and md127 renamed to md4 for other settings compatibility. first unmount … Continue reading
Posted in Linux/Unix
Leave a comment