[FFmpeg-user] shell script for ffmpeg

motty cruz motty.cruz at gmail.com
Fri Feb 15 19:13:45 CET 2013


Thank you very much! script below worked fine.

Thanks

On Fri, Feb 15, 2013 at 8:41 AM, Liam Condron-Farnos
<23liam at googlemail.com>wrote:

> > ffmpeg -f x11grab -r 25 -q:v 0 out.mpg
>
> This is not a working command-line, see here:
>
>
> https://ffmpeg.org/trac/ffmpeg/wiki/How%20to%20grab%20the%20desktop%20%28screen%29%20with%20FFmpeg
>
> > I was hoping some one will have a script to start that command without
> > using the command line.
> >
> > Thanks,
>
> A script along the lines of
>
>     #!/bin/bash
>     ffmpeg -f x11grab -r 25 -i :0.0 -q:v 0 out.mpg
>     exit 0
>
> will start the ffmpeg command. Just save the script, mark it as
> executable (chmod u+x filename - or you can use whatever GUI way your
> desktop environment supports) and you should be able to click on the
> script to. Stopping ffmpeg without the command-line is another issue,
> of course :v
>
> You could probably do something with kill or killall in a separate
> script to end the ffmpeg instance.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list