Skip to main content

Wav_Audio_player_SDL project

 The Wav_Audio_player_SDL project is a simple audio player that is designed to play WAV audio files. The player is written in C++ and uses the SDL (Simple DirectMedia Layer) library to provide audio output and a graphical user interface (GUI).

demo video youtube

The Wav_Audio_player_SDL utility is a cross-platform application that can run on only Linux. The player provides basic controls for playing and stopping audio file. It does not includes a volume control and a progress bar that shows the playback position, but we have a plan and if time permits, we do it in the future.



The Wav_Audio_player_SDL project is open-source, which means that the source code is available for anyone to view, modify, and distribute. If you are interested in using the Wav_Audio_player_SDL player, you can clone the project's repository from GitHub and build it from source.

source code: https://github.com/abdullahfarwees/Wav_Audio_player_SDL

Comments

Popular posts from this blog

Video display in Imgui using C++ and ESCAPI

To create an application that can view the webcam using ImGUI, C++, and ESCAPI, you can follow these steps: Install the required libraries and tools: You will need to have the ImGUI, C++, and DirectX11 libraries and tools installed on your system in order to build the application. You may also need to install additional libraries or tools that are required to access the webcam and capture video frames, such as the Microsoft Media Foundation library or the OpenCV library. Set up the ImGUI interface: Use the ImGUI library to set up the user interface for the application. This will typically involve creating the layout for the application's window, as well as any necessary buttons, sliders, or other controls that will be used to interact with the webcam. Initialize the ESCAPI context: Use the ESCAPI library to create a context that will be used to grabbing the webcam video frames. This will typically involve setting up a creating a render target, and initializing any necessary reso...

A Comprehensive Guide to Encoding H.264 Video with MP4 Container Using Controllable Frame Rate and Bitrate in libavcodec

Introduction If you're working with multimedia applications or video production, you may often find yourself in a situation where you need to encode video with specific settings like H.264 codec, MP4 container, and controllable frame rate and bitrate. libavcodec, a vital component of the FFmpeg multimedia framework, can help you achieve this. In this guide, we will walk you through the steps to encode video with these requirements and introduce you to the concept of presets to control encoding quality. Encoding with libavcodec libavcodec is a powerful library for encoding and decoding audio and video streams. To encode video with H.264 codec and MP4 container while controlling the frame rate and bitrate, you can use the following.   Set Encoding Options: To control the encoding quality, you can set the encoding options using the AVDictionary structure. In this case, we'll focus on the 'preset' option, which defines the encoding speed and quality.  The available presets ...

Simple ways to add MOOV atom in mp4 file manually

The moov atom is a crucial part of an MP4 file, as it contains information about the layout and structure of the video and audio data in the file. The moov atom is typically located at the beginning of the file, so that it can be read and parsed by a media player as soon as the file is opened. There are a few different ways to add a MOOV atom to an MP4 file: Use a video editing or transcoding software: Many video editing and transcoding tools, such as Adobe Premiere, Final Cut Pro, and HandBrake, have the ability to add a moov atom to an MP4 file as part of the editing or transcoding process. Use a command-line tool: There are several command-line tools that can be used to add a moov atom to an MP4 file. For example, the MP4Box tool, which is part of the GPAC software suite, can be used to add a moov atom to an MP4 file by running a command like this: MP4Box -add input.mp4 output.mp4 Use a programmatic solution: If you want to add a moov atom to an MP4 file as part of a larger process ...