Page 1 of 1

Recording - stop & memory management

Posted: 07 Aug 2009 09:55
by kryptonite
In my app, I START record/save of a live stream using: ":sout=#duplicate{dst=display,dst=std{access=file,mux=ps,dst=d:\\CWrecTest.avi}}"
I have 2 questions:
1. What is a good way to STOP recording? From what I see, I need to stop the above stream and then replay the stream with original options
Is that the only way, or is there some API call I can use?
2. Also, does VLC handle disk space or do I have to fix my code to check for available space, etc.?

Thanks!

Re: Recording - stop & memory management

Posted: 07 Aug 2009 12:27
by kryptonite
Uh! Doesn't seem like VLC does any memory space checks.
Tested with a pen drive, it just continues saving till the disk gets full and then silently stops when there's no more space to write.
If I try saving to an already full disk, it creates a zero-size file but doesn't actually write to it and doesn't inform the user either.