Using VLC 1.0.5 Goldeneye on Win7 and XP
I got some ip security camera running an http stream, what I want to do is to save the stream to a mp4(h264) file on my HDD and also display it.
I can already display the stream:
Code: Select all
vlc -vvv "http://192.168.1.101/videostream.cgi?user=admin&pwd=password&rate=3"
Code: Select all
vlc -vvv "http://192.168.1.101/videostream.cgi?user=admin&pwd=password&rate=3" --sout=#transcode{vcodec=h264,acodec=mpga,vb=512,ab=0}:standard{acc
ess=file,mux=mp4,dst="G:\test.mp4"}
Code: Select all
vlc -vvv "http://192.168.1.101/videostream.cgi?user=admin&pwd=password&rate=3" --sout=#duplicate{dst=display,dst=transcode{vcodec=h264,acodec=mpga,vb=512,ab=0}:standard{access=files,mux=mp4,dst=="G:\test.mp4"}}
Ps: It'd also be useful to be able to transcode only one hour of the stream (so no user intervention to stop it) and add data/time OSD.
Also I'm not a native english speaker, so sorry for the errors I might have left in the post, I tried not to do too much though.
Thank you very much in advance!
FamilyGuy
[EDIT]
Figured a workaround out, using VLC 1.1.2 Luggage:
Code: Select all
vlc -vvv "http://192.168.1.101/videostream.cgi?user=admin&pwd=password" --sout=#transcode{vcodec=h264,vb=512}:duplicate{dst=display,dst=standard{access=file,mux=mp4,dst="G:\test.mp4"}} --no-audio