• 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 Scott Demyon · Jan 28, 2009 at 12:39 PM ·

Streaming Mp4, 3gp and 3g2 via RTMP

Im new to Wowza and currently stream files via Darwin Streaming Server. I have Wowza installed, verified it running and accessable by connecting through my browser ( http://IPAddress:1935) and now would like to stream some video.

I created a folder "PhoneFling" in the applications directory. Its an empty folder. I then added a hinted H264 video into the content folder named Test1.mp4.

I then start quicktime viewer, > open from URL and type:

rtmp://[IPAddress]/PhoneFling/_definst_/mp4:test1.mp4

and get Error 2000: A necessary data reference could not be resolved (test1.mp4)

What am I doing wrong? Also, will I be able to stream H263 3gp and 3g2 files through Wowza?

Thanks!
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

8 Replies

· Add your reply
  • Sort: 
avatar image

Answer by Charlie Good · Jan 28, 2009 at 02:17 PM

Yes, that is correct.

Charlie
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
avatar image

Answer by Charlie Good · Jan 28, 2009 at 02:28 PM

The log file should say exactly what file path it is looking for. What player are you using. Some of them just don't deal with paths correctly at all.

Charlie
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 Scott Demyon · Jan 28, 2009 at 02:33 PM 0
Share
FLV PLayer 2.0...its works great if the video is directly inside the content folder via

rtmp://[IPAddress]/PhoneFling/_definst_/mp4:test1.mp4
avatar image Scott Demyon Scott Demyon · Jan 28, 2009 at 04:18 PM 0
Share
here is what is in the error log after I add the file to the test1 subdirectory:

ERROR server comment 2009-01-28 15:30:28 - - - - - 62.516 - - - - - - - onApplicationInstanceCreate: javax.management.MalformedObjectNameException: Invalid character ':' in value part of property

WARN server comment 2009-01-28 15:30:28 - - - - - 62.657 - - - - - - test1.mp4 open: java.io.FileNotFoundException: C:\Program Files (x86)\Wowza Media Systems\Wowza Media Server Pro 1.6.0\content\test1.mp4.flv (The system cannot find the file specified)
avatar image

Answer by Charlie Good · Jan 28, 2009 at 05:27 PM

The Application.xml file goes in the [install-dir]/conf/[application] folder.

Charlie
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 Scott Demyon · Jan 28, 2009 at 05:49 PM 0
Share
i tried that, created a PhoneFling folder inside the conf forlder as such:

InstallDir/Conf/PhoneFling/Application.xml (which has the FixStream module added)

and I still cant stream using

rtmp://66.152.165.83/PhoneShag/Test1/mp4:test1.mp4

it only works with

rtmp://66.152.165.83/PhoneFling/_definst_/mp4:Test1/test1.mp4

rtmp://66.152.165.83/PhoneFling/_definst_/Test1/mp4:test1.mp4

Do you think its just the player?
avatar image

Answer by Charlie Good · Jan 28, 2009 at 06:15 PM

Yes, it is the player.

Charlie
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 Scott Demyon · Jan 28, 2009 at 08:38 PM 0
Share
So, to be sure were able to hit the most client players out there, should we always add the _definst_ when we link to a video?
avatar image

Answer by Richard Lanham · Jan 28, 2009 at 08:46 PM

I don't think quicktime viewer is supported. Just Flash, so far.

Richard
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 Scott Demyon · Jan 28, 2009 at 01:55 PM 0
Share
I downloaded a flash player and was able to stream my MP4 files. I also need to stream H263 encoded 3gp and 3g2 files as well. From the documentation I see only H264 3GP & 3G2 files are supported by Wowza..Is this correct? I guess I can stream the MP4 through Wowza, and keep streaming my 3gp and 3g2 files through Darwin SS...
avatar image Scott Demyon Scott Demyon · Jan 28, 2009 at 02:23 PM 0
Share
Also, if I try to create subfolders in the Content folder, ie Test1 and Test2, then place the files test1.mp4 in Test1, and test2.mp4 in Test2 folder, I am unable to stream them.

[install Dir]/Content/Test1/test1.mp4

[install Dir]/Content/Test2/test2.mp4

i tried:

rtmp://[IPAddress]/PhoneFling/mp4:Test1/test1.mp4

and

rtmp://[IPAddress]/PhoneFling/_definst_/mp4:Test1/test1.mp4

and a few others. This is how the documentation says to do it, but all i get is "Failed to load test1.mp4"
avatar image

Answer by Charlie Good · Jan 28, 2009 at 04:44 PM

I remember this player being a problem. Try this package as well:

FixStreamPath.zip

Try all the different combinations with this moduled installed and not installed:

rtmp://[IPAddress]/PhoneFling/mp4:Test1/test1.mp4

rtmp://[IPAddress]/PhoneFling/Test1/mp4:test1.mp4

rtmp://[IPAddress]/PhoneFling/_definst_/mp4:Test1/test1.mp4

rtmp://[IPAddress]/PhoneFling/_definst_/Test1/mp4:test1.mp4

These players do not all handle this single urls properly. I think this player is especially bad at it.

Charlie
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 Scott Demyon · Jan 28, 2009 at 09:24 PM 0
Share
How would I change the content directory. Most of our vids are going to be on a direct attached storage RAID so I need to be able to keep my content dir somewhere else.
avatar image

Answer by Richard Lanham · Jan 29, 2009 at 12:28 AM

The link you show that works in FLV player is right, but those others have mp4 prefix in wrong place, and I think that is making both errors.

This looks right:

rtmp://[IPAddress]/PhoneFling/_definst_/mp4:test1.mp4

This is wrong:

rtmp://[IPAddress]/PhoneFling/mp4:Test1/test1.mp4

Wowza thinks this flv, puts flv extension, and also apparently doesn't like that colon in the prefix in the path.

Richard
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 Scott Demyon · Jan 28, 2009 at 04:56 PM 0
Share
the main thing i am trying to accomplish here is adding a subdirectory under the content folder. If I take a file named test1.mp4 and place it directly into the content folder, i can stream it using

rtmp://[ipadress]/phonefling/_definst_/mp4:test1.mp4

However...If I create a folder called test1 inside the content folder, then add my same file into the test1 folder, and try to stream it from the same FLV player using the url specified in the documentation

rtmp://[ipaddress]/phonefling/_definst_/mp4:test1/test1.mp4

I get "Loading......Stopping......Failed to load test1.mp4
avatar image Scott Demyon Scott Demyon · Jan 28, 2009 at 05:25 PM 0
Share
ok the FixStream module worked. It only works with the _definst_ in the URL. Does that just mean I need to copy the Application.xml file into my application folder?
avatar image

Answer by Richard Lanham · Jan 29, 2009 at 10:06 AM

You change content directory in the Application.xml /Streams/StorageDir.

So, to be sure were able to hit the most client players out there, should we always add the _definst_ when we link to a video?


You have to do it in each player you want to use.

Richard
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

1 Person is following this question.

avatar image

Related Questions

How can customize the access, error and stats logs to log in Apache access log format 2 Answers

Wowza stream as UDP 1 Answer

Help restreaming IP Camera to website 3 Answers

Jitter buffer and variable latency RTP source stream 3 Answers

Client side player detection 5 Answers

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