<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">I am now able to write MPEG-4 encoded view to an MPEG-2 TS file. I would like to be able to output via UDP. I thought that changing this line:</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div>AVFormatContext *muxer;<br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">avio_open(&muxer->pb, "c:\\bat.ts", URL_WRONLY);<br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">to this:</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;
 "><br></div><div>AVFormatContext *muxer;<br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">avio_open(&muxer->pb, "udp://127.0.0.1:1234", URL_WRONLY);<br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">would accomplish this but it does not. What am I doing wrong? Any help would be greatly appreciated. Thank you.</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">mark.</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div></div></body></html>