mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
parent
4e0ee69348
commit
8f66a8f4c2
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ private void ConvertFromStreamPipe(ContainerFormat type, params IArgument[] inpu
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var input = FFProbe.Analyse(VideoLibrary.LocalVideoWebm.FullName);
|
var input = FFProbe.Analyse(VideoLibrary.LocalVideoWebm.FullName);
|
||||||
using (var inputStream = File.OpenRead(VideoLibrary.LocalVideoWebm.FullName))
|
using (var inputStream = File.OpenRead(input.Path))
|
||||||
{
|
{
|
||||||
var pipeSource = new StreamPipeSource(inputStream);
|
var pipeSource = new StreamPipeSource(inputStream);
|
||||||
var arguments = FFMpegArguments.FromPipe(pipeSource);
|
var arguments = FFMpegArguments.FromPipe(pipeSource);
|
||||||
|
|
Loading…
Reference in a new issue