FFMpegCore: Pipe is broken.
var pipeSource = new StreamPipeSource(fs);
var arguments = await FFMpegArguments
.FromPipeInput(pipeSource)
.OutputToFile(outPath, true
, options => options
.ForceFormat("rawvideo")
.WithVideoCodec(VideoCodec.Png)
.WithFrameOutputCount(1))
.ProcessAsynchronously();
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 2
- Comments: 27 (11 by maintainers)
@Toemsel I have released version 4.3 in which -y is removed from InputPipeArgument. Could you try again
Pipe is indeed broken
Tried 3.3 - 4.2 ffmpeg versions. Lib version: 4.2
Edit: After debugging: You do require to pass a format as an argument. E.g.:
public override string Text => $"-y -f avi {Writer.GetStreamArguments()} -i \"{PipePath}\"";works
Edit edit: works even without providing a format by removing the ‘-y’ (override) param.