On 10/12/11 2:37 PM, Martin Storsjö wrote:
On Wed, 12 Oct 2011, Luca Barbato wrote:

On 10/12/11 2:25 PM, Martin Storsjö wrote:
Actually, you should be able to do what you want to do in feng with the
public APIs already. What you want to do is RTP packetization and
perhaps also sending the data over UDP, right?

No =) I'd like to use the rtp packetizers but keep the network part on
my side.

Ok, well that should be exactly what the RTSP muxer does for TCP
interleaved sending - once you've got the packetized data, you can do
whatever you want with it :-)

I need to look over it again. Might be interesting adding a way to consume what the rtsp muxer produces so we could have avconv doing a good chunk of flux is doing now...

That's possible with the RTP muxer interface. The RTSP muxer does this
using only the public APIs - for sending data over UDP, it opens one RTP
muxer and one rtp:// AVIOContext for each stream, and just writes data
using that.
For sending data over TCP, it uses the RTP muxer in the same way, but
uses
avio_dyn_buf for getting a custom AVIOContext that you can extract the
data from later, and send it in any TCP socket.

That might work up to a point but there are some pitfalls =\
Hmm, I don't know of any such - it works well for the RTSP muxer at
least afaik.

I need to check how well it mixes.

lu
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to