PDA

View Full Version : Long startup delay viewing MKV -- not with MP4


dwallersv
5th May 2008, 03:17
This is weird, hopefully this clicks with someone.

I'm using MeGUI to encode to x264 and then mux to MKV. With the settings I'm using, about an hour of video is compressing to 450MB. No problem there.

When I try to play this back with VLC over my home wireless network on a client PC, there is an extremely long delay (minutes) while a ton of data runs across the network. Then it starts playing.

This doesn't happen if I use MP4 as the container, same encoding settings (h264 and AAC). In that case, after a few seconds, the material starts playing.

I've noticed that this doesn't happen with MKV files that others have produced and that I've downloaded (I'm not asking any advice on what to do with these files, just my own personal material -- DVDs that I own and have archived, so I hope this passes the TOU).

dwallersv
5th May 2008, 04:00
Never mind -- sort of. Figured out what's going on.

Unchecking "preload directory" in the VLC options for the Matroska Demuxer made it go away.

Now the question is, what do I do when muxing into the container to eliminate this long directory load? I'm pretty new to matroska, am not incuding any "directory" in my processing, but clearly something is being defaulted somewhere that requires a large scan of the file beforehand in order to completely pre-load this directory I'm not creating myself :-)