[FFmpeg-user] desktop streaming
nugroho
nugroho.redbuff at gmail.com
Thu Feb 20 03:31:27 CET 2014
thanks
On 02/19/2014 11:07 PM, YuGiOhJCJ Mailing-List wrote:
> On Wed, 19 Feb 2014 18:15:43 +0700
> nugroho <nugroho.redbuff at gmail.com> wrote:
>
>> Hi, I have ffmpeg installed in debian linux. I also have a flash
>> streaming server located at http://a.b.c.d/app/stream.
>> Now, I would like to stream my desktop include the sound to the
>> streaming server. So what kind of ffmpeg syntax should be? Is it like
>> this one bellow?
>>
>> _ffmpeg -video_size 1024x768 -framerate 25 -f x11grab -i :0.0+100,200 -f
>> flv rtmp://a.b.c.d/app/__stream_
>>
>> thanks for help!
> Hello,
>
> You have all the instructions you need here:
> https://trac.ffmpeg.org/wiki/StreamingGuide
>
> In order to stream, I use the following command:
> ffmpeg -y -f alsa -i default -f x11grab -r 10 -s 640x480 -async 1 -i :0.0 -strict -2 -c:a aac -c:v libx264 -pix_fmt yuv420p -preset ultrafast -s 640x480 -threads 0 -ar 44100 -b:a 64k -b:v 64k -bufsize 64k -f flv "rtmp://live-fra.twitch.tv/app/`cat ~/twitch.key`"
>
> The frame rate of the input is at 10 fps whereas the input and output resolution is at 640x480.
> It captures video and audio at the same time.
> I set the audio and video bitrate of the output to 64kbit/s because I have a slow bandwidth but you can increase it if you have a better one.
>
> Good luck.
> Best regards.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> .
>
--
More information about the ffmpeg-user
mailing list