“UbuntuHelp:CaptureRTSP”的版本间的差异
来自Ubuntu中文
小 (新页面: {{From|https://help.ubuntu.com/community/CaptureRTSP}} {{Languages|UbuntuHelp:CaptureRTSP}} This page is a default template for documentation on the wiki. To create a new guide on the wik...) |
小 |
||
(未显示同一用户的2个中间版本) | |||
第25行: | 第25行: | ||
The capture process will take as long as the actual video lasts. | The capture process will take as long as the actual video lasts. | ||
---- | ---- | ||
− | |||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2010年5月19日 (三) 21:49的最新版本
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
This page is a default template for documentation on the wiki. To create a new guide on the wiki, read the page WikiGuide.
Introduction
RTSP is a common RealPlayer format for audio and video streams. Neither RealPlayer or VLC (the other commonly used stream recorder) are capable of copying this format.
Install Required Software
Required software packages are:
mplayer, w32codecs, lame, sox, ffmpeg, libdvdcss2
Use the following command in a terminal:
sudo apt-get install mplayer w32codecs lame sox ffmpeg libdvdcss2
Capture Stream
Find the RTSP address you want to capture. Open a terminal and use the following command:
mplayer -dumpstream -dumpfile "<file name>.rm" "<RTSP address>"
Example:
mplayer -dumpstream -dumpfile "MyVideoFile.rm" "rtsp://a347.v78708.c7870.g.vr.akamaistream.net/ondemand/7/347/7870/v0001/mitstorage.download.akamai.com/7870/3/3.091/f04/video/ocw-3.091-lec03-220k.rm"
The capture process will take as long as the actual video lasts.