rtmp URL inside mp3: and mp4: What does that mean?

Source: Internet
Author: User

RTMP Request General format is rtmp://domain name/app/file such as Rtmp://fantefei.blog.51cto.com/fantefei/3.mp4 so it can play, but rtmp:// Fantefei.blog.51cto.com/fantefei/mp4:v/abc/3.mp4 or RTMP://FANTEFEI.BLOG.51CTO.COM/FANTEFEI/MP4:/V/ABC/3. What format is MP4?

In general, rtmp resources are placed in the root directory specified by the app, if the resources in the root directory is not required to add MP4:, of course, but also can play, but if your resources in the root directory of the multilevel directory, such as in the root directory of the v/abc/below a MP4, you do not add MP4: If there is a problem with VLC playback, Adobe does not play, that MP4: What is it?

Asked the experts, said the multi-level directory of rtmp playback, some players do not support, not add MP4 URL, because rtmp to send two requests to the server, a single-level directory, once is Rtmp://fantefei.blog.51cto.com/fantefei this app, The second send 3.mp4 this request, this thing rtmp basic request way, if multilevel directory, that result imagined, he does not know from there is a second send request, so need MP4: Identity, this is equivalent to a delimiter, specified MP4: The first is sent, followed by the second send

Baidu a bit of other articles written

-------------------------------------------------------------------------------------------

The default video is placed in the "FMS installation folder/applications/vod/media The first of the following, about the FLV video playback

For example, the path of a.flv is "FMS installation folder/applications/vod/media/a.flv, then our access address should be: rtmp://localhost/vod/a, note, the following. flv should not

If we classify the video and save it in a different folder, such as the FMS installation folder/applications/vod/media/flv/a.flv, this kind of FLV access with the level two directory is different from other, the access address should be: rtmp:/ /localhost/vod/flv/a

The second is that F4V and MP4 are the same two ways to access

such as folders in the FMS installation folder/APPLICATIONS/VOD/MEDIA/B.F4V or FMS installation folder/applications/vod/media/c.mp4

The corresponding access should be: RTMP://LOCALHOST/VOD/MP4:B.F4V or Rtmp://localhost/vod/mp4:c.mp4

It is important to note that if it is placed in a level two directory such as the FMS installation folder/applications/vod/media/f4v/b.f4v or the FMS installation folder/applications/vod/media/mp4/c.mp4

Then the access address is different from the FLV, should be rtmp://localhost/vod/mp4:f4v/b.f4v or rtmp://localhost/vod/mp4:mp4/c.mp4

MP4: The next is the level two directory more level of the directory and so on, if the file is placed in the FMS installation folder/applications/vod/media/f4v/20120719/b.f4v, then the corresponding path should be: rtmp://localhost/vod/ mp4:f4v/20120719/b.f4v


One thing to emphasize here is that the RTMP://LOCALHOST/VOD/MP4:F4V/B.F4V stream address, such as the level two directory, should be Rtmp://localhost/vod, and the instance address should be mp4:f4v/b.f4v

This article is from "Linux open Source-Continuous summary ..." Blog, be sure to keep this source http://fantefei.blog.51cto.com/2229719/1575112

rtmp URL inside mp3: and mp4: What does that mean?

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.