Streaming of AAC through ffmpeg

*nix specific usage questions
kiran
Blank Cone
Blank Cone
Posts: 12
Joined: 24 Jan 2007 11:24
Location: INDIA

Streaming of AAC through ffmpeg

Postby kiran » 14 Dec 2007 10:08

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?

kotao_78
Blank Cone
Blank Cone
Posts: 86
Joined: 29 Jul 2006 09:46
Location: Zhuhai,China

Re: Streaming of AAC through ffmpeg

Postby kotao_78 » 15 Dec 2007 06:51

As I knew , mpeg4audio.c is the packtizer of AAC.
If you want to stream AAC via ffmpgg , you should look into ffmpeg.

kiran
Blank Cone
Blank Cone
Posts: 12
Joined: 24 Jan 2007 11:24
Location: INDIA

Re: Streaming of AAC through ffmpeg

Postby kiran » 15 Dec 2007 11:01

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...

kotao_78
Blank Cone
Blank Cone
Posts: 86
Joined: 29 Jul 2006 09:46
Location: Zhuhai,China

Re: Streaming of AAC through ffmpeg

Postby kotao_78 » 19 Dec 2007 07:40

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 .


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 10 guests