当前位置: 首页 > news >正文

FFmpeg滤镜完整列表

FFmpeg滤镜完整列表

滤镜名称

用途

acompressor

压缩音频信号,当输入信号超过某个预设阈值时,压缩器就会开始工作。该滤镜使音量大的部分变得不那么响亮,而音量小的部分相对变得响亮,这样就可以使整体听起来更加均衡,常用于音乐制作、广播和现场混音。

acontrast

调整音频信号的对比度,支持传入参数contrast,范围是0至100,默认是33。

acrossfade

Cross fade two input audio streams.

acrossover

Split audio into per-bands streams.

acrusher

Reduce audio bit resolution.

adeclick

Remove impulsive noise from input audio.

adeclip

Remove clipping from input audio.

adelay

Delay one or more audio channels.

adenorm

Remedy denormals by adding extremely low-level noise.

aderivative

Compute derivative of input audio.

aecho

Add echoing to the audio.

aemphasis

Audio emphasis.

aeval

用于对输入音频的每个样本值进行算术求值和转换。

aexciter

Enhance high frequency part of audio.

afade

实现音频的淡入(fade-in)和淡出(fade-out)效果,让音频平滑地开始或结束,使音频过渡不那么突兀。

afftdn

Denoise audio samples using FFT.

afftfilt

Apply arbitrary expressions to samples in frequency domain.

afir

Apply Finite Impulse Response filter with supplied coefficients in additional stream(s).

aformat

Convert the input audio to one of the specified formats.

afreqshift

Apply frequency shifting to input audio.

agate

Audio gate.

aiir

Apply Infinite Impulse Response filter with supplied coefficients.

aintegral

Compute integral of input audio.

ainterleave

Temporally interleave audio inputs.

alimiter

Audio lookahead limiter.

allpass

Apply a two-pole all-pass filter.

aloop

Loop audio samples.

amerge

Merge two or more audio streams into a single multi-channel stream.

ametadata

用于在音频过滤处理管道中操作音频流的元数据

amix

将所有输入音频的通道数、采样率和格式匹配起来,输出一个统一的音频轨道。amix 功能在需要将多个音频源合成为一个单一音轨的场景,比如混音、音乐制作和视频编辑中非常实用。

amultiply

Multiply two audio streams.

anequalizer

Apply high-order audio parametric multi band equalizer.

anlmdn

Reduce broadband noise from stream using Non-Local Means.

anlms

Apply Normalized Least-Mean-Squares algorithm to first audio stream.

anull

Pass the source unchanged to the output.

apad

Pad audio with silence.

aperms

Set permissions for the output audio frame.

aphaser

Add a phasing effect to the audio.

aphaseshift

Apply phase shifting to input audio.

apulsator

Audio pulsator.

arealtime

Slow down filtering to match realtime.

aresample

Resample audio data.

areverse

Reverse an audio clip.

arnndn

Reduce noise from speech using Recurrent Neural Networks.

aselect

Select audio frames to pass in output.

asendcmd

Send commands to filters.

asetnsamples

Set the number of samples for each output audio frames.

asetpts

Set PTS for the output audio frame.

asetrate

Change the sample rate without altering the data.

asettb

Set timebase for the audio output link.

ashowinfo

Show textual information for each audio frame.

asidedata

Manipulate audio frame side data.

asoftclip

Audio Soft Clipper.

asplit

将一个音频流分成多个相同的音频流。

astats

Show time domain statistics about audio frames.

astreamselect

Select audio streams

asubboost

Boost subwoofer frequencies.

asubcut

Cut subwoofer frequencies.

asupercut

Cut super frequencies.

asuperpass

Apply high order Butterworth band-pass filter.

asuperstop

Apply high order Butterworth band-stop filter.

atempo

Adjust audio tempo.

atrim

Pick one continuous section from the input, drop the rest.

axcorrelate

Cross-correlate two audio streams.

bandpass

Apply a two-pole Butterworth band-pass filter.

bandreject

Apply a two-pole Butterworth band-reject filter.

bass

Boost or cut lower frequencies.

biquad

Apply a biquad IIR filter with the given coefficients.

channelmap

重新映射或改变音频流中的各个声道。它能够选择性地改变声道的顺序,或者从多声道音频中剥离出特定的声道。

channelsplit

将每个声道作为单独的单声道音频流输出

chorus

Add a chorus effect to the audio.

