Recording - stop & memory management

This forum is about all development around libVLC.
kryptonite
Blank Cone
Blank Cone
Posts: 52
Joined: 22 May 2009 12:01

Recording - stop & memory management

Postby kryptonite » 07 Aug 2009 09:55

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!

kryptonite
Blank Cone
Blank Cone
Posts: 52
Joined: 22 May 2009 12:01

Re: Recording - stop & memory management

Postby kryptonite » 07 Aug 2009 12:27

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.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 56 guests