> One way is to implement your own URLProtocol with your own read function to 
> support streaming.  If you want to support seeking, you'll need to also 
> implement your own seek function and "trick" the library into thinking you 
> are using a file based approach.  Instead of av_open_input_file, try using 
> av_open_input_stream...

I suggest that you make proprietary network video streaming by simply
sending the video content frame by frame as UDP payload, i.e.
transmitting the data buffer of AVFrames in a straightforward manner.
While this approach forces you to handle things like merging packets,
etc, it gives you full control of the network implementation.

Ola

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to