compand

Compress or expand audio dynamic range.

compensationdelay

Audio Compensation Delay Line.

crossfeed

Apply headphone crossfeed filter.

crystalizer

Simple audio noise sharpening filter.

dcshift

Apply a DC shift to the audio.

deesser

Apply de-essing to the audio.

drmeter

Measure audio dynamic range.

dynaudnorm

动态地调整音频轨道的音量,提供类似于压缩器/限制器但更先进的功能。这个滤镜能够在不明显改变原始音频动态范围的前提下,减小响度差异并均衡整体音量。

earwax

Widen the stereo image.

ebur128

用于测量音频信号响度的工具,它实现了欧洲广播联盟(EBU,European Broadcasting Union)R 128标准的响度测量。

loudnorm

实现EBU R128标准的响度归一化滤镜,其主要用途是自动调整音频轨道的响度,使之达到一致的、指定的响度水平。

equalizer

用来调整音频信号的特定频率段的增益,实现类似于图形均衡器的功能。

extrastereo

Increase difference between stereo audio channels.

firequalizer

Finite Impulse Response Equalizer.

flanger

Apply a flanging effect to the audio.

haas

Apply Haas Stereo Enhancer.

hdcd

Apply High Definition Compatible Digital (HDCD) decoding.

headphone

Apply headphone binaural spatialization with HRTFs in additional streams.

highpass

Apply a high-pass filter with 3dB point frequency.

highshelf

Apply a high shelf filter.

join

Join multiple audio streams into multi-channel output.

lowpass

实现低通滤波器功能,它允许频率低于某一截止频率的信号通过,同时减弱高于这个截止频率的信号;

lowshelf

调整截止点以下频率的增益,而不是切断它们。

mcompand

Multiband Compress or expand audio dynamic range.

pan

Remix channels with coefficients (panning).

replaygain

ReplayGain scanner.

sidechaincompress

Sidechain compressor.

sidechaingate

Audio sidechain gate.

silencedetect

用于检测音频中的静音部分,它可以对音频进行分析并记录下静音发生的时间和持续时长。

silenceremove

用于去除或调整音频流中的静音部分,使用时可以指定要移除静音部分的参数,例如静音阈值、最小持续时间、以及在静音前后保留的音频长度。

speechnorm

Speech Normalizer.

stereotools

Apply various stereo tools.

stereowiden

Apply stereo widening effect.

superequalizer

Apply 18 band equalization filter.

surround

Apply audio surround upmix filter.

treble

Boost or cut upper frequencies.

tremolo

Apply tremolo effect.

vibrato

Apply vibrato effect.

volume

调整音频信号的音量。你可以使用该滤镜增加或降低音频轨道的整体音量级别。

volumedetect

检测音频信号的音量级别,包括它的最大值、平均值、RMS(均方根)值等。

aevalsrc

Generate an audio signal generated by an expression.

afirsrc

Generate a FIR coefficients audio stream.

anoisesrc

Generate a noise audio signal.

anullsrc

Null audio source, return empty audio frames.

hilbert

Generate a Hilbert transform FIR coefficients.

sinc

Generate a sinc kaiser-windowed low-pass, high-pass, band-pass, or band-reject FIR coefficients.

sine

Generate sine wave audio signal.

anullsink

Do absolutely nothing with the input audio.

addroi

Add region of interest to frame.

alphaextract

Extract an alpha channel as a grayscale image component.

alphamerge

Copy the luma value of the second input into the alpha channel of the first input.

amplify

Amplify changes between successive video frames.

atadenoise

Apply an Adaptive Temporal Averaging Denoiser.

avgblur

Apply Average Blur filter.

bbox

Compute bounding box for each frame.

bilateral

Apply Bilateral filter.

bitplanenoise

Measure bit plane noise.

blackdetect

检测视频中的黑色片段,该滤镜能够识别出黑场的开始和持续时间。

blackframe

检测视频中的黑色帧。与 blackdetect 不同,blackframe 专注于单个黑色帧而非片段,并给出黑色帧对应的阈值和数量。

blend

Blend two video frames into each other.

bm3d

Block-Matching 3D denoiser.

boxblur

对视频帧实施盒式模糊效果。"盒式模糊"(Box Blur)又称为“均值模糊”(Mean Blur),是一种简单有效的模糊算法,通过均匀地取周围像素的平均值来模糊每个像素点。boxblur 滤镜可以应用于整个视频帧,也可以单独应用于亮度(luma)和色度(chroma)通道。

