| Tutorial details | |
|---|---|
| Difficulty | Easy (rss) |
| Root privileges | No |
| Requirements | vlc or mencoder |
| Estimated completion time | N/A |
Linux and Unix comes with various commands and apps that can be used to capture Microsoft Media Server (MMS) network streaming. MMS can be transported via UDP or TCP. The MMS default port is UDP/TCP 1755.
You can use mencoder command as follows to caputre mms stream:
mencoder mms://ip-address/foo.wmv -ovc copy -oac copy -o foo.avi mencoder mms://1.2.3.4/bar.wmv -ovc copy -oac copy -o bar.avi
Once done use mplayer command to play foo.avi:
$ mplayer foo.avi
VLC user can use the following command line option:
$ cvlc -vvv mms://1.2.3.4/foo/bar --sout file/avi:output.avi
$ vlc mms://1.2.3.4/foo/bar --sout=file/ps:output.mpg
Featured Articles:
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop




![Linux: Convert .AVI File To Apple iPod / iPhone MP4 [M4V] Format](http://s0.cyberciti.org/images/rp/1/19.jpg)







{ 2 comments… read them below or add one }
I’ve used mplayer in a similar way with the “dumpstream” option: this is to record a MP3 stream:
mplayer -dumpstream -dumpfile .mp3 -cache 65536
Also, while this is going on, I found you can use VLC to play back the file as it’s being created – and thus listen to it almost live, just a few seconds behind. VLC recognises that the file is getting bigger and adjusts the playback accordingly.
Sometimes I noticed that instead of mms://ip you should use mmsh://ip and works well.