But safari couldn’t play the sample.mp4 video even on Mac or iPhone.
I thought the sample.mp4 ins’t in right video codec H.264 and audio codec AAC or mp3. So I have used the Flash Media Live Encoder to push a steam
on my server and record it as mp4 format.
In the Flash Encoder I chose stream’s format:H.264 and audio:mp3 (Wowza requires it to encode to mp4), then stream to server. Everything worked fine, the stream recorded as stream1.mp4, I can use QuickTime to view it. But again couldn’t play it on Safari of iPhone.
I have also reviewed the error log but no error recorded.
For this problem I have found a trick on this post
by creating HTML page with video tag and I were able to view the video with Safari. But this is not what I want!
How can I configure Wowza server for iOS&MAC user can watch the video directly with their browser or apps?
My colleagues have developed an application on iOS that allows user to push live stream, and watch videos recorded. But when they use this app to watch
the sample.mp4 video on my Wowza server, the app couldn’t play the video and returned error:
Chunk with zero-length
And on the server I saw this in the error log:
WARN server comment 2013-07-16 12:03:15 - - - - - 150.463 - - - - - - - - MediaReaderFLV.open: Metadata appears to be bad: sample.mp4
WARN server comment 2013-07-16 12:03:59 - - - - - 195.049 - - - - - - - sample open: java.io.FileNotFoundException: /usr/local/WowzaMediaServer/content/sample.flv (No such file or directory)
Why “sample.flv”? when the app required sample.mp4?
And the app we use on Iphone has been tested successfully with flash media server,red5 and other demo server on Internet.It uses RTMP protocol for both pushing stream and getting stream from server
So I don’t know why it couldn’t work with Wowza.
It kept warning :
MediaReaderFLV.open: Metadata appears to be bad: sample.mp4
sample open: java.io.FileNotFoundException: /usr/local/WowzaMediaServer/content/sample.flv (No such file or directory)
Can somebody help me with that warning? Do I have to configure anything on when streaming from wowza to iOS device?
I have send an email with subject “Cannot play sample.mp4 on Safari” same as the tittle of this thread and included zip of conf and logs directories to support@wowza.com.