[Libav-user] how to output an AVPacket via UDP??
markf78 at yahoo.com
Sun Aug 7 03:01:32 CEST 2011
I am trying to output an AVPacket via UDP to a remote computer.
I have code that can successfully write frames to a file but when i change this:
avio_open(&muxer->pb, "c:\\bat.ts", AVIO_FLAG_WRITE)
avio_open(&muxer->pb, "udp://127.0.0.1:1234", AVIO_FLAG_WRITE),
I expected a later call to av_write_frame() to now output udp packets with the muxed data. However, using wireshark (a network protocol analyzer) it is easy to see that no UDP packets are being sent on the wire. I am working with mingw-compiled DLLs in VisualStudio so I am unable to do much in the way of debugging. I am really stuck and would appreciate any help. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user