- Aurigma Graphics Mill 5.5 for .NET
- Introduction
- What's New?
- Overview of Features
- Getting Started
- Programming with Graphics Mill for .NET
- File Formats
- Graphics Mill for .NET Add-ons
- Class Library Reference
- Aurigma.GraphicsMill Namespace
- Aurigma.GraphicsMill.AjaxControls Namespace
- Aurigma.GraphicsMill.AjaxControls.VectorObjects Namespace
- Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math Namespace
- Aurigma.GraphicsMill.AjaxControls.VectorObjects.RedoUndo Namespace
- Aurigma.GraphicsMill.Codecs Namespace
- AdobeResourceBlock Class
- AdobeResourceDictionary Class
- AdvancedPsdFrame Class
- AdvancedPsdReader Class
- AdvancedPsdTextFrame Class
- AsfIndexer Class
- AviAlphaTransition Class
- AviAudioManager Class
- AviAudioManager Members
- AviAudioManager Methods
- {dtor} Method
- AddAudioStream Method
- AppendAudioStream Method
- AppendAudioStream Method (Int32, Stream, Boolean)
- AppendAudioStream Method (Int32, String, Boolean)
- AppendAudioStream Method (Int32, AviAudioManager, Int32, Boolean)
- AppendAudioStream Method (Int32, Stream, Int32, Int32, Boolean)
- AppendAudioStream Method (Int32, String, Int32, Int32, Boolean)
- AppendAudioStream Method (Int32, AviAudioManager, Int32, Int32, Int32, Boolean)
- AppendAudioStream Method (Int32, Stream, Int32, Int32, Int32, Boolean)
- AppendAudioStream Method (Int32, String, Int32, Int32, Int32, Boolean)
- AppendAudioStream Method (Int32, AviAudioManager, Int32, Int32, Int32, Int32, Boolean)
- ExportAudioStream Method
- GetAudioDuration Method
- GetAverageBytesPerSecond Method
- GetBitsPerSample Method
- GetChannelCount Method
- GetDuration Method
- AviAudioManager Properties
- AviCompressor Class
- AviCustomTransition Class
- AviDrawTransitionEventArgs Class
- AviDrawTransitionEventHandler Delegate
- AviDrawWatermarkEventArgs Class
- AviDrawWatermarkEventHandler Delegate
- AviEncoderOptions Class
- AviFrame Class
- AviReader Class
- AviStripesTransition Class
- AviStripesTransitionMode Enumeration
- AviTimerStyle Enumeration
- AviTransition Class
- AviWatermark Class
- AviWriter Class
- BmpEncoderOptions Class
- BmpFrame Class
- BmpReader Class
- BmpWriter Class
- CompressionType Enumeration
- CustomEncoderOptions Class
- CustomFormatReader Class
- CustomFormatReader.LoadingMode Enumeration
- CustomFormatWriter Class
- CustomFrame Class
- DisposalMethod Enumeration
- DSEncoderOptions Class
- DSFrame Class
- DSPreLoadedFrame Class
- DSReader Class
- EncoderOptions Class
- ExifDictionary Class
- ExifItemInfo Structure
- FormatManager Class
- FormatReader Class
- FormatWriter Class
- Frame Class
- GifEncoderOptions Class
- GifFrame Class
- GifReader Class
- GifWriter Class
- ID3LyricsContentType Enumeration
- ID3LyricsTimestampFormat Enumeration
- ID3SynchronisedLyrics Class
- IEncoderOptions Interface
- IFormatInfo Interface
- IFormatReader Interface
- IFormatWriter Interface
- IFrame Interface
- IFrameEnumerator Interface
- IMediaProcessorMetadataReadSupport Interface
- IMetadataReadSupport Interface
- IMetadataWriteSupport Interface
- IptcDictionary Class
- ITimeReader Interface
- ITimeWriter Interface
- IXmpDictionary Interface
- Jpeg2kEncoderOptions Class
- Jpeg2kFrame Class
- Jpeg2kProgressionOrder Enumeration
- Jpeg2kReader Class
- Jpeg2kWriter Class
- JpegAlignToSampleSizeMode Enumeration
- JpegEncoderOptions Class
- JpegFrame Class
- JpegMarkerException Class
- JpegReader Class
- JpegWriter Class
- LosslessJpegTransform Class
- MediaCorruptedException Class
- MediaFormatManager Class
- MediaProcessorMetadataDictionary Class
- MediaProviderException Class
- MediaUnsupportedException Class
- MetadataDictionary Class
- MetadataEnumerator Class
- MultiFrameException Class
- PcxEncoderOptions Class
- PcxFrame Class
- PcxReader Class
- PdfEncoderOptions Class
- PdfFrame Class
- PdfWriter Class
- PngEncoderOptions Class
- PngFrame Class
- PngReader Class
- PngWriter Class
- PreLoadedFrame Class
- PsdEncoderOptions Class
- PsdFrame Class
- PsdFrameType Enumeration
- PsdReader Class
- PsdTextJustification Enumeration
- QTEncoderOptions Class
- QTFrame Class
- QTReader Class
- SwfEncoderOptions Class
- SwfFrame Class
- SwfWriter Class
- TiffChannelType Enumeration
- TiffEncoderOptions Class
- TiffExtraChannel Class
- TiffExtraChannelCollection Class
- TiffFrame Class
- TiffReader Class
- TiffWriter Class
- WbmpEncoderOptions Class
- WbmpFrame Class
- WbmpReader Class
- WbmpWriter Class
- WMEncoderOptions Class
- WMFrame Class
- WMPreLoadedFrame Class
- WMReader Class
- XmpArrayNode Class
- XmpData Class
- XmpDictionaryNode Class
- XmpLocalizedTextItemNode Class
- XmpLocalizedTextNode Class
- XmpNamespace Class
- XmpNode Class
- XmpNodeType Enumeration
- XmpStructNode Class
- XmpTagNames Class
- XmpValueNode Class
- Aurigma.GraphicsMill.Drawing Namespace
- Aurigma.GraphicsMill.Licensing Namespace
- Aurigma.GraphicsMill.Transforms Namespace
- Aurigma.GraphicsMill.WebControls Namespace
- Aurigma.GraphicsMill.WinControls Namespace
- GraphicsMill Namespace (Client Class Library)
- Aurigma.GraphicsMill.AjaxControls Namespace (Client Class Library)
- Aurigma.GraphicsMill.AjaxControls.VectorObjects Namespace (Client Class Library)
- Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math Namespace (Client Class Library)
- Aurigma.GraphicsMill.AjaxControls.VectorObjects.RedoUndo Namespace (Client Class Library)
- Samples
- Licensing
- Copyright Notices
AviAudioManager.AppendAudioStream Method (Int32, String, Int32, Int32, Boolean)
Appends audio data to existing audio stream.
Namespace:
Aurigma.GraphicsMill.Codecs
Assembly:
Aurigma.GraphicsMill.Codecs.AviProcessor (in Aurigma.GraphicsMill.Codecs.AviProcessor.dll)
Syntax
Public Sub AppendAudioStream ( _
streamIndex As Integer, _
fileName As String, _
sourceOffset As Integer, _
duration As Integer, _
cutToVideoDuration As Boolean _
)
public void AppendAudioStream(
int streamIndex,
string fileName,
int sourceOffset,
int duration,
bool cutToVideoDuration
)
Parameters
- streamIndex
-
Type: System.Int32
An index of the stream you want to append the audio data with.
NoteMake sure that the audio stream with such index exists in the AVI file you create.
- fileName
-
Type: System.String
A string which specifies the name of the WAV file you want to append to the audio stream.
- sourceOffset
-
Type: System.Int32
An offset of the source audio data (in 1/100 of seconds). In other words, how many data to skip from the source file.
- duration
-
Type: System.Int32
A length of the audio data (in 1/100 of seconds) to add.
- cutToVideoDuration
-
Type: System.Boolean
A Boolean value that specifies whether to truncate audio data to fit the duration of the video.
NoteKeep in mind that video duration is determined in the moment when you call this method. It means that if you:
- Add half of frames;
- Add audio stream with this argument = true;
- Add the rest frames;
only the first half of frames will be dubbed. The rest frames will be silent.
That is the reason why it is important to add audio data only when you add all video frames. You can use this fact to synchronize audio and video though.
Remarks
You can use this member only if you get this instance of the AviAudioManager from the writer object.