基本信息
源码名称:c# ffmpeg调用动态库音视频播放
源码大小:167.59M
文件格式:.zip
开发语言:C#
更新时间:2025-10-25
   友情提示:(无需注册或充值,赞助后即可获取资源下载链接)

     嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300

本次赞助数额为: 2 元 
   源码介绍

c# .net core9 使用 ffmpeg 动态库调用软硬解播放器,项目分别使用了

1.cpu解码 gdi绘图(慢)  

2.gpu解码 d2d绘图  

3.gpu解码 d3d11绘图 (快),兼容性有待修改。方案测试用

winFFmpeg

├── windowsdesktop-runtime-9.0.10-win-x64.exe
└── winFFmpeg
    ├── dll
    │   ├── dxDraw.dll
    │   ├── FFMpeg.dll
    │   ├── FFmpegSharp.dll
    │   ├── liblz4.dll
    │   ├── SharpDX.D3DCompiler.dll
    │   ├── SharpDX.Direct2D1.dll
    │   ├── SharpDX.Direct3D11.dll
    │   ├── SharpDX.dll
    │   ├── SharpDX.DXGI.dll
    │   ├── SharpDX.Mathematics.dll
    │   └── waAudio.dll
    ├── winFFmpeg
    │   ├── bin
    │   │   ├── Debug
    │   │   │   └── net9.0-windows
    │   │   │       ├── dxDraw.dll
    │   │   │       ├── FFMpeg.dll
    │   │   │       ├── FFmpegSharp.dll
    │   │   │       ├── liblz4.dll
    │   │   │       ├── Newtonsoft.Json.dll
    │   │   │       ├── SharpDX.D3DCompiler.dll
    │   │   │       ├── SharpDX.Direct2D1.dll
    │   │   │       ├── SharpDX.Direct3D11.dll
    │   │   │       ├── SharpDX.dll
    │   │   │       ├── SharpDX.DXGI.dll
    │   │   │       ├── SharpDX.Mathematics.dll
    │   │   │       ├── System.Drawing.Common.dll
    │   │   │       ├── waAudio.dll
    │   │   │       ├── winFFmpeg.deps.json
    │   │   │       ├── winFFmpeg.dll
    │   │   │       ├── winFFmpeg.exe
    │   │   │       ├── winFFmpeg.pdb
    │   │   │       ├── winFFmpeg.runtimeconfig.json
    │   │   │       ├── x64
    │   │   │       │   ├── avcodec-59.dll
    │   │   │       │   ├── avdevice-59.dll
    │   │   │       │   ├── avfilter-8.dll
    │   │   │       │   ├── avformat-59.dll
    │   │   │       │   ├── avutil-57.dll
    │   │   │       │   ├── cvextern.dll
    │   │   │       │   ├── postproc-56.dll
    │   │   │       │   ├── swresample-4.dll
    │   │   │       │   └── swscale-6.dll
    │   │   │       └── x86
    │   │   │           ├── avcodec-57.dll
    │   │   │           ├── avdevice-57.dll
    │   │   │           ├── avfilter-6.dll
    │   │   │           ├── avformat-57.dll
    │   │   │           ├── avutil-55.dll
    │   │   │           ├── cvextern.dll
    │   │   │           ├── postproc-54.dll
    │   │   │           ├── swresample-2.dll
    │   │   │           └── swscale-4.dll
    │   │   └── Release
    │   ├── mainfrm.cs
    │   ├── mainfrm.Designer.cs
    │   ├── mainfrm.resx
    │   ├── obj
    │   │   ├── Debug
    │   │   │   └── net9.0-windows
    │   │   │       ├── apphost.exe
    │   │   │       ├── ref
    │   │   │       │   └── winFFmpeg.dll
    │   │   │       ├── refint
    │   │   │       │   └── winFFmpeg.dll
    │   │   │       ├── winFFmpeg.AssemblyInfo.cs
    │   │   │       ├── winFFmpeg.AssemblyInfoInputs.cache
    │   │   │       ├── winFFmpeg.assets.cache
    │   │   │       ├── winFFmpeg.csproj.AssemblyReference.cache
    │   │   │       ├── winFFmpeg.csproj.BuildWithSkipAnalyzers
    │   │   │       ├── winFFmpeg.csproj.CoreCompileInputs.cache
    │   │   │       ├── winFFmpeg.csproj.FileListAbsolute.txt
    │   │   │       ├── winFFmpeg.csproj.GenerateResource.cache
    │   │   │       ├── winFFmpeg.csproj.Up2Date
    │   │   │       ├── winFFmpeg.designer.deps.json
    │   │   │       ├── winFFmpeg.designer.runtimeconfig.json
    │   │   │       ├── winFFmpeg.dll
    │   │   │       ├── winFFmpeg.GeneratedMSBuildEditorConfig.editorconfig
    │   │   │       ├── winFFmpeg.genruntimeconfig.cache
    │   │   │       ├── winFFmpeg.GlobalUsings.g.cs
    │   │   │       ├── winFFmpeg.mainfrm.resources
    │   │   │       └── winFFmpeg.pdb
    │   │   ├── project.assets.json
    │   │   ├── project.nuget.cache
    │   │   ├── publish
    │   │   │   └── win-x64
    │   │   │       ├── project.assets.json
    │   │   │       ├── project.nuget.cache
    │   │   │       ├── winFFmpeg.csproj.nuget.dgspec.json
    │   │   │       ├── winFFmpeg.csproj.nuget.g.props
    │   │   │       └── winFFmpeg.csproj.nuget.g.targets
    │   │   ├── Release
    │   │   │   └── net9.0-windows
    │   │   │       ├── apphost.exe
    │   │   │       ├── ref
    │   │   │       │   └── winFFmpeg.dll
    │   │   │       ├── refint
    │   │   │       │   └── winFFmpeg.dll
    │   │   │       ├── win-x64
    │   │   │       │   ├── apphost.exe
    │   │   │       │   ├── PublishOutputs.0b59405eed.txt
    │   │   │       │   ├── PublishOutputs.dfedf689f4.txt
    │   │   │       │   ├── ref
    │   │   │       │   │   └── winFFmpeg.dll
    │   │   │       │   ├── refint
    │   │   │       │   │   └── winFFmpeg.dll
    │   │   │       │   ├── singlefilehost.exe
    │   │   │       │   ├── winFFmpeg.AssemblyInfo.cs
    │   │   │       │   ├── winFFmpeg.AssemblyInfoInputs.cache
    │   │   │       │   ├── winFFmpeg.assets.cache
    │   │   │       │   ├── winFFmpeg.csproj.AssemblyReference.cache
    │   │   │       │   ├── winFFmpeg.csproj.CoreCompileInputs.cache
    │   │   │       │   ├── winFFmpeg.csproj.FileListAbsolute.txt
    │   │   │       │   ├── winFFmpeg.csproj.GenerateResource.cache
    │   │   │       │   ├── winFFmpeg.csproj.Up2Date
    │   │   │       │   ├── winFFmpeg.deps.json
    │   │   │       │   ├── winFFmpeg.dll
    │   │   │       │   ├── winFFmpeg.genbundle.cache
    │   │   │       │   ├── winFFmpeg.GeneratedMSBuildEditorConfig.editorconfig
    │   │   │       │   ├── winFFmpeg.genpublishdeps.cache
    │   │   │       │   ├── winFFmpeg.genruntimeconfig.cache
    │   │   │       │   ├── winFFmpeg.GlobalUsings.g.cs
    │   │   │       │   ├── winFFmpeg.mainfrm.resources
    │   │   │       │   └── winFFmpeg.pdb
    │   │   │       ├── winFFmpeg.AssemblyInfo.cs
    │   │   │       ├── winFFmpeg.AssemblyInfoInputs.cache
    │   │   │       ├── winFFmpeg.assets.cache
    │   │   │       ├── winFFmpeg.csproj.AssemblyReference.cache
    │   │   │       ├── winFFmpeg.csproj.BuildWithSkipAnalyzers
    │   │   │       ├── winFFmpeg.csproj.CoreCompileInputs.cache
    │   │   │       ├── winFFmpeg.csproj.FileListAbsolute.txt
    │   │   │       ├── winFFmpeg.csproj.GenerateResource.cache
    │   │   │       ├── winFFmpeg.csproj.Up2Date
    │   │   │       ├── winFFmpeg.designer.deps.json
    │   │   │       ├── winFFmpeg.designer.runtimeconfig.json
    │   │   │       ├── winFFmpeg.dll
    │   │   │       ├── winFFmpeg.GeneratedMSBuildEditorConfig.editorconfig
    │   │   │       ├── winFFmpeg.genruntimeconfig.cache
    │   │   │       ├── winFFmpeg.GlobalUsings.g.cs
    │   │   │       ├── winFFmpeg.mainfrm.resources
    │   │   │       └── winFFmpeg.pdb
    │   │   ├── winFFmpeg.csproj.nuget.dgspec.json
    │   │   ├── winFFmpeg.csproj.nuget.g.props
    │   │   └── winFFmpeg.csproj.nuget.g.targets
    │   ├── Program.cs
    │   ├── Properties
    │   │   └── PublishProfiles
    │   │       ├── FolderProfile.pubxml
    │   │       └── FolderProfile.pubxml.user
    │   ├── winFFmpeg.csproj
    │   └── winFFmpeg.csproj.user
    └── winFFmpeg.sln

25 directories, 130 files