[FFmpeg-user] ffmpeg: STREAMING LIVE AUDIO OVER INTERNET AS .MP3 USING MIC...CAN THIS BE TWEAKED?

maujhsn 103730258b at gmail.com
Wed Jun 27 20:05:57 CEST 2012


Roger please be more specific:


ffmpeg -f oss -i ~/desktop musicfile.mp3 -acodec libmp3lame -ab 128k -ac 2
-ar 44100 -re -f rtp rtp://234.5.5.5:1234

This did not work!



fmpeg -f oss -i /dev/dsp -acodec libmp3lame -ab 128k -ac 2 -ar 44100 -re
-f rtp rtp://234.5.5.5:1234

On Tue, Jun 26, 2012 at 9:20 AM, Roger Pack <rogerdpack2 at gmail.com> wrote:

> > ffmpeg -f oss -i /dev/dsp -acodec libmp3lame -ab 128k -ac 2 -ar 44100 -re
> > -f rtp rtp://234.5.5.5:1234
> >
> > These two commands appear to work well..My question to you is this: Can
> the
> > command be modified to steam an audio file from my hard drive instead of
> > from the mic input?
>
>
> Yes, instead of
> -f oss -i /dev/dsp -acodec
> it would be like
> -i /path/to/filename.mp3
>
> and you may want to use the "-re" option as well [1].
> -roger-
> [1] http://ffmpeg.org/ffmpeg.html
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list