Page 1 of 1

Streaming of AAC through ffmpeg

Posted: 14 Dec 2007 10:08
by kiran
Hello forum,

I want to know whether we can stream AAC file through ffmpeg.?
When i looked into the code i found that there is mo2,mp3 audio streaming support...i.e rtp packetisation of these codecs were present...
As AAC is mp4 file format so can we stream it through ffmpeg....? If so how we have to configure it?

Re: Streaming of AAC through ffmpeg

Posted: 15 Dec 2007 06:51
by kotao_78
As I knew , mpeg4audio.c is the packtizer of AAC.
If you want to stream AAC via ffmpgg , you should look into ffmpeg.

Re: Streaming of AAC through ffmpeg

Posted: 15 Dec 2007 11:01
by kiran
yes i have looked into the code and found that there is packetisation for mp2,mp3 audio format...so first i want to check for these format...
From the ffserver documentation i enabled ffserver by giving : ./ffserver -f ffserver.conf &

I created a ffserver.conf file with following options in it:
Port 8090
BindAddress 10.110.3.4
MaxClients 1000
MaxBandwidth 1000
CustomLog ffserver.log
<Stream test.mp3>
Feed feed1.ffm
Format mp2
AudioCodec mp2
AudioBitRate 32000
AudioChannels 1
AudioSampleRate 32000
NoVideo
</Stream>

then started ffmpeg ./ffmpeg http://localhost:8090/feed1.ffm .But i dont know what exactly is feed1.ffm.






So please tell me how to stream a test.mp3 file from ffserver...

Re: Streaming of AAC through ffmpeg

Posted: 19 Dec 2007 07:40
by kotao_78
I don't know how to stream a mp3 file via ffmpeg , but i used to stream a avi file via VLC , it worked fine.

If you want to stream a mp3 via ffmpeg you may need check ffmpeg document .