chromakey

将视频中的特定颜色(通常是绿屏或蓝屏)替换成其他背景图像或视频。

chromanr

Reduce chrominance noise.

chromashift

Shift chroma.

ciescope

Video CIE scope.

codecview

Visualize information about some codecs.

colorbalance

Adjust the color balance.

colorchannelmixer

Adjust colors by mixing color channels.

colorcontrast

Adjust color contrast between RGB components.

colorcorrect

Adjust color white balance selectively for blacks and whites.

colorize

Overlay a solid color on the video stream.

colorkey

Turns a certain color into transparency. Operates on RGB colors.

colorhold

Turns a certain color range into gray. Operates on RGB colors.

colorlevels

Adjust the color levels.

colormatrix

Convert color matrix.

colorspace

Convert between colorspaces.

colortemperature

Adjust color temperature of video.

convolution

Apply convolution filter.

convolve V

Convolve first video stream with second video stream.

coreimage

Video filtering using CoreImage API.

cover_rect

Find and cover a user specified object.

cropdetect

自动检测视频帧的边缘并建议需要裁剪的区域和尺寸,这是视频后期处理中常用的功能,特别是在处理旧电影或电视节目时,从而消除不必要的黑色边框,使画面更加干净。

crop

根据给出的参数来裁剪视频;

curves

Adjust components curves.

datascope

Video data analysis.

dblur

Apply Directional Blur filter.

dctdnoiz

Denoise frames using 2D DCT.

deband

Debands video.

deblock

Deblock video.

decimate

Decimate frames (post field matching filter).

deconvolve

Deconvolve first video stream with second video stream.

dedot

Reduce cross-luminance and cross-color.

deflate

Apply deflate effect.

deflicker

Remove temporal frame luminance variations.

dejudder

Remove judder produced by pullup.

delogo

用于移除视频中的水印或徽标。这个滤镜可以在不影响视频其他部分质量的情况下,尽可能地清除掉固定位置的水印。

derain

Apply derain filter to the input.

deshake

Stabilize shaky video.

despill

Despill video.

detelecine

Apply an inverse telecine pattern.

dilation

Apply dilation effect.

displace

Displace pixels.

dnn_processing

Apply DNN processing filter to the input.

doubleweave

Weave input video fields into double number of frames.

drawbox

Draw a colored box on the input video.

drawgraph

Draw a graph using input video metadata.

drawgrid

Draw a colored grid on the input video.

edgedetect

通过边缘检测算法来突出显示图像中的线条和边缘,这通常用于视频分析、艺术效果或前期的视觉效果制作。

elbg

Apply posterize effect, using the ELBG algorithm.

entropy

Measure video frames entropy.

epx

Scale the input using EPX algorithm.

eq

Adjust brightness, contrast, gamma, and saturation.

erosion

Apply erosion effect.

estdif

Apply Edge Slope Tracing deinterlace.

exposure

Adjust exposure of the video stream.

extractplanes

Extract planes as grayscale frames.

fade

Fade in/out input video.

fftdnoiz

Denoise frames using 3D FFT.

fftfilt

Apply arbitrary expressions to pixels in frequency domain.

field

Extract a field from the input video.

fieldhint

Field matching using hints.

fieldmatch

Field matching for inverse telecine.

fieldorder

Set the field order.

fillborders

Fill borders of the input video.

find_rect

Find a user specified object.

floodfill

Fill area with same color with another color.

format

Convert the input video to one of the specified pixel formats.

fps

Force constant framerate.

framepack

Generate a frame packed stereoscopic video.

framerate

Upsamples or downsamples progressive source between specified frame rates.

framestep

Select one frame every N frames.

freezedetect

Detects frozen video input.

freezeframes

Freeze video frames.

fspp

Apply Fast Simple Post-processing filter.

gblur

Apply Gaussian Blur filter.

geq

Apply generic equation to each pixel.

gradfun

Debands video quickly using gradients.

graphmonitor

Show various filtergraph stats.

greyedge

Estimates scene illumination by grey edge assumption.

haldclut V

Adjust colors using a Hald CLUT.

hflip

Horizontally flip the input video.

histeq

Apply global color histogram equalization.

histogram

Compute and draw a histogram.

hqdn3d

