Background: I'm trying to separate audio and video, perform some operations on audio and merge them together.
what I am expecting: to separate audio and video using python
the function is written in a read-only environment
def splitting_and_processing(video_file):
#missing piece of puzzle
video, audio = xx.seperate_audio_video(video_file)
# processing audio
audio = audio_processing(audio) #some custom ai enhancements, which cant be achived with vanilla ffmpeg
return audio
it is necessary that I have the only video with stripped-out audio so that when I combine audio and video they don't overlap.
if you require, ask me additional details of the comments