From daa649cdc33c859784886e88affd761a72832e70 Mon Sep 17 00:00:00 2001 From: NDrLEUxcwQsgKUWlrFELocR1z7QP <54683950+maxnut@users.noreply.github.com> Date: Sun, 29 Dec 2024 19:50:24 +0100 Subject: [PATCH] update readme and changelog --- README.md | 18 ++++++------------ changelog.md | 7 ++++++- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index aa7d839..91192c3 100644 --- a/README.md +++ b/README.md @@ -84,17 +84,14 @@ void video() { #include void audioFile() { - ffmpeg::AudioMixer mixer; - mixer.mixVideoAudio("video.mp4", "audio.mp3", "output_mp3.mp4"); - mixer.mixVideoAudio("video.mp4", "audio.wav", "output_wav.mp4"); + ffmpeg::AudioMixer::mixVideoAudio("video.mp4", "audio.mp3", "output_mp3.mp4"); + ffmpeg::AudioMixer::mixVideoAudio("video.mp4", "audio.wav", "output_wav.mp4"); } void audioRaw() { - ffmpeg::AudioMixer mixer; - //insert your raw data here std::vector raw; - mixer.mixVideoRaw("video.mp4", raw, "output_raw.mp4"); + ffmpeg::AudioMixer::mixVideoRaw("video.mp4", raw, "output_raw.mp4"); } ``` @@ -107,17 +104,14 @@ void audioRaw() { #include void audioFile() { - ffmpeg::events::AudioMixer mixer; - mixer.mixVideoAudio("video.mp4", "audio.mp3", "output_mp3.mp4"); - mixer.mixVideoAudio("video.mp4", "audio.wav", "output_wav.mp4"); + ffmpeg::events::AudioMixer::mixVideoAudio("video.mp4", "audio.mp3", "output_mp3.mp4"); + ffmpeg::events::AudioMixer::mixVideoAudio("video.mp4", "audio.wav", "output_wav.mp4"); } void audioRaw() { - ffmpeg::events::AudioMixer mixer; - //insert your raw data here std::vector raw; - mixer.mixVideoRaw("video.mp4", raw, "output_raw.mp4"); + ffmpeg::events::AudioMixer::mixVideoRaw("video.mp4", raw, "output_raw.mp4"); } ``` diff --git a/changelog.md b/changelog.md index d62f824..19aed1f 100644 --- a/changelog.md +++ b/changelog.md @@ -12,5 +12,10 @@ - Fix codec fetching # 1.0.4 - - Mac release + +# 1.1.2 +- Fixed memory leak + +# 1.1.3 +- Events API \ No newline at end of file