# Extracting audio as a separate mp3 file from live stream

**URL:** <https://community.wowza.com/t/extracting-audio-as-a-separate-mp3-file-from-live-stream/38783>\
**Category:** Wowza Streaming Engine\
**Created:** [June 5, 2012, 7:50am UTC](https://community.wowza.com/t/extracting-audio-as-a-separate-mp3-file-from-live-stream/38783 "2012-06-05T07:50:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ovais\_Ashraf](https://avatars.discourse-cdn.com/v4/letter/o/0ea827/32.png) [@Ovais\_Ashraf](https://community.wowza.com/u/Ovais_Ashraf)\
**Post date:** [June 5, 2012, 7:50am UTC](https://community.wowza.com/t/extracting-audio-as-a-separate-mp3-file-from-live-stream/38783/1 "2012-06-05T07:50:00Z")

</div>

Hi,

I have a live stream coming from FMLE and wowza is capturing the stream in stream.flv file. Now i need to get the audio extracted in a separate file (other than stream.flv) so that i can process the audio to get the transcript of the audio.

I have googled this issue but haven’t succeeded to get it done. I have tried the solutions provided in this [post](http://community.wowza.com/t/-/38679) but as well as the [AudioRepeater](http://www.shamrock.org.uk/WowzaModules/AudioRepeater) but no success.

I am new to Wowza, Please provide guidance or instructions on how this resolve this.

Ovais Ashraf

---

<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:** [June 5, 2012, 2:32pm UTC](https://community.wowza.com/t/extracting-audio-as-a-separate-mp3-file-from-live-stream/38783/2 "2012-06-05T14:32:17Z")

</div>

Ovais,

You can use FFmpeg in post-process

```auto
ffmpeg -i your.flv -acodec libmp3lame -vn temp.mp3

```

Take a look at this article for links to FFmpeg builds

[https://www.wowza.com/docs/how-to-encode-video-on-demand-content](https://www.wowza.com/docs/how-to-encode-video-on-demand-content)

Richard

---

<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:** [June 6, 2012, 9:59am UTC](https://community.wowza.com/t/extracting-audio-as-a-separate-mp3-file-from-live-stream/38783/3 "2012-06-06T09:59:20Z")

</div>

Hi

Looking through the example Application.xml file in the PDF from [Audio Repeater](http://www.shamrock.org.uk/WowzaModules/AudioRepeater/)

You only need to add the following to your Application.xml file :

AudioRepeater

AudioRepeater

uk.org.shamrock.global.AudioRepeater

RemoteType

rtmp

RTMPStreamName

audiostream

This should strip and reuse the audio in this application.

Jason

---

<div class="post-metadata">

**Author:** ![Ovais\_Ashraf](https://avatars.discourse-cdn.com/v4/letter/o/0ea827/32.png) [@Ovais\_Ashraf](https://community.wowza.com/u/Ovais_Ashraf)\
**Post date:** [June 6, 2012, 1:04am UTC](https://community.wowza.com/t/extracting-audio-as-a-separate-mp3-file-from-live-stream/38783/4 "2012-06-06T01:04:22Z")

</div>

Thanks Richard for a quick reply.

Actually, we would be having HD videos of 1.5gb size approx, and FFMPEG would required some time to extract audio from it. I have tested FFMPEG with 1.4gb file, it has taken about 2 hrs to process. The time that FFMPEG would take would be an overhead for my app and it also depends on the machine (CPU, RAM) FFMPEG would used to process.

So, should i conclude that this cannot be done in Wowza ?

Thanks.

Ovais Ashraf

---

<div class="post-metadata">

**Author:** ![Ovais\_Ashraf](https://avatars.discourse-cdn.com/v4/letter/o/0ea827/32.png) [@Ovais\_Ashraf](https://community.wowza.com/u/Ovais_Ashraf)\
**Post date:** [June 7, 2012, 12:37am UTC](https://community.wowza.com/t/extracting-audio-as-a-separate-mp3-file-from-live-stream/38783/5 "2012-06-07T00:37:01Z")

</div>

Hi Jason,

Thanks for your reply. I have made all the necessary changes to my application.xml but its not working (as i have mentioned in my first post). Here is my application.xml

true

live-record

${com.wowza.wms.context.VHostConfigHome}/content

${com.wowza.wms.context.VHostConfigHome}/keys

mp4WriterRecordData

true

Boolean

mp4WriterRecordOnMetaData

false

Boolean

transcoder

transrate1.xml

${com.wowza.wms.context.VHostConfigHome}/transcoder/profiles

${com.wowza.wms.context.VHostConfigHome}/transcoder/templates

0

${com.wowza.wms.context.VHostConfigHome}/dvr

append

cupertinostreaming,smoothstreaming,sanjosestreaming

-1

\*

\*

\*

\*

digest

none

senderreport

12000

75

90000

0

0.0.0.0

127.0.0.1

\*

interleave

base

Base

com.wowza.wms.module.ModuleCore

properties

Properties

com.wowza.wms.module.ModuleProperties

logging

Client Logging

com.wowza.wms.module.ModuleClientLogging

flvplayback

FLVPlayback

com.wowza.wms.module.ModuleFLVPlayback

**AudioRepeater**

**AudioRepeater**

**uk.org.shamrock.global.AudioRepeater**

**debugEnabled**

**On**

**RemoteType**

**rtmp**

**RTMPStreamName**

**audiostream**
