during streaming to multiple files
target files ( on disk ) differ in size very much
example:
file_x -> 1048K
file_y -> 0K
file_z -> 72K
and I observe huge memory consumption
~1MB/sec while streaming 24 files at once
CPU 20%
network 12%
it looks like a lot of buffering ( realloc ? )
for each vlc process
but after calling
1) VLC_Stop()
2) VLC_CleanUp()
3) VLC_Dertoy()
files are flushed to disk immediately
and have almost the same correct size
so my question is how to force instant flush to disk of those files
while they are streamed
something a'la received data -> flush it to disk
with no/minimal buffering
this is observed for mux=ogg/asf/avi/mp4
files are playable ( different play time )
for mux=raw
files are ( almost ) intstantly flushed, and have similiar size
however their content is invalid
any help, will be helpful
pamash