Is it possible to use Memory Stream how input file for FFMpeg?

1.9k views Asked by At

I'm trying to work with ffmpeg in a .NET application. Is it possible to use a memory stream instead -i [string inputFilePath] to get some frames for example? Many thanks for any answer.

1

There are 1 answers

0
Fedor Zhilkin On BEST ANSWER

For this task will be good libvlc (https://code.videolan.org/videolan/LibVLCSharp), VLC (as I guess) use ffmpeg back-end, that's why for many task with stream media input file VLC will be perfect solution. For example to take snapshots or playing different video/audio streams from input memory-stream file. If you want to use ffmpeg with some stream input files, you must use Pipes, but if file cannot converting into pipes (e.g. .mp4 or .mkv), you must work directly with some libs (such as libavcodec etc). Hope this answer will help someone with the same problem. Good Luck.