Amitha Perera wrote:
> Vladimir Eremeev wrote:
>> It seems, libavformat cannot work with devices in windows in the same way as 
>> it 
>> does in Linux.
>>
>> Therefore I am unable to use libavformat to open a device in my application.

Yes you can. See libavdevice/vfwcap.c

> 
> If by "work with devices" you mean reading bytes from the device, it is 
> relatively easy to add support for a different device by creating a 
> URLProtcol.  grep the source code, and you will see a few 
> implementations of various protocols.  I'm sure you could treat your 
> access to your hardware as a new protocol.  Note that you don't even 
> need to add the protocol to the libavformat source; you can dynamically 
> register protocols.

Greetings,
-- 
Michel Bardiaux
http://www.mediaxim.com/
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to