On 02/14/2012 01:56 PM, Ronald S. Bultje wrote:
In the past, it was possible to use a url like:
"rstp://user:[email protected]/axis-media/media.amp?udp&buffer_size=1048576".
With latest trunk, it is possible to specify the transport through an option
dictionary ("rtsp_transport" -> "udp"), but I can't figure out how to pass
options like buffer_size, connect, fifo_size etc.
./avconv -rtsp_transport udp -i rtsp://...

-rtsp_transport goes before the -i. Also see ./avconv -h.

Ronald, thanks for the answer.

My question was, however, about parameters that get passed to the underlying network transport - e.g., for udp, you use to be able to specify the socket buffer size. My h264 IP camera produces I-frames that are ~220KB, and with the default 64K socket buffer size, they got corrupted. It ws possible, in the past, to pass a buffer argument (as in the example I gave above). How can you do that today, short of recompiling libav with a different #define RX_BUFFER_SIZE ?

Thanks in advance.
_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api

Reply via email to