Hi, I'm grabbing an ASF stream that cames from a Linksys WVC54C camera.
That camera is pointing to a door and, when a door switch is activated I'm grabbing a 30sec video of the people coming in and out.
I achieve this with this command:
vlc http://xxx:xxx@192.168.1.247/img/video.asf --sout=#duplicate{dst=std{access=file,mux=asf,url='/var/www/filename'}} --intf=dummy
I also want to get an jpeg or png frame of about 10 sec after I've started recording (the time needed for the door to open) so I can get a picture of who is coming in and send it via email and here I have the problem.
It could be done with --start-time 10 --end-time 11, but the problem is taht the timing in the ASF video does not start in 0 (I guess it starts when the camera boots) so if I use --start-time 10 I get nothing, because probably the stream encoded time goes by 300.
Does any body know how to sove this (maybe by use frame skip or something)
Thx in advance
Chano.