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

Andrey Utkin andrey.krieger.utkin at gmail.com
Thu Apr 5 11:06:28 CEST 2012


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.

-- 
Andrey Utkin


More information about the Libav-user mailing list