MikeTMG
MikeTMG

Reputation: 67

FFmpeg library in WPF

I am building a softwere that can decode and encode using Wpf and c#, and I want to do that using, FFmpeg libary. I saw the ffmpeg autogen warpper but I couldn't find any documantion for its function. Can someone please find me one? Or better, give me better warrper.

I already tried FFMpegCore, its working but very slow. For Exaple it takes 20 seconds to decode a specific frame.(And i have monstruos computer) If will be happy if ou could give me better warpper, or a guide for ffmpeg.autogen. Thanks in advance.

Upvotes: 1

Views: 3973

Answers (2)

user2866001
user2866001

Reputation: 69

I've been building my own media player to cater for my needs and I'm using Flyleaf:https://github.com/SuRGeoNix/Flyleaf which is based on FFMPEG. There are samples in the code to get you started.

I've also seen this: FFME: https://github.com/unosquare/ffmediaelement

Upvotes: 0

SuRGeoNix
SuRGeoNix

Reputation: 617

FFmpeg framework is powerful, from the other hand is so large which makes it complex. If you want to mess with it, you will have to read a lot before start coding. I would recommend starting with the original documentation and examples that can be found here :-

And then move to some open source examples -based on what you want- coded in C# with FFmpeg.Autogen bindings.

You can check my recent FFmpeg.cs implementation that is for decoding (audio/video/subtitle frames).

Upvotes: 1

Related Questions