Wednesday, October 21, 2020

Boost 1.7 on Ubuntu16

 

 

https://www.boost.org/users/download/


Enable to work with Python3


cd boost1.7
 $./bootstrap.sh -with-libraries=python -with-python-version=3.6 
$./b2
$sudo ./b2 install

Thursday, October 01, 2020

Sunday, September 27, 2020

Pdf Listen tools

 

 

http://freesoftwaremagazine.com/articles/listen_your_books_epub_pdf_okular/

 https://askubuntu.com/questions/633337/pdf-reader-that-can-read-out-loud

Installed this extension on chrome called readaloud

https://www.sodapdf.com/pdf-reader/  (Just for open pdf online)

Friday, September 25, 2020

Python Animation Matrix Convolution

 

[1] Convolution animation https://stackoverflow.com/questions/52067833/how-to-plot-an-animated-matrix-in-matplotlib

Friday, September 18, 2020

Time series

https://towardsdatascience.com/the-complete-guide-to-time-series-analysis-and-forecasting-70d476bfe775

https://github.com/AileenNielsen/TimeSeriesAnalysisWithPython
https://github.com/aurea-soriano/PublicAnomalyDetection

 

Tools

[1] Smooth time series

https://machinelearningmastery.com/moving-average-smoothing-for-time-series-forecasting-python/


[2] Auto encoders https://towardsdatascience.com/autoencoders-for-the-compression-of-stock-market-data-28e8c1a2da3e


Sunday, August 16, 2020

Video edition by ffmpeg

 

$ffmpeg -i video.avi -vf subtitles=subtitle.srt out.avi

$ffmpeg -i video.mp4 -f srt -i video.srt -map 0:0 -map 0:1 -map 1:0 -c:v copy -c:a copy -c:s mov_text out.mp4

References:

[1] https://trac.ffmpeg.org/wiki/HowToBurnSubtitlesIntoVideo

[2] https://stackoverflow.com/questions/8672809/use-ffmpeg-to-add-text-subtitles

Wednesday, August 12, 2020

Tuesday, August 04, 2020

Watching movies


[1] Requires installation Windows/Linux https://syncplay.pl/download/
[2] Watch2Getter for Youtube links

Tools
[1] Mergue Video and Subtitle Win/Linux https://mkvtoolnix.download/downloads.html
[2]
ffmpeg -i video.mp4 -vf subtitles=video.srt out.mp4

Ubuntu Forware port 80

  #!/bin/bash iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8069 iptables -t nat -A PREROUTING -i eth0 -p tc...