Postby Scott JHU-ECE » 10 Dec 2005 21:32
I haven't noticed a difference from UDP to RTP, but I usually stick with RTP if only because the acronym makes it sound faster.
As for which values to which buffers, I don't think I could recite to you what all I set - I more or less went through the whole menu system, and turned everything down to '1'. This makes things go to heck in a handbasket, so I proceeded to turn up each buffer/cache option above 200ms, and checked again if it would take the file and stream it. Once you find the offending buffer/cache option (i.e. the one or two of them, that when turned all the way down, make it impossible for VLC to keep up with the content), you can whiddle it lower and lower till you start seeing frames jerk, and set it about 20ms above that. Note that to get it down throughout the system, you have to do the above for 1) Capturing from the device or getting from a file 2) For the streaming settings 3) and again on the receiving end. Also, don't forget about the time it takes to transcode and whatnot, if your application necessitates that.
-Scott