Class SnmFile
Assembly: JeremyAnsel.Xwa.Snm.dll
Syntax
public sealed class SnmFile
Constructors
|
Edit this page
View Source
SnmFile()
Declaration
Properties
|
Edit this page
View Source
Annotation
Declaration
public string Annotation { get; set; }
Property Value
|
Edit this page
View Source
Declaration
public SnmAudioHeader? AudioHeader { get; set; }
Property Value
|
Edit this page
View Source
CurrentFrameContext
Declaration
public Blocky16Context? CurrentFrameContext { get; }
Property Value
|
Edit this page
View Source
CurrentFrameId
Declaration
public int CurrentFrameId { get; }
Property Value
|
Edit this page
View Source
FileName
Declaration
public string? FileName { get; }
Property Value
|
Edit this page
View Source
Frames
Declaration
public IList<SnmFrame> Frames { get; }
Property Value
|
Edit this page
View Source
Declaration
public SnmHeader Header { get; set; }
Property Value
|
Edit this page
View Source
Name
Declaration
public string? Name { get; }
Property Value
|
Edit this page
View Source
Subtitles
Declaration
public SnmSubtitlesFile? Subtitles { get; set; }
Property Value
|
Edit this page
View Source
Declaration
public IList<SnmVideoHeader> VideoHeaders { get; }
Property Value
Methods
|
Edit this page
View Source
BeginPlay()
Declaration
|
Edit this page
View Source
EndPlay()
Declaration
|
Edit this page
View Source
FromAviFile(string?)
Declaration
public static SnmFile FromAviFile(string? fileName)
Parameters
Type |
Name |
Description |
string |
fileName |
|
Returns
|
Edit this page
View Source
FromFile(string?)
Declaration
public static SnmFile FromFile(string? fileName)
Parameters
Type |
Name |
Description |
string |
fileName |
|
Returns
|
Edit this page
View Source
FromMFFile(string?)
Declaration
public static SnmFile FromMFFile(string? fileName)
Parameters
Type |
Name |
Description |
string |
fileName |
|
Returns
|
Edit this page
View Source
RetrieveNextFrame(out byte[]?, out byte[]?)
Declaration
public bool RetrieveNextFrame(out byte[]? audioData, out byte[]? videoData)
Parameters
Type |
Name |
Description |
byte[] |
audioData |
|
byte[] |
videoData |
|
Returns
|
Edit this page
View Source
Save(string?)
Declaration
public void Save(string? fileName)
Parameters
Type |
Name |
Description |
string |
fileName |
|
|
Edit this page
View Source
SaveAsAviMpeg4(string?)
Declaration
public void SaveAsAviMpeg4(string? fileName)
Parameters
Type |
Name |
Description |
string |
fileName |
|
|
Edit this page
View Source
SaveAsMp4(string?)
Declaration
public void SaveAsMp4(string? fileName)
Parameters
Type |
Name |
Description |
string |
fileName |
|
|
Edit this page
View Source
SaveAsMp4(string?, bool)
Declaration
public void SaveAsMp4(string? fileName, bool addSubtitles)
Parameters
Type |
Name |
Description |
string |
fileName |
|
bool |
addSubtitles |
|