Need to grab a video stream from web

Asked by Jeff Felberbaum on 2007-04-13

..in a hurry for research project. This stream will dissapear from the web soon--
they won't archive it. I need to do this immediately, no fuss...

I'm runny edgy.

Pls help!!

Thx

JF

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2007-04-13
Last reply:
2007-04-13
Carles Oriol (carlesoriol) said : #1

mencoder -ovc lavc -ffourcc DX50 -lavcopts vcodec=mpeg4:vbitrate=950:keyint=250:lumi_mask=0:dark_mask=0:vme=4:vfdct=0:idct=0 -oac mp3lame -lameopts vbr=3:br=64:q=0 http://yoursource -o filename.avi

Carles Oriol (carlesoriol) said : #2

can also check just wget it.

or

If it's static image based try:

#!/bin/bash

NUM=100

while [ $NUM -le 1000 ]; do
 wget http://123.123.123.123/Jpeg/CamImg.jpg
 mv CamImg.jpg cm$NUM.jpg

    let NUM=$NUM+1

 sleep 5
done
----------
and after:

mencoder -ovc lavc -mf fps=25:type=jpg 'mf://*.jpg' -o myvideo.avi

---------------

Alexander Jones (alex-weej) said : #3

VLC can capture video streams (including those using the MMS or RTSP protocols).

You need to give us more info about the stream you wish to capture.

Can you help with this problem?

Provide an answer of your own, or ask Jeff Felberbaum for more information if necessary.

To post a message you must log in.