Wowza Community

Stream mp3 over http

Hi all,

I have a Wowza Streaming Engine version 4.1.0 installed, and I try to stream mp3 files on demand.

To do it, I put some mp3 and mp4 files together into content folder for an app called “epresidencial” and for some reason that I don’t know the mp4 works fine but the mp3 doesn’t.

Filename of video: EP0000146.mp4

Url: http://player.bn.cl/epresidencial/EP0000146 (works)

Filename of audio: EP0000145.mp3

Url: http://player.bn.cl/epresidencial/EP0000145 (error ID not found on server)

Can tell me what’s wrong and how to fix it?

Thanks in advance.

Hello there and welcome to the Wowza support forum.

What player are you testing this in, or what device?

For HLS (iOS) you will need to use this format:

http://player.bn.cl/epresidencial/mp3:EP0000145.mp3/playlist.m3u8

For HDS (Adobe HTTP) you will need this format:

http://player.bn.cl/epresidencial/mp3:EP0000145.mp3/manifest.f4m

I suggest you test this in one of the provided players that ship with Wowza. They can be found in the [install-dir]/examples folder

Regards,

Salvadore

Hello,

Just to make sure I understand the issue you are facing, you are using a PHP code that is rewriting the .mp3 extension to .mp4?

Can you just remove that part of your PHP code and have the playback URL without rewriting the .mp3 extension?

Zoran

Thanks for the welcome.

I try to work from a web browser for now. Later I check on mobile dispositives.

How it looks:

Video:

Audio:

Audio on Wowza test player (works!):

I tried the suggested urls from your answer, but still have the same error.

Any other suggest?

Regards,

Alexis

Checking the error log I found this:

WARN	server	comment	2015-10-28	14:53:37	-	-	-	-	-	19480.397	-	-	-	-	-	-	-	-	MediaReaderH264.open[epresidencial/_definst_]: Not found: /usr/local/WowzaStreamingEngine/content/bn/epresidencial/EP0000145.mp4.: java.io.FileNotFoundException: /usr/local/WowzaStreamingEngine/content/bn/epresidencial/[B][COLOR="#FF0000"]EP0000145.mp4[/COLOR][/B] (No such file or directory)|at java.io.RandomAccessFile.open(Native Method)|at java.io.RandomAccessFile.<init>(RandomAccessFile.java:241)|at com.wowza.io.WowzaRandomAccessFile.<init>(WowzaRandomAccessFile.java:12)|at com.wowza.io.DirectRandomAccessReader.open(DirectRandomAccessReader.java:222)|at com.wowza.wms.mediareader.h264.MediaReaderH264.open(MediaReaderH264.java:250)|
WARN	server	comment	2015-10-28	14:55:16	-	-	-	-	-	19580.313	-	-	-	-	-	-	-	-	MediaReaderH264.open[epresidencial/_definst_]: Not found: /usr/local/WowzaStreamingEngine/content/bn/epresidencial/EP0000145.mp3.mp4.: java.io.FileNotFoundException: /usr/local/WowzaStreamingEngine/content/bn/epresidencial/[B][COLOR="#FF0000"]EP0000145.mp3.mp4[/COLOR][/B] (No such file or directory)|at java.io.RandomAccessFile.open(Native Method)|at java.io.RandomAccessFile.<init>(RandomAccessFile.java:241)|at com.wowza.io.WowzaRandomAccessFile.<init>(WowzaRandomAccessFile.java:12)|at com.wowza.io.DirectRandomAccessReader.open(DirectRandomAccessReader.java:222)|at com.wowza.wms.mediareader.h264.MediaReaderH264.open(MediaReaderH264.java:250)|

The problem is in jwplayer and a rewrite rule. Then, how I have to call a audio file for not to be rewritten as mp4? This is the index.php file in case it is useful…

Regards,

Alexis