running:
bash create-vod-hls.sh beach.mkv
will produce:
beach/
|- playlist.m3u8
|- 360p.m3u8
| # NGINX - Search for a string in cache files | |
| # In this case, "0_rlng9eks" would be the ID of a video, which is passed in a request. | |
| [root@server ~]# grep -ERl -m 1 "0_rlng9eks" /var/cache/nginx-vod/* | |
| /var/cache/nginx-vod/c/8b/9af44fb9d8e8d337569e2087140ed8bc | |
| /var/cache/nginx-vod/e/98/3f7a94cb5ce07b1995cbcd7da39fa98e | |
| [root@server ~]# | |
| ' https://winaero.com/blog/how-to-view-your-product-key-in-windows-10-windows-8-and-windows-7/ | |
| ' How to view your product key in Windows 10, Windows 8 and Windows 7 | |
| Option Explicit | |
| Dim objshell,path,DigitalID, Result | |
| Set objshell = CreateObject("WScript.Shell") | |
| 'Set registry key path | |
| Path = "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\" | |
| 'Registry key value |
running:
bash create-vod-hls.sh beach.mkv
will produce:
beach/
|- playlist.m3u8
|- 360p.m3u8
I hereby claim:
To claim this, I am signing this object:
| ffmpeg -i happy01.mp4 -i happy02.mp4 -strict -2 -filter_complex "[0:v:0]pad=iw*2:ih[bg]; [bg][1:v:0]overlay=w" happy03.mp4 |
| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| Kaltura API | |
| Very basic example of how to start a session on Python get a list of entries | |
| Should print something like |
| export HISTTIMEFORMAT='%Y-%m-%d %H:%M.%S | ' | |
| or add to .bashrc |
| # http://stackoverflow.com/questions/9548755/powerpoint-ppt-to-jpg-or-png-image-conversion-using-php#16045442 | |
| ## Dependencies | |
| apt-get install unoconv | |
| apt-get install imagemagick | |
| ## First converts your presentation to PDF | |
| unoconv -f pdf presentation.ppt | |
| ## Then convert your PDF to jpg | |
| convert presentation.pdf presentation_%03d.jpg |
| # seen on http://www.liamdelahunty.com/tips/linux_ls_awk_totals.php | |
| # gives result in MB | |
| find /opt/kaltura/dwh/cycles/process/ -type f -mtime +3 -exec ls -l {} \; | awk '{ SUM += $5} END { print SUM/1024/1024 }' |
| # Valid for FFMPEG or AVCONV | |
| # "-ss" : start | |
| # "-t" : end | |
| avconv -i input.flv -ss 00:00:00 -t 00:10:00 -c copy output.flv |