Apply a High Quality 3D Denoiser.

hqx

Scale the input by 2, 3 or 4 using the hq*x magnification algorithm.

hstack

用于将多个视频流水平堆叠(并排)在一起。主要用于在一行中创建分屏效果,比如同一画面同时展示两个或多个不同画面的视频。

vstack

用于垂直叠加(竖向排列)多个视频流,类似于 hstack 滤镜的水平叠加功能。

hue

Adjust the hue and saturation of the input video.

hwdownload

Download a hardware frame to a normal frame

hwmap

Map hardware frames

hwupload

Upload a normal frame to a hardware frame

hysteresis

Grow first stream into second stream by connecting components.

identity

Calculate the Identity between two video streams.

idet

Interlace detect Filter.

il

Deinterleave or interleave fields.

inflate

Apply inflate effect.

interlace

Convert progressive video into interlaced.

interleave

Temporally interleave video inputs.

kerndeint

Apply kernel deinterlacing to the input.

kirsch

Apply kirsch operator.

lagfun

Slowly update darker pixels.

lenscorrection

Rectify the image by correcting for lens distortion.

limiter

Limit pixels components to the specified range.

loop

Loop video frames.

lumakey

Turns a certain luma into transparency.

lut

Compute and apply a lookup table to the RGB/YUV input video.

lut1d

Adjust colors using a 1D LUT.

lut2

Compute and apply a lookup table from two video inputs.

lut3d

Adjust colors using a 3D LUT.

lutrgb

Compute and apply a lookup table to the RGB input video.

lutyuv

Compute and apply a lookup table to the YUV input video.

maskedclamp

Clamp first stream with second stream and third stream.

maskedmax

Apply filtering with maximum difference of two streams.

maskedmerge

Merge first stream with second stream using third stream as mask.

maskedmin

Apply filtering with minimum difference of two streams.

maskedthreshold

Pick pixels comparing absolute difference of two streams with threshold.

maskfun

Create Mask.

mcdeint

Apply motion compensating deinterlacing.

median

Apply Median filter.

mergeplanes

Merge planes.

mestimate

Generate motion vectors.

metadata

Manipulate video frame metadata.

midequalizer

Apply Midway Equalization.

minterpolate

Frame rate conversion using Motion Interpolation.

mix

Mix video inputs.

monochrome

Convert video to gray using custom color filter.

mpdecimate

Remove near-duplicate frames.

msad

Calculate the MSAD between two video streams.

negate

Negate input video.

nlmeans

Non-local means denoiser.

nnedi

Apply neural network edge directed interpolation intra-only deinterlacer.

noformat

Force libavfilter not to use any of the specified pixel formats for the input to the next filter.

noise

Add noise.

normalize

Normalize RGB video.

null

Pass the source unchanged to the output.

oscilloscope

2D Video Oscilloscope.

overlay

Overlay a video source on top of the input.

owdenoise

Denoise using wavelets.

pad

Pad the input video.

palettegen

Find the optimal palette for a given stream.

paletteuse

Use a palette to downsample an input video stream.

perms

Set permissions for the output video frame.

perspective

Correct the perspective of video.

phase

Phase shift fields.

photosensitivity

Filter out photosensitive epilepsy seizure-inducing flashes.

pixdesctest

Test pixel format definitions.

pixscope

Pixel data analysis.

pp

Filter video using libpostproc.

pp7

Apply Postprocessing 7 filter.

premultiply

PreMultiply first stream with first plane of second stream.

prewitt

Apply prewitt operator.

pseudocolor

Make pseudocolored video frames.

psnr

Calculate the PSNR between two video streams.

pullup

Pullup from field sequence to frames.

qp

Change video quantization parameters.

random

Return random frames.

readeia608

Read EIA-608 Closed Caption codes from input video and write them to frame metadata.

readvitc

Read vertical interval timecode and write it to frame metadata.

realtime

Slow down filtering to match realtime.

remap

Remap pixels.

removegrain

Remove grain.

removelogo

Remove a TV logo based on a mask image.

repeatfields

Hard repeat fields based on MPEG repeat field flag.

reverse

Reverse a clip.

rgbashift

Shift RGBA.

roberts

Apply roberts cross operator.

rotate

Rotate the input image.

sab

Apply shape adaptive blur.

scale

Scale the input video size and/or convert the image format.

scale2ref

