Here's what I've been trying to achieve:
I received and demuxed m2ts from a multicast source using libavformat.
After transcoding, I  muxed A/V streams into another TS stream and
sent it to another multicast address over udp. I used url_fopen with
an udp multicast address as "filename" parameter. After joining the
new multicast,  the video played back with mplayer. However there were
quite a few macro blocking and freezing problems. I used
av_interleaved_write_frame to write video frame and associated audio
frames out every 33 ms (as my fps is 30). I also saw some folks here
were discussing using low level I/O callbacks like in the
ByteIoContext to write my own I/O rountines. Can someone shed some
light on how exactly I should implement it with libavformat?

Thanks in advance.
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to