DaemonForums  

Go Back   DaemonForums > Other Operating Systems > Other BSD and UNIX/UNIX-like

Other BSD and UNIX/UNIX-like Any other flavour of BSD or UNIX that does not have a section of its own.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 14th February 2009
jwhal jwhal is offline
Port Guard
 
Join Date: May 2008
Posts: 20
Default Recording video stream

Hi there. What's the easiest way to record a video stream using Linux? I've tried VLC 0.94 but it won't connect. The url for the stream is either http://216.185.67.126:82/ or mms://216.185.67.126:82/. What would be the best app and method for recording a few minutes of this stream (for a presentation).

Thanks,

Jon
Reply With Quote
  #2   (View Single Post)  
Old 14th February 2009
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 1,027
Default

While I've never tried that (not enough bandwidth), so I'm not 100% sure it would work, but the first thing I'd look at is MPlayer. Hope it works for you.
Reply With Quote
  #3   (View Single Post)  
Old 14th February 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

Another +1 for mplayer.

$ mplayer -dumpstream mms://216.185.67.126:82/

It'll save whatever it captures in a file called stream.dump.
Reply With Quote
  #4   (View Single Post)  
Old 14th February 2009
jwhal jwhal is offline
Port Guard
 
Join Date: May 2008
Posts: 20
Default

Thanks. I tried mplayer -dumpstream <url> but it returns stream not seekable. Is there any way to find out what .asf or .wmv or whatever file is actually being streamed?
Reply With Quote
  #5   (View Single Post)  
Old 14th February 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

I tested and confirmed that mplayer can and does record the stream, ignore the codec warnings and don't kill the process.. to verify, it's a stream of unspecified vehicle traffic.

Also; it appears to be WMV format.. an older version.
Reply With Quote
  #6   (View Single Post)  
Old 14th February 2009
jwhal jwhal is offline
Port Guard
 
Join Date: May 2008
Posts: 20
Default

Edit to remove garbo.

BSDfan666 - thanks. I didn't realise that I was being impatient. So is that in a raw file format? Must I convert that somehow once I have enough video?

Thanks,

Jon
Reply With Quote
  #7   (View Single Post)  
Old 14th February 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

No, as I said.. it's a WMV stream.. you can play the file afterwards, just ^C the process when you've recorded enough footage.
Reply With Quote
  #8   (View Single Post)  
Old 14th February 2009
jwhal jwhal is offline
Port Guard
 
Join Date: May 2008
Posts: 20
Default

Thanks, and sorry - I didn't even see your comment about wmv, my mistake.

Anyways, thanks a bunch!

Jon
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Recording sound with external sound card backrow OpenBSD General 5 21st August 2009 08:17 PM
Resample video graudeejs General software and network 1 3rd November 2008 10:40 PM
Video For BSD Fritz_Katz FreeBSD General 11 2nd October 2008 01:33 AM
video on FreeBSD? Damien787 FreeBSD General 11 22nd June 2008 01:06 PM
How to play an avi video? aleunix OpenBSD Packages and Ports 3 16th June 2008 06:25 AM


All times are GMT. The time now is 03:27 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick