On Wed, Sep 5, 2012 at 10:22 AM, 陈 钢 <[email protected]> wrote:
> I found this, > > int avio_open2(AVIOContext **s, const char *url, int flags,const > AVIOInterruptCB *int_cb, AVDictionary **options); > > how can i use a memory opinter instead of const char *url? > > look for FFmpeg protocols you can get content from any protocol FFmpeg has... or you can write one and register it with FFmpeg > > I want to do this because i am writing a nginx flv2ts module, it read flv > file from harddisk and output mpegts to HTTP client. And I don`t want to > leave a file on hard disk. > yes, the same thing: protocols.... they are located in libavformat > who can help? thanks > > _______________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user >
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
