[Libav-user] how to output an AVPacket via UDP??

Mark Fonnemann markf78 at yahoo.com
Sun Aug 7 03:01:32 CEST 2011


Hello,

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)

to this:

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.

mark.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20110806/5478b718/attachment.html>


More information about the Libav-user mailing list