Scale the input video size and/or convert the image format to the given reference.

scdet

Detect video scene change

scroll

Scroll input video.

select

Select video frames to pass in output.

selectivecolor

Apply CMYK adjustments to specific color ranges.

sendcmd

Send commands to filters.

separatefields

Split input video frames into fields.

setdar

Set the frame display aspect ratio.

setfield

Force field for the output video frame.

setparams

Force field, or color property for the output video frame.

setpts

Set PTS for the output video frame.

setrange

Force color range for the output video frame.

setsar

Set the pixel sample aspect ratio.

settb

Set timebase for the video output link.

shear

Shear transform the input image.

showinfo

Show textual information for each video frame.

showpalette

Display frame palette.

shuffleframes

Shuffle video frames.

shufflepixels

Shuffle video pixels.

shuffleplanes

Shuffle video planes.

signature

Calculate the MPEG-7 video signature

smartblur

Blur the input video without impacting the outlines.

sobel

Apply sobel operator.

split

将一个视频流(或音频流)分成几个相同的流

spp

实现了一种称为"SPP"的效果,可以用较少损失细节的方式降低视频噪点。这个滤镜主要基于 DCT(离散余弦变换)域技术,并且提供了不同强度的降噪选项。

sr

Apply DNN-based image super resolution to the input.

ssim

Calculate the SSIM between two video streams.

stereo3d

Convert video stereoscopic 3D view.

streamselect

Select video streams

super2xsai

Scale the input by 2x using the Super2xSaI pixel art algorithm.

swaprect

Swap 2 rectangular objects in video.

swapuv

Swap U and V components.

tblend

Blend successive frames.

telecine

Apply a telecine pattern.

thistogram

Compute and draw a temporal histogram.

threshold

Threshold first video stream using other video streams.

thumbnail

从视频中生成缩略图

tile

Tile several successive frames together.

tinterlace

Perform temporal field interlacing.

tlut2

Compute and apply a lookup table from two successive frames.

tmedian

Pick median pixels from successive frames.

tmidequalizer

Apply Temporal Midway Equalization.

tmix

Mix successive video frames.

tonemap

Conversion to/from different dynamic ranges.

tpad

Temporarily pad video frames.

transpose

Transpose input video.

trim

Pick one continuous section from the input, drop the rest.

unpremultiply

UnPreMultiply first stream with first plane of second stream.

unsharp

Sharpen or blur the input video.

untile

Untile a frame into a sequence of frames.

uspp

Apply Ultra Simple / Slow Post-processing filter.

v360

Convert 360 projection of video.

vaguedenoiser

Apply a Wavelet based Denoiser.

vectorscope

Video vectorscope.

vflip

用于垂直翻转或镜像视频,此滤镜会将视频画面上下颠倒过来,使画面上部的内容移动到下部,下部的内容移动到上部。

vfrdet

Variable frame rate detect filter.

vibrance

Boost or alter saturation.

vif V

Calculate the VIF between two video streams.

vignette

用于在视频图像上添加暗角效果,模仿经典照相机镜头产生的自然光暗角或“晕影”效果。

vmafmotion

获取视频的平均VMAF运动得分,它是VMAF组成指标之一。

w3fdif

Apply Martin Weston three field deinterlace.

waveform

Video waveform monitor.

weave

Weave input video fields into frames.

xbr

Scale the input using xBR algorithm.

xfade

Cross fade one video with another video.

xmedian

Pick median pixels from several video inputs.

xstack

Stack video inputs into custom layout.

yadif

Deinterlace the input image.

yaepblur

Yet another edge preserving blur filter.

zoompan

Apply Zoom & Pan effect.

allrgb

Generate all RGB colors.

allyuv

Generate all yuv colors.

cellauto

Create pattern generated by an elementary cellular automaton.

color

Provide an uniformly colored input.

coreimagesrc

Video source using image generators of CoreImage API.

gradients

Draw a gradients.

haldclutsrc

Provide an identity Hald CLUT.

mandelbrot

Render a Mandelbrot fractal.

mptestsrc

Generate various test pattern.

nullsrc

是一个虚拟的视频源,可以创建一个没有实际视频数据的视频流,通常用于测试或者作为复杂滤镜链中的占位符。

pal75bars

Generate PAL 75% color bars.

pal100bars

Generate PAL 100% color bars.

rgbtestsrc

Generate RGB test pattern.

