Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a video stream from a video4linux device

/dev/dsp/adapter0/dvr0

I want to programmatically dump this stream for a predefined amount of time.

I think to schedule the jobs I might use cron and update it each day?

Any advice on how to achieve this ?

share|improve this question

1 Answer 1

Use a cron job to fire a script that calls tcpdump with the command-line options that are relevant to you. The documentation for tcpdump should help you with the specifics.

share|improve this answer
    
What does this have to do with network traffic? –  Mark Wagner Apr 28 '11 at 19:26
    
If you're asking "what does tcpdump have to do with network traffic?", then I will also advise you to read the documentation as well. tcpdump is a network sniffer. –  mfinni Apr 28 '11 at 19:41
    
By "this" I mean the question. –  Mark Wagner Apr 28 '11 at 20:08
    
So, did you mean to attach your comment to the question instead of my answer? I see "dump" and "stream" and I assumed it was a question related to the network traffic that happened to be video. I might be off-base. Who knows - Fabrizio never came back to this site, it appears. –  mfinni Apr 28 '11 at 20:35

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.