0 Posted 2021-09-18Updated 2024-01-11Pythona few seconds read (About 106 words)librosa for sound track| Pythonpython Cite: 叁公子KCN; 2019 import librosaimport matplotlib.pyplot as pltimport librosa.displayFile = "input.mkv"x , sr = librosa.load(File, sr=8000)plt.figure(figsize=(14, 5))librosa.display.waveplot(x[:10000], sr=sr)plt.show() ffmpeg Cite: dennyyoung # Video splitffmpeg -y -ss 0 -t 3 -i Function.mkv -c:v libx264 -c:a copy 123.mkv# Video mergeffmpeg -y -i filename -i filename2 -vcode copy -acodec copy librosa for sound track| Pythonhttps://karobben.github.io/2021/09/18/Python/librosa/AuthorKarobbenPosted on2021-09-18Updated on2024-01-11Licensed under#Python