• moto's avatar
    Add StreamWriter (#2628) · 72404de9
    moto authored
    Summary:
    This commit adds FFmpeg-based encoder StreamWriter class.
    StreamWriter is pretty much the opposite of StreamReader class, and
    it supports;
    
    * Encoding audio / still image / video
    * Exporting to local file / streaming protocol / devices etc...
    * File-like object support (in later commit)
    * HW video encoding (in later commit)
    
    See also: https://fburl.com/gslide/z85kn5a9 (Meta internal)
    
    Pull Request resolved: https://github.com/pytorch/audio/pull/2628
    
    Reviewed By: nateanl
    
    Differential Revision: D38816650
    
    Pulled By: mthrok
    
    fbshipit-source-id: a9343b0d55755e186971dc96fb86eb52daa003c8
    72404de9
io.rst 646 Bytes