[Libav-user] Muxing MPEG-4 motion imagery into a MPEG-2 Transport Stream

Mark Fonnemann markf78 at yahoo.com
Fri Aug 5 22:06:04 CEST 2011


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:

AVFormatContext *muxer;

avio_open(&muxer->pb, "c:\\bat.ts", URL_WRONLY);


to this:

AVFormatContext *muxer;

avio_open(&muxer->pb, "udp://127.0.0.1:1234", URL_WRONLY);


would accomplish this but it does not. What am I doing wrong? Any help would be greatly appreciated. Thank you.

mark.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20110805/20c6ca2e/attachment.html>


More information about the Libav-user mailing list