Buffering can be increased by specifying options in the play list. Although you can test various sizes in the plugin I find it easier and quicker in the VLC player. Just check "Show more options" in the OpenMedia dialog, and adjust the cache value UpDown control.
Private Sub LoadBufferedUrl()
Const TestUrl As String = "http://binder-science.wikispaces.com/file/view/The+Characteristics+of+Living+Things.flv"
Dim Options As String() = New String() {":network-caching=10000"}
AxVLCPlugin21.playlist.add(TestUrl, Nothing, Options)
End Sub
As before this has been converted from C# so I hope it's OK.
Other options can be specified, but I have not been able to find a list of which VLC player options are operational in the plugin. Many are not and these are the few I can vouch for:
:file-caching=2100 Approximate cache size in milliseconds (max 60,000)
:network-caching=3000 Approximate cache size in milliseconds (max 60,000)
:start-time=60.0 Start playing position (seconds).
This is inaccurate on some file types, e.g. mpeg2,
probably due to variable bit rate and lack of indexing.
:stop-time=120.0 Stop playing position (seconds). This is accurate
:input-repeat=N Repeat N times (play N+1 times)
:run-time=30.0 Play for a maximum of this duration (seconds)
Examples
Play first 10 seconds, 4 times
Dim Options As String() = New String() {":input-repeat=3", ":run-time=10.0"}
Play from 10 to 20 seconds
Dim Options As String() = New String() {":start-time=10.0", ":run-time=10.0" }
or this would do the same
Dim Options As String() = New String() {":start-time=10.0", ":stop-time=20.0" }
Alan.