AtiQah-FC / lavfilters

Automatically exported from code.google.com/p/lavfilters
GNU General Public License v2.0
0 stars 0 forks source link

Splitter Buffer Underruns with High-Bitrate M2TS Files over MoCA #235

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
LAV Splitter x86 version 0.50.5 used in conjunction with x86 MPC-HC version 
1.6.2.4360 and LAV Video and Audio 0.50.5.

Playback of some high bitrate (~38 Mbps stream) material (m2ts ripped directly 
from Blu-ray) will stutter due to buffer underruns according to buffer 
statistics in MPC-HC. Switching the splitter to MPC-HC native splitter 
alleviates the issue.

The source file is located on a network server. The playback PC is connected to 
the server via MoCA network. 

Network connection:

Playback PC <-> GigE switch <-> MoCA bridge (FastEthernet to Coax) <-coax-> 
MoCA Bridge <-> GigE switch <-> GigE switch <-> File Server

While MoCA network has plenty of bandwidth to sustain 90 Mbps+ file transfers 
it surely has some additional latency not present in an all Ethernet network. 
Ping times are 3-4 ms when idle. When playing the file back with MPC-HC as the 
splitter, ping times over about 1 minute were: min=2ms, max=15ms and avg. = 
6ms. 

The issue doesn't seem to repeat when playback PC is directly connected to same 
GigE switch as server.

Original issue reported on code.google.com by aaron.th...@gmail.com on 4 Jun 2012 at 5:03

GoogleCodeExporter commented 9 years ago
I don't have any environment to test this, but i do know that the mpeg-ts 
demuxer is not performing seeks or other latency intensive operations, so that 
a constant stream of data should be fine.

I created a build with increased read buffer sizes, maybe you can try it and 
see if it helps?
http://files.1f0.de/lavf/LAVFilters-0.50.5-23-iobuffers.zip

Original comment by h.lepp...@gmail.com on 12 Jun 2012 at 10:33

GoogleCodeExporter commented 9 years ago
This build does fix this issue. Buffers are no longer running out and video 
playback seems okay now with files that previously were causing issues.

Original comment by aaron.th...@gmail.com on 12 Jun 2012 at 1:37

GoogleCodeExporter commented 9 years ago
Great, i'll add it for the next version then.

Original comment by h.lepp...@gmail.com on 12 Jun 2012 at 1:38