ffmpeg multi-threaded simple player-carding of main functions

Mainly the next few functions First is the basic definition of the main function VideoState *is; is = av_mallocz(sizeof(VideoState)); if(SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_TIMER)) { fprintf(stderr, "Could not initialize SDL - %s\n", SDL_GetError()); exit(1); } is->pictq_mutex = SDL_CreateMutex(); is-&gt ...

Posted by reece_1989 on Thu, 10 Mar 2022 19:27:05 +0100

The implementation of ffmpeg + nginx RTMP module + flv is not based on flash. There is no plug-in to play surveillance video

introduction At present, the support of flash in the browser is getting worse and worse. The new version of Google has abandoned Flash support, and the conventional rtmp video streaming basically can not meet the technical requirements. At present, the solution is to convert rtmp to hls for playback. Under normal circumstances, the hls playbac ...

Posted by olsrey on Tue, 08 Mar 2022 09:23:29 +0100

C language of FFmpeg series

1,HelloWorld <!-- Guide Package --> #include <stdio.h> <!-- main Function, argc: Number of parameters entered, argv: String array, each item represents a specific parameter --> int main(int argc, char *argv[]){ // Print printf("Hello World!\n"); return 0; } 2. VIM compile and run C program <!-- Step 1: create a ne ...

Posted by will_1990 on Thu, 03 Mar 2022 03:56:45 +0100

ffmpeg learning source code compilation, NVIDIA hardware acceleration

When using CPU for soft coding and decoding, the CPU efficiency is low and the occupation is high. Using hardware acceleration can significantly reduce the occupation of CPU. See blog ffmpeg learning (16) AVDevice usage . Here, take the h264 codec acceleration using NVIDIA gpu as an example, which is similar to other platforms. 1. Winows har ...

Posted by nishanthc12 on Fri, 11 Feb 2022 22:21:05 +0100

[ffmpeg] ffmpeg command query 1 (version | compilation configuration | multiplexing format | codec)

FFmpeg series article directory [FFmpeg] Windows builds an FFmpeg command line running environment [FFmpeg] Introduction to FFmpeg related terms [FFmpeg] Introduction to FFmpeg related terms II [FFmpeg] use of FFmpeg help document [FFmpeg] use FFmpeg to process the audio and video format conversion process [ffmpeg] ffmpeg command query 1 (v ...

Posted by SWI03 on Mon, 31 Jan 2022 11:01:33 +0100

FFmpeg 'hardware acceleration and use' NVIDIA 'codec in the code

@datetime: 2021/06/14 @author: shenhao Note: if a chapter is marked with skip, its sub chapters need to be skipped. FFmpeg hardware is accelerated and NVIDIA codec is used in the code All steps in this article come from NVIDIA official documents , and with reference to the practice summary and practice of major netizens. In addition ...

Posted by akillez on Sun, 30 Jan 2022 19:39:57 +0100

[FFmpeg] ffplay video command (play | pause | stop | volume control | progress control | audio stream / video stream / subtitle stream / program switching)

FFmpeg series article directory [FFmpeg] Windows builds an FFmpeg command line running environment [FFmpeg] Introduction to FFmpeg related terms (container | media stream | data frame | data packet | codec | multiplexing | demultiplexing) [FFmpeg] Introduction to FFmpeg related terms II [FFmpeg] use of FFmpeg help document [FFmpeg] use FFmpe ...

Posted by babybird11 on Sun, 30 Jan 2022 02:01:25 +0100

ws. Experience of using Schild (ffmpeg) video format conversion tool

preface ws.schild is a java toolkit based on ffmpeg. It is the mainstream java toolkit for transcoding, clipping and extracting video and audio. 1, Introduction to main tools 1. VideoAttributes VideoAttributes is WS The important tool class for setting video attributes in Schild toolkit is WS Schild is the most important class for v ...

Posted by domainshuffle on Sat, 29 Jan 2022 02:37:36 +0100

[OBS studio open source project from getting started to giving up] win wasapi audio collection

preface The official audio plug-in of obs on windows platform has only one win wasapi, which is responsible for collecting the sound of speakers and microphones. Win audio capture application audio output capture Here we recommend an unofficial audio capture plug-in win audio capture, which can collect the audio of the specified proces ...

Posted by seran128 on Tue, 28 Dec 2021 04:04:15 +0100

Audio and video series 3: log printing of ffmpeg

title: audio and video series 3: log printing of ffmpegcategories:[ffmpeg]tags: [audio and video programming]date: 2021/11/27< div align = 'right' > Author: Hackett < / div ><div align ='right'> WeChat official account: overtime apes </div>In the last article Visual studio 2019 integrating ffmpeg hello world In, we have ...

Posted by Colleen78 on Tue, 30 Nov 2021 23:21:07 +0100