sierpinski

Render a Sierpinski fractal.

smptebars

Generate SMPTE color bars.

smptehdbars

Generate SMPTE HD color bars.

abitscope

Convert input audio to audio bit scope video output.

adrawgraph

Draw a graph using input audio metadata.

agraphmonitor

Show various filtergraph stats.

ahistogram

Convert input audio to histogram video output.

aphasemeter

Convert input audio to phase meter video output.

avectorscope

Convert input audio to vectorscope video output.

concat

Concatenate audio and video streams.

showcqt

Convert input audio to a CQT (Constant/Clamped Q Transform) spectrum video output.

showfreqs

Convert input audio to a frequencies video output.

showspatial

Convert input audio to a spatial video output.

showspectrum

Convert input audio to a spectrum video output.

showspectrumpic

Convert input audio to a spectrum video output single picture.

showvolume

生成一个视频条,显示音频的实时音量水平,这个条随音量的高低和通道数变化,还可以显示音量的峰值。

showwaves

生成一个类似振荡器波形的视频流,显示音频波形。

showwavespic

生成单张代表音频波形的图片,而不是视频流。

spectrumsynth

Convert input spectrum videos to audio output.

amovie

用于读取外部的音频文件,并将其作为音频源注入到复杂的滤镜图中;

movie

用于加载外部视频文件,并将其作为视频源注入到滤镜图中。这个滤镜常用于导入水印或者其他视频素材

afifo

Buffer input frames and send them when they are requested.

fifo

Buffer input images and send them when they are requested.

abuffer

Buffer audio frames, and make them accessible to the filterchain.

buffer

Buffer video frames, and make them accessible to the filterchain.

abuffersink

Buffer audio frames, and make them available to the end of the filter graph.

buffersink

Buffer video frames, and make them available to the end of the filter graph.

ffmpeg -i main_video.mp4 -filter_complex "movie=logo.png[logo];[0:v][logo]overlay=W-w-10:H-h-10" output.mp4
ffmpeg -i video.mp4 -filter_complex "amovie=audio.mp3[a];[0:a][a]amix" output.mp4
ffmpeg -i in.m4a -filter_complex "dynaudnorm=f=150:g=15" out.m4a
ffplay -i INPUT -vf "crop=iw/2:ih:0:0,split[left][tmp];[tmp]hflip[right];[left][right] hstack"

粉丝福利, 免费领取C++音视频学习资料包+学习路线大纲、技术视频/代码,内容包括(音视频开发,面试题,FFmpeg ,webRTC ,rtmp ,hls ,rtsp ,ffplay ,编解码,推拉流,srs)↓↓↓↓↓↓见下面↓↓文章底部点击免费领取↓↓

相关文章:

FFmpeg滤镜完整列表

FFmpeg滤镜完整列表 滤镜名称 用途 acompressor 压缩音频信号,当输入信号超过某个预设阈值时,压缩器就会开始工作。该滤镜使音量大的部分变得不那么响亮,而音量小的部分相对变得响亮,这样就可以使整体听起来更加均衡,常用于音乐…...

深入探索Python基础:两个至关重要的函数

新书上架~👇全国包邮奥~ python实用小工具开发教程http://pythontoolsteach.com/3 欢迎关注我👆,收藏下次不迷路┗|`O′|┛ 嗷~~ 目录 一、初学者的基石:print与input函数 二、类型转换:从字符串到浮点数…...

探索集合python(Set)的神秘面纱:它与字典有何不同?

新书上架~👇全国包邮奥~ python实用小工具开发教程http://pythontoolsteach.com/3 欢迎关注我👆,收藏下次不迷路┗|`O′|┛ 嗷~~ 目录 一、集合(Set)与字典(Dictionary)的初识 1. …...

火山引擎“奇袭”阿里云

图片|电影《美国队长3》剧照 ©自象限原创 作者丨程心 编辑丨罗辑 大模型价格战,已经不是什么新闻。 从OpenAI发布GPT-4o,将API价格下调50%,并宣布面向普通用户免费开始,就标志着大模型的竞争从性能进入到了成本…...

牛客网刷题 | BC94 反向输出一个四位数

目前主要分为三个专栏,后续还会添加: 专栏如下: C语言刷题解析 C语言系列文章 我的成长经历 感谢阅读! 初来乍到,如有错误请指出,感谢! 描述 将一个四位数&…...

