![]() ![]() Optional get_src_stream_info ( i : int ) → torchaudio.io._stream_reader.StreamReaderSourceStream ¶ Number of output streams configured by client code. Number of streams found in the provided media source. Such as microphone, camera and screen, or a virtual device.ĭevice ASR with Emformer RNN-T property num_src_streams ¶ This allows to load media stream from hardware devices, This is useful when the input data do not contain a header. This argument serves two different usecases. Override the input format, or specify the source sound device.ĭefault: None (no override nor device input). Please refer to the following for the expected signature and behavior ![]() If file-like object, it must support read method with the signatureĪdditionally, if the file-like object has seek method, it uses ![]() The supported value depends on the FFmpeg found This includes a file path, URL, device identifier orįilter expression. If string-type, it must be a resource indicator that FFmpeg can StreamReader ( src : str, format : Optional = None, option : Optional ] = None, buffer_size : int = 4096 ) ¶įetch and decode audio/video streams chunk by chunk.įor the detailed usage of this class, please refer to the tutorial. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |