# Transcoding NellyMoser to AAC

**URL:** <https://community.wowza.com/t/transcoding-nellymoser-to-aac/42594>\
**Category:** Hire a Consultant\
**Created:** [January 27, 2015, 1:48pm UTC](https://community.wowza.com/t/transcoding-nellymoser-to-aac/42594 "2015-01-27T13:48:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonathan\_Daily](https://avatars.discourse-cdn.com/v4/letter/j/ecd19e/32.png) [@Jonathan\_Daily](https://community.wowza.com/u/Jonathan_Daily)\
**Post date:** [January 27, 2015, 1:48pm UTC](https://community.wowza.com/t/transcoding-nellymoser-to-aac/42594/1 "2015-01-27T13:48:00Z")

</div>

I am streaming live music performances from the web using Flash ActionScript to Wowza 4. Downstream, we are using both RTMP and HLS streams. Since we are streaming music we are using the NellyMoser codec because Speex does not provide us with the same audio quality. The HLS stream requires the audio to be encoded as AAC in order for it to work. Unfortunately NellyMoser cannot be transcoded to AAC using the Wowza Transcoder addon because NellyMoser is proprietary.

The requirements are:

- streaming from the web using flash

- audio and video available on all devices downstream

- high quality audio w/ minimal compression for live music

I have heard that FFMpeg may be able to do the job.

Is there anyone who can help me implement a solution for this?

Thank you!

---

<div class="post-metadata">

**Author:** ![Paul\_Shields](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/paul_shields/32/390_2.png) [@Paul\_Shields](https://community.wowza.com/u/Paul_Shields)\
**Post date:** [January 27, 2015, 8:52pm UTC](https://community.wowza.com/t/transcoding-nellymoser-to-aac/42594/2 "2015-01-27T20:52:16Z")

</div>

Hi,

If Speex is not acceptable to you then yes you could look at transcoding the audio from NellyMoser to AAC. A typical ffmpeg command to do that would be something like this:

```auto
ffmpeg -re -i http://[source-stream] -vcodec libx264 (or copy if h264) -acodec aac -ab 128000 -ar 48000 -ac 2 -strict -2 -f mpegts udp://[WOWZA-SERVER-IP]:10000

```

Or if processing static files for later re-streaming, it may be a somewhat simpler:

```auto
ffmpeg -i yourinput.flv -vn -acodec libfaac output.mp4

```

or more advanced, including pushing output to Wowza as an mpegts stream:

```auto
ffmpeg -re -i "%WMSAPP_HOME%/content/sample.mp4" -vcodec libx264 -vb 150000 -g 60 -vprofile baseline -level 2.1 -acodec aac -ab 64000 -ar 48000 -ac 2 -vbsf h264_mp4toannexb -strict experimental -f mpegts udp://127.0.0.1:10000?pkt_size=1316

```

These are untested examples, but it may give you some ideas to play with. Depends on the source really. Are you looking at transcoding the live stream or processing recordings after the event?

If streaming and transcoding in realtime then it would certainly be simpler to go with Speex audio and let the Wowza Transcoder do the work.

We have a couple of [VLC](https://www.wowza.com/docs/how-to-use-vlc-as-a-live-stream-encoder-with-wowza-media-server-mpeg-ts) and [ffmpeg](https://www.wowza.com/docs/how-to-use-ffmpeg-with-wowza-media-server-mpeg-ts%28MPEG-TS%29) example articles which may also help.

Paul

---

<div class="post-metadata">

**Author:** ![Roman\_Shmelev](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@Roman\_Shmelev](https://community.wowza.com/u/Roman_Shmelev)\
**Post date:** [January 28, 2015, 1:59pm UTC](https://community.wowza.com/t/transcoding-nellymoser-to-aac/42594/3 "2015-01-28T13:59:23Z")

</div>

Hi, I was previously transcoding nellymoser and can make wowza module for you or consult regarding any related questions, you can write me to roman@dynamicstreaming.net

---

<div class="post-metadata">

**Author:** ![Paul\_Shields](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/paul_shields/32/390_2.png) [@Paul\_Shields](https://community.wowza.com/u/Paul_Shields)\
**Post date:** [January 28, 2015, 11:29pm UTC](https://community.wowza.com/t/transcoding-nellymoser-to-aac/42594/4 "2015-01-28T23:29:15Z")

</div>

Hi,

You may also find [the following article](https://www.wowza.com/docs/how-to-convert-flash-player-11-output-from-h-264-speex-audio-to-h-264-aac-audio-using-wowza-transcoder) of interest. It explains how to set up a Flash application that can push H.264 and Speex audio into the Wowza Transcoder. This will generate a playable MP4 output with compatible video and audio. It does require the Transcoder AddOn, but removes any intermediate processing.

Paul
