Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TODO] Implement audio capture #3

Open
0Ky opened this issue Oct 10, 2023 · 0 comments
Open

[TODO] Implement audio capture #3

0Ky opened this issue Oct 10, 2023 · 0 comments
Labels
good first issue Good for newcomers hacktoberfest Issues for Hacktoberfest! 📝 TODO Something that needs to be done

Comments

@0Ky
Copy link
Owner

0Ky commented Oct 10, 2023

  • Capture audio data from a selectable option of sources (e.g., system audio, microphone, or both) using WASAPI (Windows Audio Session API).
  • Encode audio using the AAC codec.
  • Take the encoded video and audio streams and multiplex them into a single .mp4 container.
  • Ensure that audio and video are synchronized by testing the capture using an AV sync test video
  • UI/UX Considerations, provide appropriate UI controls:
    • Allow users to select audio sources (system audio, microphone, or both).
    • Provide feedback mechanisms, like audio meters, to show real-time audio levels.
    • Give users the option to toggle mute the audio source.

Note: We currently use video-rs a high-level abstraction of ffmpeg-next to encode video, unfortunately there is no audio API implemented, you may need to leverage ffmpeg-next for audio encoding/muxing. You may want to utilize entirely on another crate to encode/mux both video/audio sources, which will require rewriting the existing encode_frames function.

@0Ky 0Ky added 📝 TODO Something that needs to be done hacktoberfest Issues for Hacktoberfest! good first issue Good for newcomers labels Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers hacktoberfest Issues for Hacktoberfest! 📝 TODO Something that needs to be done
Projects
None yet
Development

No branches or pull requests

1 participant