Difference between revisions of "RTMP"

From VideoLAN Wiki
Jump to navigation Jump to search
(This protocol is handled by the avio module)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{protocol|id=rtmp|altid=rtmps}}
+
{{protocol|RTMP|mod=avio}}
 
{{wikipedia|Real Time Messaging Protocol}}
 
{{wikipedia|Real Time Messaging Protocol}}
'''Real Time Messaging Protocol''' ('''RTMP''') is a [[protocol]] used by [[Macromedia Flash]].  
+
'''Real Time Messaging Protocol''' ('''RTMP''') is a [[protocol]] used by [[wikipedia:Macromedia Flash|Macromedia Flash]].  
  
 
{{clear}}
 
{{clear}}
 
==Compatibility==
 
==Compatibility==
 
VLC supports RTMP and rtmp:// URLs as of version 1.1, through the [[Documentation:Modules/avio|avio]] module via the libavformat library. In past versions, use of rtmpdump was required in conjunction with VLC, but that is no longer needed after VLC 1.1.x.
 
VLC supports RTMP and rtmp:// URLs as of version 1.1, through the [[Documentation:Modules/avio|avio]] module via the libavformat library. In past versions, use of rtmpdump was required in conjunction with VLC, but that is no longer needed after VLC 1.1.x.
 +
 +
==URL format==
 +
The basic URL format is:
 +
rtmp://tcurl/app/playpath
 +
 +
==Options==
 +
Some options can be used in command line :
 +
 +
{| class="wikitable"
 +
! Option !! Description
 +
|-
 +
| rtmp_pageurl || 
 +
|-
 +
| rtmp_swfurl || 
 +
|-
 +
| rtmp_swfvfy || 
 +
|-
 +
| rtmp_live || 
 +
|-
 +
| rtmp_playpath || Playpath
 +
|-
 +
| rtmp_app  || Application
 +
|-
 +
| rtmp_tcurl || ip[:port]
 +
|-
 +
|}
  
 
==Example==
 
==Example==

Latest revision as of 05:03, 18 May 2019

RTMP
VLC uses this protocol (or access module) to read data from a device or network.
This protocol is handled by the avio module.

Real Time Messaging Protocol (RTMP) is a protocol used by Macromedia Flash.

Compatibility

VLC supports RTMP and rtmp:// URLs as of version 1.1, through the avio module via the libavformat library. In past versions, use of rtmpdump was required in conjunction with VLC, but that is no longer needed after VLC 1.1.x.

URL format

The basic URL format is: rtmp://tcurl/app/playpath

Options

Some options can be used in command line :

Option Description
rtmp_pageurl
rtmp_swfurl
rtmp_swfvfy
rtmp_live
rtmp_playpath Playpath
rtmp_app Application
rtmp_tcurl ip[:port]

Example

Find the swfurl of the RTMP stream (if required), and place it in the appropriate location below:

vlc rtmp://10.12.34.56/ --avio-options "{rtmp_swfurl=http://path/to/the.swf}"

See also