Skip to content

Commit

Permalink
update readme and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
maxnut committed Dec 29, 2024
1 parent c804be3 commit daa649c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
18 changes: 6 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,17 +84,14 @@ void video() {
#include <eclipse.ffmpeg-api/include/audio_mixer.hpp>

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<float> raw;
mixer.mixVideoRaw("video.mp4", raw, "output_raw.mp4");
ffmpeg::AudioMixer::mixVideoRaw("video.mp4", raw, "output_raw.mp4");
}
```

Expand All @@ -107,17 +104,14 @@ void audioRaw() {
#include <events.hpp>

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<float> raw;
mixer.mixVideoRaw("video.mp4", raw, "output_raw.mp4");
ffmpeg::events::AudioMixer::mixVideoRaw("video.mp4", raw, "output_raw.mp4");
}
```

Expand Down
7 changes: 6 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,10 @@
- Fix codec fetching

# 1.0.4

- Mac release

# 1.1.2
- Fixed memory leak

# 1.1.3
- Events API

0 comments on commit daa649c

Please sign in to comment.