Tutorial details | |
---|---|
Difficulty | Easy (rss) |
Root privileges | No |
Requirements | vlc or mencoder |
Time | N/A |
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
🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.
🐧 3 comments so far... add one ↓
🐧 3 comments so far... add one ↓
Category | List of Unix and Linux commands |
---|---|
File Management | cat |
Firewall | Alpine Awall • CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu 18.04 • Ubuntu 20.04 |
Network Utilities | dig • host • ip • nmap |
OpenVPN | CentOS 7 • CentOS 8 • Debian 10 • Debian 8/9 • Ubuntu 18.04 • Ubuntu 20.04 |
Package Manager | apk • apt |
Processes Management | bg • chroot • cron • disown • fg • jobs • killall • kill • pidof • pstree • pwdx • time |
Searching | grep • whereis • which |
User Information | groups • id • lastcomm • last • lid/libuser-lid • logname • members • users • whoami • who • w |
WireGuard VPN | Alpine • CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04 |
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.
how can i save my recordings from crush linux system ?