SDL2 configuration problem under Windows

renew: Try installing SDL2 with the msys2 package manager. First go to the official website to download and install MSYS2 https://www.msys2.org/. These things will appear after installation. Run “MSYS2 MSYS” from the start menu to update the package database and base packages. Unless your installation files are up to date, it will take two steps, […]

Simple video player analysis based on FFMPEG+SDL

Preface Recently, I read Lei Xiaohua’s blog “The Simplest Video Player Ver2 Based on FFMPEG + SDL (using SDL2.0)”. Referring to his code, I implemented a simple video player on the windows side. There are some changes in the code, but the overall idea and functions are the same. The source code of the implementation […]

Simple video player analysis based on FFMPEG+SDL

Simple video player analysis based on FFMPEG + SDL Foreword I recently read Lei Xiaohua’s blog “The Simplest Video Player Ver2 Based on FFMPEG + SDL (using SDL2.0)”, referring to his code, I implemented a simple video player on the windows side. The code is as follows Some changes, but the overall idea and functions […]

FFmpeg+SDL+Qt builds a simple video player

FFmpeg is an open source library for audio and video processing, providing a C interface for audio and video codec, encapsulation, and stream processing. In this tutorial, FFmpeg is mainly used to decapsulate and decode video package files. SDL is an open source library for audio and video playback and rendering, which is mainly used […]

WebService wsdl configuration test [springboot]

Directory Stream saving: 1. Use webService in springboot 1. Start Endpoint via @Configuration 2. Configuration path 2. Test 3. The main method tests the WebService service Save stream: core code Endpoint endpoint = EndpointImpl. publish(.. , ..); One, use webService in springboot 1. Start Endpoint via @Configuration @Configuration public class WebServiceConfig { //Create the Endpoint […]

[FFmpeg combat] SDL threads and events

Reprinted from the original address: https://blog.csdn.net/qq_38056514/article/details/130190876 SDL event-related API DL_Event is a data structure used in the SDL library, used to represent events that occur in the system. An event can be a keyboard key press, mouse movement, gamepad movement, window event, etc. The SDL_Event structure contains details about the event type, when the event […]

[FFmpeg actual combat] SDL2 event processing

Reprinted from the original address: https://blog.csdn.net/cyf15238622067/article/details/82907056 Event Loop Most multimedia programs rely on the event system to handle input. SDL provides a flexible API for handling input events. Essentially, SDL records input from devices such as a keyboard, mouse or controller as events, storing them in an “event queue”. You can think of this structure […]

Use ffmpeg to decode audio sdl (pull) playback

Custom player family Chapter 1 Video RenderingChapter 2 Audio (push) PlaybackChapter 3 Audio (pull) Playback (this chapter)Chapter 4 Implementing Clock SynchronizationChapter 5 Realize Universal Clock SynchronizationChapter 6 Realize the player foreword As we mentioned in the previous chapter, ffmpeg decodes sdl push to play audio, the calling process is simple, but it is still a […]

Use ffmpeg and sdl to play video to achieve clock synchronization

Custom player family Chapter 1 Video RenderingChapter 2 Audio (push) PlaybackChapter 3 Audio (pull) PlaybackChapter 4 Implementing Clock Synchronization (this chapter)Chapter 5 Realize Universal Clock SynchronizationChapter 6 Realize the player foreword After using ffmpeg and sdl to play video, it is necessary to achieve clock synchronization to play video normally, especially in the case of […]

Use ffmpeg to decode video and render to sdl window

Custom player family Chapter 1 Video Rendering (this chapter)Chapter 2 Audio (push) PlaybackChapter 3 Audio (pull) PlaybackChapter 4 Implementing Clock SynchronizationChapter 5 Realize Universal Clock SynchronizationChapter 6 Realize the player Foreword Using ffmpeg to decode video and render video to the window, there are many examples on the Internet, but the details of most of […]