spacepaste
new
Paste details
reply
|
raw
# Separate audio & video STREAMS from video-TRACK
args_separate = ['ffmpeg', '-y', '-i', fSrcVideo,
'-map', '0:a', '-f', 'wav', '-b:a', '48k', fAudioStream, # force 48kHz wav
'-map', '0:v', fVideoStream]
subprocess.run(args_separate, check=True)