[Libav-user] Opening an UDP stream for reading : usingavformat_open_input()?

Kalileo kalileo at universalx.net
Thu Apr 5 12:22:07 CEST 2012


On Apr 5, 2012, at 16:06 , Andrey Utkin wrote:

> 2012/4/5 huanggh0108 <huanggh0108 at sina.com>:
>> Of course.
>> 
>> If the parametric filename like "udp://?localport=7899", it will receive
>> data from port 7899.
> 
> Wrong. udp://127.0.0.1:7899 will do that. Maybe ip part can be
> eliminated, haven't try it.
> localport option is used on udp output, not input.

udp://@:7899 works too (on input).


More information about the Libav-user mailing list