# audio problem of rtmp with h.264 and mp3

**URL:** <https://community.wowza.com/t/audio-problem-of-rtmp-with-h-264-and-mp3/38907>\
**Category:** Wowza Streaming Engine\
**Tags:** media-players-and-devices\
**Created:** [July 5, 2012, 1:17am UTC](https://community.wowza.com/t/audio-problem-of-rtmp-with-h-264-and-mp3/38907 "2012-07-05T01:17:12Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![yunfan\_lin](https://avatars.discourse-cdn.com/v4/letter/y/ce7236/32.png) [@yunfan\_lin](https://community.wowza.com/u/yunfan_lin)\
**Post date:** [July 5, 2012, 1:17am UTC](https://community.wowza.com/t/audio-problem-of-rtmp-with-h-264-and-mp3/38907/1 "2012-07-05T01:17:12Z")

</div>

I send a ts(h.264 and mp3) stream to wowza server then use live streaming to publish it.

I can use flash player to see the video,but there is no audio.i tried to use vlc to receive the rtsp stream from the same wowza server(i set the wowza server to provide rtsp and rtmp at the same time) and the audio is fine.Dose this mean that flash player doesn’t support mp3 as audio for rtmp?or i messed up some settings?

PS:I tried on both jwplayer and the demo player which is in wowza example/live folder

---

<div class="post-metadata">

**Author:** ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)\
**Post date:** [July 5, 2012, 10:37am UTC](https://community.wowza.com/t/audio-problem-of-rtmp-with-h-264-and-mp3/38907/2 "2012-07-05T10:37:07Z")

</div>

Hi

What does VLC say that the codec is for the stream?

You can get this by playing the stream then using “Tools \> Codec Information” in the top bar.

Jason

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [July 9, 2012, 12:53pm UTC](https://community.wowza.com/t/audio-problem-of-rtmp-with-h-264-and-mp3/38907/3 "2012-07-09T12:53:04Z")

</div>

Take a look at this VLC article and examples:

[https://www.wowza.com/docs/how-to-use-vlc-as-a-live-stream-encoder-with-wowza-media-server-mpeg-ts](https://www.wowza.com/docs/how-to-use-vlc-as-a-live-stream-encoder-with-wowza-media-server-mpeg-ts)

If you are transoding you might as well use AAC audio.

Richard

---

<div class="post-metadata">

**Author:** ![Randall\_Auriemma](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@Randall\_Auriemma](https://community.wowza.com/u/Randall_Auriemma)\
**Post date:** [July 5, 2012, 9:44am UTC](https://community.wowza.com/t/audio-problem-of-rtmp-with-h-264-and-mp3/38907/4 "2012-07-05T09:44:39Z")

</div>

Probably the file is not encoded as MPEG-1 layer 3 (MP3).

---

<div class="post-metadata">

**Author:** ![Randall\_Auriemma](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@Randall\_Auriemma](https://community.wowza.com/u/Randall_Auriemma)\
**Post date:** [July 8, 2012, 12:55pm UTC](https://community.wowza.com/t/audio-problem-of-rtmp-with-h-264-and-mp3/38907/5 "2012-07-08T12:55:29Z")

</div>

That’s correct.

---

<div class="post-metadata">

**Author:** ![yunfan\_lin](https://avatars.discourse-cdn.com/v4/letter/y/ce7236/32.png) [@yunfan\_lin](https://community.wowza.com/u/yunfan_lin)\
**Post date:** [July 5, 2012, 7:25am UTC](https://community.wowza.com/t/audio-problem-of-rtmp-with-h-264-and-mp3/38907/6 "2012-07-05T07:25:29Z")

</div>

This is the codec info from vlc

audio:

MPEG Audio layer 1/2/3(mpga)

video:

H264 - MPEG-4 AVC(part 10)(h264)

---

<div class="post-metadata">

**Author:** ![yunfan\_lin](https://avatars.discourse-cdn.com/v4/letter/y/ce7236/32.png) [@yunfan\_lin](https://community.wowza.com/u/yunfan_lin)\
**Post date:** [July 8, 2012, 8:11am UTC](https://community.wowza.com/t/audio-problem-of-rtmp-with-h-264-and-mp3/38907/7 "2012-07-08T08:11:06Z")

</div>

So h.264+mp3 should be no problem for flash player?

---

<div class="post-metadata">

**Author:** ![yunfan\_lin](https://avatars.discourse-cdn.com/v4/letter/y/ce7236/32.png) [@yunfan\_lin](https://community.wowza.com/u/yunfan_lin)\
**Post date:** [July 9, 2012, 1:04am UTC](https://community.wowza.com/t/audio-problem-of-rtmp-with-h-264-and-mp3/38907/8 "2012-07-09T01:04:55Z")

</div>

I am using vlc for transcode,so maybe it’s a problem with vlc audio encoder()?

---

<div class="post-metadata">

**Author:** ![yunfan\_lin](https://avatars.discourse-cdn.com/v4/letter/y/ce7236/32.png) [@yunfan\_lin](https://community.wowza.com/u/yunfan_lin)\
**Post date:** [July 9, 2012, 9:13am UTC](https://community.wowza.com/t/audio-problem-of-rtmp-with-h-264-and-mp3/38907/9 "2012-07-09T09:13:40Z")

</div>

I have problem with AAC encoder of vlc (version 2.0.2):\<

But I can use some earlier version,so I guess I’d better to use AAC audio.

Thanks for your reply
