Skip to content

Instantly share code, notes, and snippets.

@siva2k16
Last active October 30, 2022 10:42
Tool used - ffmpeg & Python codes
Platform - Windows
Command #1 - Merge Multiple files, Prepare file list to merge
(echo file 'first part1_trim.mp4' & echo file 'part2_trim.mp4' & echo file 'part3_trim.mp4' )>list.txt
Command #2 - Pass the file list to merge in sequence and output mp4 file
ffmpeg -safe 0 -f concat -i list.txt -c copy output.mp4
Command #3 - Cut given video into different durations for editing
ffmpeg -ss 00:04:50 -i Demo1_AdobeExpress.mp4 -to 00:04:58 -strict -2 -c copy part3_trim.mp4
Code #4 - Remove Audio from file, Retain only Video
#https://stackoverflow.com/questions/69627556/remove-audio-from-video-using-python
from moviepy.editor import VideoFileClip
videoclip = VideoFileClip(r"E:\Notes\PSDemo.mp4")
new_clip = videoclip.without_audio()
new_clip.write_videofile(r"E:\PS_Work_Updates\Unilever_Tryon\Notes\final_cut.mp4")
pip install mlnotify
Prior distribution that incorporates your subjective beliefs about a parameter
Posterior distribution is the update of your prior distribution with the data using Bayes' theorem
Deterministic - No randomness is involved
Probablistic - Includes elements of randomness
Likelihood - concepts of modern statistics is that of likelihood.
Latent variables as opposed to observable variables), are variables that are not directly observed but are rather inferred (through a mathematical model)
Matrix Factorization Techniques For Recommender Systems - Similarity measures like cosine, pearson, - Latent Factor Models (LDA, SVD), VAE for Recommendation Systems
KL divergence is a way of measuring the matching between two distributions (e.g. threads)
https://steampipe.io/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment