LAV Splitter is used to fetch network data in some media players (e.g. MPC-HC). The LAV buffer (aka packets queue) is not measured in data volume, but rather in packets (or frames, not sure here). Anyway, since the network throughput is limited by data volume, the number of packets in queue is multiplied by factor variable, which is bigger the higher quality video you are playing. This provides variable length buffer, however you can't really control the size and if you got slow WiFi you might have experienced choppy playback.
The following guide changes the way LAV buffer works by eliminating packet limits and putting the infamous "Maximum Queue Memory" settings in charge (you might have tried to increase this settings from default 256 MB to no avail as many have before you).
###32-bit instructions
- Open the
mpc-hc/LAVFilters/LAVSplitter.ax
file in HEX editor of your choice. - Find and replace the unique
69 C5 5E 01 00 00
byte sequence with69 C5 FF FF 00 00
. - Open LAV Splitter settings and set the "Maximum Queue Memory" to 256 MB if you have changed it. This is big enough and higher values may introduce instability.
We are changing the m_dwQueueHigh = MAX_PACKETS_IN_QUEUE * factor;
1 line where #define MAX_PACKETS_IN_QUEUE 350
2 to m_dwQueueHigh = 65535 * factor;
.
It's now 69 C0 5E 01 00 00, isn't it?