Tools required: win10 ffmpeg3.36.tar.gz. Or other versions, download address: Index of /releases msys2. Download address: http://www.msys2.org. Visual Studio 2017. 1. Install MSYS MSYS2 is like a subsystem under Windows. It encapsulates the commands in Windows and puts on a layer of Linux commands, so that Linux commands can be used in msys, but Windows commands […]
Tag: ffmpeg
ffmpeg and sdl library implement video decoding and playback
1. Interpretation of steps 1.1 SDL initialization, initialize the subsystems in SDL. The specific parameters are as follows: 1.2 Opening multimedia files: Parameters: 1. ps: directly defines the pointer of the AVFormatContext class (null pointer) 2. filename: the path of the audio file 1.3 Get the message of the audio file: 1.4: Get stream encoding […]
In ffmpeg, why is the network video stream h264 converted to YUV by default instead of other formats?
When making online videos, knowing and clarifying some video programming concepts early will save you a lot of detours. Corresponding to video transcoding and transmission, if you follow the code directly at first, it is easy to feel that you understand everything, but why you do this seems to be explained in detail. For example: […]
1-ffmpeg command line practice
This blog mainly introduces the common usage of ffmpeg command line. Stop talking nonsense and get straight to the point. The ffmpeg command line tool is like a Swiss Army knife. It can be used to conveniently perform various audio and video processing. Using the ffmpeg command line can sometimes greatly save you time in […]
Realize using FFmpeg to convert rtsp video stream into rtmp and hls
Related technologies used: FFmpeg is a set of open source computer programs that can be used to record, convert digital audio and video, and convert them into streams. Use LGPL or GPL license. It provides a complete solution for recording, converting and streaming audio and video. It contains the very advanced audio/video codec library libavcodec, […]
How to compile FFmpeg under Windows
ffmpeg is generally used in the Linux environment, but many of our current development tools are windows. In order to facilitate debugging and using ffmpeg under windows, we need to compile and use ffmpeg under windows. This article only describes how to compile ffmpeg under windows. . There are many ways to compile ffmpeg under […]
NDK cross compile FFmpeg Android compile ffmpeg
NDK cross-compile FFmpeg Android compile ffmpeg Article directory NDK cross compile FFmpeg Android compile ffmpeg Compiler Environment Compilation tool download Compilation process Compiler Environment System environment NDK version selection Source code download Only compile simple ffmpeg compile compile script question use Technical Support Compilation environment Compilation tool download Refer to this: https://blog.csdn.net/gaoliang0/article/details/81913291 Or download the […]
FFmpeg v4l2m2m capture and output
I found that the details of output and capture in encoder and decoder in FFmpeg v4l2m2m are a bit strange to understand. They are recorded as follows. encoder v4l2_encode_init external/ffmpeg/ffmpeg/libavcodec/v4l2_m2m_enc.c /* output context */ output->av_codec_id = AV_CODEC_ID_RAWVIDEO; output->av_pix_fmt = avctx->pix_fmt; /* capture context */ capture->av_codec_id = avctx->codec_id; capture->av_pix_fmt = AV_PIX_FMT_NONE; In the encoderencoder, capture corresponds […]
Complete step-by-step video encoding and decoding using the FFmpeg open source library under windows
Final decoding effect: 1.UI design 2. Enter the default value in the control properties window 3. Copy the compiled FFmpeg library to the same directory as the project 4. Reference the FFmpeg library and header files in the project 5. Link the specified FFmpeg library 6. Use the FFmpeg library Reference header file extern “C” […]
Java language uses ffmpeg to implement video push and pull in Windows system
This article mainly introduces in detail the use of Java language to implement video push and pull of RTMP streaming protocol under Windows system. Use the screen capturer recorder screen recording tool combined with the ffmpeg.exe file to capture the desktop video stream and push it to the nginx server, and then use the browser […]