If you would have x11grab enabled, you could grab the screen:

ffmpeg -f x11grab -r 50 -s 928x704 -i :0.0 -pix_fmt yuv422p -vcodec huffyuv
capture.avi

Then you can zoom into the video.
Open with VLC, then "full screen".

Very interesting.


On Mon, Jun 22, 2009 at 6:45 PM, Nicolas Krieger <[email protected]> wrote:

> 2009/6/22 Igor Chernenko <[email protected]>
>
> > Hi Nicolas!
> >
> > Do your have things  this "-f x11grab" in your ffmpeg?
> >
> > Best,
> > Igor
> >
> >
> > >
> > > I realize that I didn't told you that I am not using latest version of
> > > ffmpeg and I have just seen that ALSA support has been added in version
> > > 0.5...
> > > I can't change the version of ffmpeg I am using. But I have already
> done
> > > some updates in my code for playing, and I don't think it will be
> > difficult
> > > to update for grabbing.
> > >
> > > Thanks
> > >
> > > Nicolas Krieger
> >
>
> I have not enabled this option when configuring ffmpeg.
>
> I have made a copy of the wanted files (alsa-audio-enc.c, alsa-audio-dec.c,
> alsa-audio-common, alsa-audio.h) in my version of ffmpeg in libavdevice. I
> have made some modification so as to compil.
>
> But I have forgotten to do something because, I can't find the format using
> guess_format("alsa", NULL, NULL).
> I have also made modifications in libavdevice/Makefile,
> libavdevice/alldevices.c and configure.
>
> Nicolas Krieger
> _______________________________________________
> libav-user mailing list
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/libav-user
>
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to