ffmpeg安装(windows)

ffmpeg安装-windows

前言

ffmpeg的安装也是开箱即用的,并没有小码哥说的那么难

ffmpeg安装路径


这就下载好了!

安装说明

将上面的bin目录加入到环境变量,然后在cmd中测试一下:

bash 复制代码
C:\Users\12114\Desktop\test\TaskmgrPlayer\x64\Debug>ffmpeg -i BadApple.flv audio.wav -y
ffmpeg version 2024-11-28-git-bc991ca048-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers
  built with gcc 14.2.0 (Rev1, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-dxva2 --enable-d3d11va --enable-d3d12va --enable-ffnvcodec --enable-libvpl --enable-nvdec --enable-nvenc --enable-vaapi --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband
  libavutil      59. 47.101 / 59. 47.101
  libavcodec     61. 26.100 / 61. 26.100
  libavformat    61.  9.100 / 61.  9.100
  libavdevice    61.  4.100 / 61.  4.100
  libavfilter    10.  6.101 / 10.  6.101
  libswscale      8. 12.100 /  8. 12.100
  libswresample   5.  4.100 /  5.  4.100
  libpostproc    58.  4.100 / 58.  4.100
Input #0, flv, from 'BadApple.flv':
  Metadata:
    metadatacreator : Yet Another Metadata Injector for FLV - Version 1.8
    hasKeyframes    : true
    hasVideo        : true
    hasAudio        : true
    hasMetadata     : true
    canSeekToEnd    : true
    datasize        : 14106509
    videosize       : 12158100
    audiosize       : 1884353
    lasttimestamp   : 219
    lastkeyframetimestamp: 219
    lastkeyframelocation: 14107750
  Duration: 00:03:39.07, start: 0.000000, bitrate: 515 kb/s
  Stream #0:0: Video: h264 (High), yuv420p(progressive), 512x384, 441 kb/s, 30 fps, 30 tbr, 1k tbn
  Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp, 65 kb/s
Stream mapping:
  Stream #0:1 -> #0:0 (aac (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, wav, to 'audio.wav':
  Metadata:
    metadatacreator : Yet Another Metadata Injector for FLV - Version 1.8
    hasKeyframes    : true
    hasVideo        : true
    hasAudio        : true
    hasMetadata     : true
    canSeekToEnd    : true
    datasize        : 14106509
    videosize       : 12158100
    audiosize       : 1884353
    lasttimestamp   : 219
    lastkeyframetimestamp: 219
    lastkeyframelocation: 14107750
    ISFT            : Lavf61.9.100
  Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s
    Metadata:
      encoder         : Lavc61.26.100 pcm_s16le
[out#0/wav @ 00000233d6dd22c0] video:0KiB audio:37752KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: 0.000202%
size=   37752KiB time=00:03:39.14 bitrate=1411.2kbits/s speed=1.85e+03x
相关推荐
天天进步20151 小时前
Pixelle-Video 源码解析 #4:快速启动流程:uv、Streamlit、ffmpeg 分别负责什么?
ffmpeg·uv
ι:1 小时前
DeepSeek Harness 桌面一键启动与网页背景修改指南
windows·学习·deepseekharness
HY小宝F2 小时前
从 APP 层打穿到传感器:树莓派 FFmpeg 底层学习笔记(一)V4L2/ALSA 踩坑与认知重构
笔记·学习·ffmpeg
zuozewei2 小时前
7DGroup 开源 dsh-7d-tray-win 系统托盘插件
windows·代码复审
深念Y3 小时前
Wine 运行 HiTool 踩坑记录
linux·windows·容器·桌面·wine·虚拟器
玖釉-3 小时前
nvpro_core2 源码与架构解析:NVIDIA Vulkan 图形开发基础框架
c++·windows·图形渲染
淡海水4 小时前
01-08-运行时-虚方法分派与接口调用的底层实现
linux·windows·microsoft·c#·虚方法·vtable·vsd
无证驾驶梁嗖嗖4 小时前
两台电脑网线直连SMB共享
windows·文件传输·smb
笨鸟先飞,勤能补拙19 小时前
从预测到决策:人工智能与机器学习的系统方法、工程闭环与现实边界
大数据·人工智能·windows·python·机器学习·密码学
微软技术分享19 小时前
Windows 环境下 llama.cpp 编译运行指南
windows·llama