• SEARCH
  • DOWNLOADS
  • MY ACCOUNT
  • Buy (0)
  • CONTACT
  • Free Trial
Wowza Logo
  • PRODUCTS
  • DEVELOPER
  • SOLUTIONS
  • PRICING
  • RESOURCES
  • SUPPORT
  • My Account
  • Buy (0)
  • SEARCH
  • Ask a question
  • Forums
    • Wowza ClearCaster Pro
    • Wowza Streaming Engine
    • Wowza Streaming Cloud
    • Wowza Player
    • Wowza GoCoder SDK
    • Wowza Developer Dojo
    • Topics
    • Questions
    • Articles
    • Users
    • Badges
  • Sign in
  • Community Home /
  • Wowza Streaming Engine /
  • General Forum /
avatar image
Question by Anton Tremetzberger · Jul 27, 2015 at 08:26 AM ·

Need of prefix ":mp4"

Dear forum members,

in most of the tutorials for the Wowza Server it is recommended to use the prefix ":mp4" directly before the video file. E.g: rtmp://[wowza-server]:1935/vod/mp4:sample.mp4. In the test player of our installation (4.*) I leave out the prefix ":mp4" and the video will also be played.

Maybe it is important:

- I set the Default Stream Prefix in the Server Setup to "mp4"

- most of our video files are mp4 (h.264)

- we have a few m4v and mov-files

- we do not have flv-videos

- we also have a few audio files (only mp3)

- we do on-demand and live-streaming

My question is: Is there any (other) reason why I have to use the ":mp4"-prefix? E.g problems with some mobile devices, media player, etc.?

thank you & best regards,

Anton
Comment

People who like this

0 Show 0
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image

Answer by sal jefferson · Jul 27, 2015 at 07:25 AM

Starting with Wowza 4.0 the new default container is MP4, this used to be FLV, so to playback the streams you needed to specify the mp4 container. Also, prior to Wowza 4.0, you needed to use the mp4: prefix to record to mp4:

rtmp://[wowza-ip-address]:1935/live/mp4:myStream


One other usage is with sub-directories. If a file is in /content/subfolder you would need to use this URL:

rtmp://[wowza-ip-address]:1935/vod/_definst_/mp4:subfolder/sample.mp4


For some players (JWPlayer for example) to stream on demand files from a Wowza media server, you must specify the container format for the video asset. This is typically accomplished by adding a stream prefix to the VOD asset to create the stream name in playback URLs. The stream prefix specifies the container format for RTMP streaming. For example, in the following playback URL:

rtmp://[wowza-ip-address]:1935/vod/mp4:sample.mp4


The mp4: stream name prefix specifies that the QuickTime container format is used for the sample.mp4 video.

In Wowza Streaming Engine Manager, you can specify a default container format so that the corresponding stream prefix isn't required in playback URLs. The Streaming Engine has two settings:

* MP4

* FLV

I hope this helps.

Salvadore
Comment

People who like this

0 Show 2 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image sal jefferson · Jul 27, 2015 at 07:45 AM 0
Share
Additionally, in order to play an FLV in Wowza 4.x, you will nee to use the flv: prefix. Unless you set the default back to FLV:

rtmp://[wowza-ip-address]:1935/vod/flv:sample.flv


Regards,

Salvadore
avatar image Anton Tremetzberger sal jefferson · Jul 28, 2015 at 09:22 AM 0
Share
Dear Salvadore,

thank you for your prompt and detailed answer.

best regards, Anton
avatar image

Answer by Jason Hilton · Jul 28, 2015 at 08:29 AM

Hi,

I've made a correction to the post above, removing the second "mp4:" from the URL as that's not required.

Was:

rtmp://[wowza-ip-address]:1935/vod/_definst_/mp4:subfolder/mp4:sample.mp4


Should be:

rtmp://[wowza-ip-address]:1935/vod/_definst_/mp4:subfolder/sample.mp4


Regards,

Jason
Comment

People who like this

0 Show 1 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Anton Tremetzberger · Jul 28, 2015 at 12:57 PM 0
Share
Dear Jason,

thank you for this information. Just one question: if I have a subsubfolder, do I also need just one prefix ":mp4"? Eg:

rtmp://[wowza-ip-address]:1935/vod/_definst_/mp4:subfolder/subsubfolder/sample.mp4


thanks,

best regards, Anton
avatar image

Answer by sal jefferson · Jul 28, 2015 at 06:46 AM

Anton, you only need to use the prefix once in this case. Your example URL would be correct.

Regards,

Salvadore
Comment

People who like this

0 Show 0 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Related Questions

tbs card with mumudvb and the unicast 1 Answer

Flash rtmpe:// problems 3 Answers

RTMP Authentication- client support 4 Answers

why cpu goes 100% with 400 users? 3 Answers

Where is Wowza? 1 Answer

Hot Topics
  • Streaming Protocols
  • Wowza SDKs
  • AWS Hosting
  • Deployment Options
  • Load Balancing
  • Content Security
Product Sign-in
  • Wowza Streaming Cloud
  • Wowza Player
Under the Hood
  • Developer Tools
  • Wowza System Status
  • Test Players
  • Developer IDE
Partners
  • Partners Overview
  • Find a Reseller
  • Channel Partner Program
  • OEM Program
  • Wowza Reseller Portal
Company
  • About Us
  • Blog
  • News
  • Events
  • Careers
  • Customers
  • Contact Us
Stay Connected
Sign Up for Our Blog
Select a Language
  • English
    • English
    • Español
    • 日本語
    • 한국어
    • हिन्दी भाषा
    • 中文
    • русский язык

© 2005–2019 Wowza Media Systems, LLC. All rights reserved.   Terms | Privacy | Trademarks | Legal


Enterprise
Social Q&A

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Forums
  • Wowza ClearCaster Pro
  • Wowza Streaming Engine
  • Wowza Streaming Cloud
  • Wowza Player
  • Wowza GoCoder SDK
  • Wowza Developer Dojo
  • Explore
  • Topics
  • Questions
  • Articles
  • Users
  • Badges