On Mon, 9 Mar 2015, Andreas Cadhalpun wrote:
Hi Martin,
On 09.03.2015 22:08, Martin Storsjö wrote:
Thanks for the patch, and thanks for finding the issue.
You're quite correct that the error handling here is broken, but I'm not
able to reproduce it by trying to mux bmp into this muxer - that
actually succeeds.
I guess I'm using the wrong command then, because it doesn't work with any
codec:
avconv -i anything -f rtp_mpegts out
It always fails with:
"Max packet size 0 too low"
Ah, I see! Yes - your "out" needs to be an output that sets a max packet
size, such as rtp://<something> - it doesn't work with any output.
(RTP packetization in general is mostly about aggregating multiple small
packets into one larger RTP packet, or splitting large packets into
multiple RTP packets, all dependent on the max packet size of the network
connection, and different signaling around this to ease handling packet
loss in this connection. It does require having the packet boundaries, so
if you'd want to write such packets sequentially to a file, you'd need to
have the packet lengths signaled in some way separately.)
// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel