If you have a specific function for reading camera stream, you can define the
ByteIOContext and make libav to call your functions to obtain data.

Take a look at av_alloc_put_byte().
You have to manually allocate AVFormatContext, then define the data read
function and give its pointer to the av_alloc_put_byte()
Then use av_open_input_stream instead of av_open_input_file.
-- 
View this message in context: 
http://n4.nabble.com/H264-decoding-tp1468742p1469944.html
Sent from the libav-users mailing list archive at Nabble.com.
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to