[FFmpeg-devel] av_read_frame() question about blocking

2018-04-24 Thread Philip Prindeville
Hi. I was reading the documentation and it wasn’t clear what happens in the following case. I’ve set up a network connection, and data is being delivered asynchronously to a buffer (a sort of elastic FIFO). I’ve set up avio_alloc_context() to read from that FIFO. I’ve done an

[FFmpeg-devel] Asynchronously delivering data to FFmpeg, and extending the API to do this...

2018-03-19 Thread Philip Prindeville
Hi all, I’m looking at the API and trying to figure out how to adapt it to our use, but without much luck. If I get this working, I’ll try to upstream the enhancement in case it’s generically useful. The problem in a nutshell is we’re using libevent2 and everything is event-driven, including

[FFmpeg-devel] Event-driven I/O

2018-03-18 Thread Philip Prindeville
Hi, I’m looking at struct AVIOContext and avio_alloc_context(), and wondering if there’s an alternate mode of I/O where reading a stream (for instance) is event-driven by data arriving on a network socket. This is in a trivial sequential case with no seeking or pausing. I’m using libevent2

Re: [FFmpeg-devel] Adding a new output device

2018-02-28 Thread Philip Prindeville
> On Feb 28, 2018, at 4:12 PM, Nicolas George <geo...@nsup.org> wrote: > > Philip Prindeville (2018-02-28): >> I’m working on network test and measurement and I’ve been tasked to >> write a test suite for streaming video performance. >> >> This will ru

[FFmpeg-devel] Adding a new output device

2018-02-28 Thread Philip Prindeville
Hi, I’m working on network test and measurement and I’ve been tasked to write a test suite for streaming video performance. This will run inside headless embedded devices (i.e. routers, probes, etc) so has no hardware to render to. It’s the streaming itself and the end-to-end network