Skipping some time when grabbing an IP stream

About encoding, codec settings, muxers and filter usage
Chano
New Cone
New Cone
Posts: 3
Joined: 27 Jan 2009 22:18

Skipping some time when grabbing an IP stream

Postby Chano » 24 Aug 2009 15:20

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.

Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 63 guests