个人工具

“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...)
 
第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:CategoryDocumentation]]
 
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2009年5月12日 (二) 16:09的版本

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.