记一次MySQL执行修改语句超时问题

异常问题 原因分析 这个问题发生在开发环境,怀疑是提交事务时终止项目运行,没有提交该事务,造成死锁 调试该事务时时间太长,为什么说有这个原因呢,因为通过查找日志显示 The client was disconnected by the server …...

linux fork()函数调用原理

在Linux中,fork函数用于创建一个新的进程,该进程是调用进程的子进程。fork函数的实现涉及用户态和内核态之间的交互。下面我将详细说明fork函数在代码流程中的原理和用户态与内核态的交互过程。 用户态调用fork函数: 用户程序调用fork函数,该函数是libc库提供的一个封装函数…...

【电控笔记5.9】编码器脉冲计算速度MT法

总结 编码器的脉冲计算速度可以使用多种方法,其中一种常用的方法是“MT法” (Measuring Time Method),即测量时间法。该方法通过测量编码器脉冲间的时间来计算速度。这种方法在高精度速度测量中非常有效,特别是在速度较低时。 MT法计算速度的基本原理 MT法的基本原理是通过…...

go-zero 实战(4)

中间件 在 userapi 项目中引入中间件。go项目中的中间可以处理请求之前和之后的逻辑。 1. 在 userapi/internal目录先创建 middlewares目录,并创建 user.go文件 package middlewaresimport ("github.com/zeromicro/go-zero/core/logx""net/http&q…...

go语言泛型Generic最佳实践 --- slices包

在go的内置包slices中, 所有的函数函数都使用了泛型, 各种各样的泛型, 可以说这个包绝对是go语言泛型学习的最佳实践之一! 来,先来瞄一眼,看看这个slices包里面的函数原型定义: func BinarySe…...

【神经网络结构可视化】使用 Visualkeras 可视化 Keras / TensorFlow 神经网络结构

文章目录 Visualkeras介绍下载安装代码示例1、导入必要的库2、创建VGG16神经网络模型3、可视化神经网络结构4、完整代码5、使用教程 可视化自己创建的神经网络结构1、导入要的库2、创建自己的神经网络模型3、可视化神经网络结构图4、完整代码 Visualkeras介绍 Visualkeras是一…...

nvm安装nodejs/npm/nvm笔记

1 安装nvm, 指定路径nvm路径: D:\Program_Files\nvm\nvm指定路径nodejs 路径: D:\Program_Files\nvm\nodejs 2 进入nvm安装路径找到settings.xml文件,追加2行,设置镜像 node_mirror: https://npmmirror.com/mirrors/node/ npm_mirror: ht…...

微信小程序源码-基于Java后端的小区租拼车管理信息系统毕业设计(附源码+演示录像+LW)

大家好!我是程序员一帆,感谢您阅读本文,欢迎一键三连哦。 💞当前专栏:微信小程序毕业设计 精彩专栏推荐👇🏻👇🏻👇🏻 🎀 Python毕业设…...

嵌入式进阶——LED呼吸灯(PWM)

🎬 秋野酱:《个人主页》 🔥 个人专栏:《Java专栏》《Python专栏》 ⛺️心若有所向往,何惧道阻且长 文章目录 PWM基础概念STC8H芯片PWMA应用PWM配置详解占空比 PWM基础概念 PWM全称是脉宽调制(Pulse Width Modulation&#xff09…...

一文读懂:http免费升级https

背景: 随着现在全民网络安全意识的日益提升,各个网站需要实现的https数量也随之提升,那么如何将原本网站的http访问方式升级为https呢? 该内容为如何免费将网站的http访问升级为https访问 论https的加密逻辑: 步骤 …...

算法刷题笔记 高精度除法(C++实现)

文章目录 题目描述求解思路实现代码 题目描述 给定两个非负整数(不含前导0)A,B,请你计算 A/B 的商和余数。 输入格式 共两行,第一行包含整数A,第二行包含整数B。 输出格式 共两行,第一行输…...

按月爬取天气数据可视化展示

从天气网分析,可以查询每个月的天气情况,这里按照url规则,传入年月,获取数据,最后进行可视化展示,最终效果: 下面是获取过程: 第一步: import requestsdef get_weather(month):url = f"https://lishi.tianqi.com/nanning/{month}.html"response = reques…...

VMware安装Ubuntu系统(超详细)

一.Ubuntu官网下载镜像 Ubuntu官网:Enterprise Open Source and Linux | Ubuntu 二.安装Ubuntu系统 选择文件->创建虚拟机新建虚拟机(ControlN),这里直接选择典型即可 选择稍后安装系统 选择linux Ubuntu 64位 填写虚拟机名称…...

数据清洗操作及众所周知【数据分析】

各位大佬好 ,这里是阿川的博客 , 祝您变得更强 个人主页:在线OJ的阿川 大佬的支持和鼓励,将是我成长路上最大的动力 阿川水平有限,如有错误,欢迎大佬指正 前面的博客 数据分析—技术栈和开发环境搭建 …...

炫酷gdb

在VS里面调试很方便对吧?(F5直接调试,F10逐过程调试--不进函数,F11逐语句调试--进函数,F9创建断点),那在Linux中怎么调试呢? 我们需要用到一个工具:gdb 我们知道VS中程…...

多模态2025:技术路线“神仙打架”,视频生成冲上云霄

文|魏琳华 编|王一粟 一场大会,聚集了中国多模态大模型的“半壁江山”。 智源大会2025为期两天的论坛中,汇集了学界、创业公司和大厂等三方的热门选手,关于多模态的集中讨论达到了前所未有的热度。其中,…...

python打卡day49

知识点回顾: 通道注意力模块复习空间注意力模块CBAM的定义 作业:尝试对今天的模型检查参数数目,并用tensorboard查看训练过程 import torch import torch.nn as nn# 定义通道注意力 class ChannelAttention(nn.Module):def __init__(self,…...

突破不可导策略的训练难题:零阶优化与强化学习的深度嵌合

强化学习(Reinforcement Learning, RL)是工业领域智能控制的重要方法。它的基本原理是将最优控制问题建模为马尔可夫决策过程,然后使用强化学习的Actor-Critic机制(中文译作“知行互动”机制),逐步迭代求解…...

React hook之useRef

React useRef 详解 useRef 是 React 提供的一个 Hook,用于在函数组件中创建可变的引用对象。它在 React 开发中有多种重要用途,下面我将全面详细地介绍它的特性和用法。 基本概念 1. 创建 ref const refContainer useRef(initialValue);initialValu…...

R语言AI模型部署方案:精准离线运行详解

R语言AI模型部署方案:精准离线运行详解 一、项目概述 本文将构建一个完整的R语言AI部署解决方案,实现鸢尾花分类模型的训练、保存、离线部署和预测功能。核心特点: 100%离线运行能力自包含环境依赖生产级错误处理跨平台兼容性模型版本管理# 文件结构说明 Iris_AI_Deployme…...

uniapp微信小程序视频实时流+pc端预览方案

方案类型技术实现是否免费优点缺点适用场景延迟范围开发复杂度​WebSocket图片帧​定时拍照Base64传输✅ 完全免费无需服务器 纯前端实现高延迟高流量 帧率极低个人demo测试 超低频监控500ms-2s⭐⭐​RTMP推流​TRTC/即构SDK推流❌ 付费方案 (部分有免费额度&#x…...

uniapp中使用aixos 报错

问题: 在uniapp中使用aixos,运行后报如下错误: AxiosError: There is no suitable adapter to dispatch the request since : - adapter xhr is not supported by the environment - adapter http is not available in the build 解决方案&…...

精益数据分析(97/126):邮件营销与用户参与度的关键指标优化指南

精益数据分析(97/126):邮件营销与用户参与度的关键指标优化指南 在数字化营销时代,邮件列表效度、用户参与度和网站性能等指标往往决定着创业公司的增长成败。今天,我们将深入解析邮件打开率、网站可用性、页面参与时…...

学习STC51单片机32(芯片为STC89C52RCRC)OLED显示屏2

每日一言 今天的每一份坚持,都是在为未来积攒底气。 案例:OLED显示一个A 这边观察到一个点,怎么雪花了就是都是乱七八糟的占满了屏幕。。 解释 : 如果代码里信号切换太快(比如 SDA 刚变,SCL 立刻变&#…...

九天毕昇深度学习平台 | 如何安装库?

pip install 库名 -i https://pypi.tuna.tsinghua.edu.cn/simple --user 举个例子: 报错 ModuleNotFoundError: No module named torch 那么我需要安装 torch pip install torch -i https://pypi.tuna.tsinghua.edu.cn/simple --user pip install 库名&#x…...