Hello,
This 4GB problem sounds like you're saving to a FAT32 format disk (which is standard in WIndows 98 and some others) - if you use a differently formatted drive then you should be able to store more than that (if not, there's a bug somewhere...)
----
If you're still able to access the 4GB file ok, you could try getting vlc to start creating another file when the 4GB file is full.
To do this, you can tell it to re-open the stream and start recording again in a new file, like this:
Some things to notice: use a colon ( : ) and not dashes ( -- ) before sout to limit the sout to one file only (not the whole playlist), and don't forget to change the name of the file (or you'll end up recording over the same file). There's 2 there, but you could keep going.
Please test this out before using it to record something you really want, as I can't test it from my computer (sorry: I would if I could). Also, you'll probably loose a second or two when switching between files.
----
One other thing, If you know how long you want to record, you could use
--stop-time=seconds to stop recording after a specified time. You can also use vlc:quit as a playlist item to get vlc to close, if this helps (ie something like this
Code: Select all
vlc http://127.0.0.1:31337 :sout={...} :stop-time=1800 vlc:quit
to get vlc to stop recording and close after 30 minutes.)
----
Finally, you might want to consider using piped output. This is quite a complex solution,
Code: Select all
vlc http://127.0.0.1:31337 --sout='#std{access=file,mux=ts,url=-}'
The dash as a filename makes it output to stdout. You can then pipe this output into another program (using the pipe character, | ) and that program can split and save the input. Linux can do this with the split program, like this
Code: Select all
vlc http://127.0.0.1:31337 --sout='#std{access=file,mux=ts,url=-}' | split --bytes=4000000 - output_file
----
I hope this is helpful,
h2g2bob