<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Am 7.8.2011 03:01, schrieb Mark Fonnemann:
<blockquote
cite="mid:1312678892.48192.YahooMailNeo@web160316.mail.bf1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:times
new roman, new york, times, serif;font-size:12pt">
<div><span><br>
</span></div>
Hello,<br>
<br>
I am trying to output an AVPacket via UDP to a remote computer.
<br>
<br>
I have code that can successfully write frames to a file but
when i change this: <br>
<br>
avio_open(&muxer->pb, "c:\\bat.ts", AVIO_FLAG_WRITE)<br>
<br>
to this:<br>
<br>
avio_open(&muxer->pb, "udp://127.0.0.1:1234",
AVIO_FLAG_WRITE),<br>
<br>
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.<br>
<br>
mark.<br>
<div style="font-family: times new roman, new york, times,
serif; font-size: 12pt;"><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Libav-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a>
<a class="moz-txt-link-freetext" href="http://ffmpeg.org/mailman/listinfo/libav-user">http://ffmpeg.org/mailman/listinfo/libav-user</a>
</pre>
</blockquote>
<br>
Did you test this also bei a Videoplayer like VLC or ffplay? What OS
do you use, because on Windows wireshark are not able (or not out of
the box) to capture packets on the loopback address (127.0.01). The
function call is right, but I'm not sure if avio_open is part of the
API.<br>
<br>
Steffen<br>
<br>
<br>
<br>
</body>
</html>