Page 1 of 1

stream to file - file size only after stop on hd?!

Posted: 20 Nov 2008 16:11
by klsc
hello,

i would like to save an stream to hard disk. i used the following commandline:

Code: Select all

vlc rtsp://172.16.192.169/MPEG4 :nooverlay :rtsp-tcp :no-drop-late-frames :quiet-synchro :no-skip-frames :sout=#duplicate{dst=display,dst=std{access=file,mux=avi,dst='C:\temp\myrecord.avi'}} :ffmpeg-pp-q=1 :vout-filter=deinterlace :deinterlace-mode=blend
i must say, that i can see the stream without problems.
if i start, vlc creates a file whith 0 bytes length. after an hour, the file is always 0 bytes and the ram usage by vlc is over 300MB.
if i stop playing, the file have a korrekt file size and is playable. i have tested on vista and windows xp. on both systems the same problem.

a friend of me says, that on his pc the file size was continiously greater.

how can i set, that vlc saves to file continiously without this bad use ob system memory? i have not found any option to set the vlc in this mode.

i not want to transcode.



i hope to found help

thanks

ks

Re: stream to file - file size only after stop on hd?!

Posted: 20 Nov 2008 20:19
by Jean-Baptiste Kempf
Do not do that in AVI.

If you want to save the stream, just dump it.

Re: stream to file - file size only after stop on hd?!

Posted: 20 Nov 2008 23:21
by klsc
i have testet it to in mp4, same problem.

and if i open after ending the record the mp4, i have not the correct playing time. for example, if i record 80 seconds, after stop, the file was written, and if i open it, it shows 53 seconds. the same source stream in avi container shows the correct playing time.

but thats not my problem. what can i do that vlc write the stream on windows systems directly to the harddisk (and playing it o the same time)?

if i select save raw input, i cannot watch it at the same time.
or what do you mean?

Re: stream to file - file size only after stop on hd?!

Posted: 21 Nov 2008 20:07
by VLC_help
Does it matter if you change the location where you save the file?

Re: stream to file - file size only after stop on hd?!

Posted: 21 Nov 2008 21:09
by klsc
no.

i have tested on vista to save file to c:\temp and tod:\ or d:\test
and on xp save to c:\records.

all the same problem

Re: stream to file - file size only after stop on hd?!

Posted: 22 Nov 2008 20:05
by VLC_help
You use VLC 0.9.6 and your friend also uses same version?

Re: stream to file - file size only after stop on hd?!

Posted: 22 Nov 2008 20:30
by klsc
sorry, we use the last 8.6 version.

we must use the activex component and in the 9.x version it has to many bugs with playlist, and other things.

i hope you can help nevertheless

Re: stream to file - file size only after stop on hd?!

Posted: 23 Nov 2008 19:33
by VLC_help
If there are issues in 0.8.6, official devs aren't going to fix those.

Re: stream to file - file size only after stop on hd?!

Posted: 23 Nov 2008 20:05
by klsc
i know that, i can not be the only one that have this problems.

and if anyone would embed the vlc activex, the acual version 9.6 are to buggy to use. so that many developers forced to use the old one.

thanks for your attemp