Re: [Libav-user] libavformat/protocol_list.c ?

2017-11-01 Thread Mahboud Zabetian
be much appreciated. On Wed, Nov 1, 2017 at 1:46 AM Hendrik Leppkes <h.lepp...@gmail.com> wrote: > On Wed, Nov 1, 2017 at 9:33 AM, Mahboud Zabetian <mzabet...@tunein.com> > wrote: > > Ah, thank you. I was hoping this would show me how I could register my > own > &

Re: [Libav-user] libavformat/protocol_list.c ?

2017-11-01 Thread Mahboud Zabetian
the correct way is to do a avio_alloc_context, but that doesn't take all the function pointers I need to pass in such as open and close. Any thoughts? Thanks! mahboud On Tue, Oct 31, 2017 at 5:33 PM Carl Eugen Hoyos <ceffm...@gmail.com> wrote: > 2017-11-01 1:21 GMT+01:00 Mahboud Zabetia

[Libav-user] libavformat/protocol_list.c ?

2017-10-31 Thread Mahboud Zabetian
Hi. Can someone tell me how the file libavformat/protocol_list.c is created? I assume it is made on the fly. thank you! On Wed, Oct 4, 2017 at 1:29 PM Mahboud Zabetian <mzabet...@tunein.com> wrote: > To create a custom AVIOContext, I looked at: > > AVIOContext *avi

Re: [Libav-user] What to replace ffurl_register_protocol with?

2017-10-04 Thread Mahboud Zabetian
; cache1_protocol.url_write = cache1_write; cache1_protocol.url_seek = cache1_seek; cache1_protocol.url_close = cache1_close; ffurl_register_protocol(_protocol); Thanks! On Tue, Oct 3, 2017 at 7:16 PM Mahboud Zabetian <mzabet...@tunein.com> wrote: > Thank you both! > On Tue, Oct 3, 2017 at 3:55 PM Hen

Re: [Libav-user] What to replace ffurl_register_protocol with?

2017-10-03 Thread Mahboud Zabetian
Thank you both! On Tue, Oct 3, 2017 at 3:55 PM Hendrik Leppkes <h.lepp...@gmail.com> wrote: > On Tue, Oct 3, 2017 at 10:39 PM, Mahboud Zabetian <mzabet...@tunein.com> > wrote: > > Hi. I have old code that calls ffurl_register_protocol(), and linked > with > > FF

[Libav-user] What to replace ffurl_register_protocol with?

2017-10-03 Thread Mahboud Zabetian
Hi. I have old code that calls ffurl_register_protocol(), and linked with FFMPEG 3.0.2. I'm upgrading to FFMPEG 3.3. It looks like ffurl_register_protocol()n has been deprecated, although there is not a whole lot of mention of what replaced it. Google finds only few mentions, such as this one