Closed seijikun closed 5 years ago
@seijikun it's not currently possible with the containers available. However if you were to implement a Raw
container it would allow you to as long as ffmpeg supports it. implimentation would look like the following:
[ContainsStream(Type = typeof(AudioStream))]
[ContainsStream(Type = typeof(VideoStream))]
public class Raw : BaseContainer
{
private const string FileFormat = ".raw";
public Raw()
: base(FileFormat)
{
}
protected override IContainer Clone()
{
return new Raw();
}
}
As a side note, if you would like to contribute to the ffmpeg project and add this in, I would not be opposed to merging in the next release
The system as it is at the moment has not been designed with the possibility of working indipendently of the file-extension at the moment, right?
@seijikun correct
Is it possible to use raw data without a container (like pcm for raw audio) as input at the moment? What I got:
But, obviously, since the file extension is not registered, I get a: