[FFmpeg-user] Recording logitech ultra vison,
Lou
lou at lrcd.com
Tue Jun 7 19:35:26 CEST 2011
On Tue, 07 Jun 2011 18:18:50 +0100
Sw at g <sweetthdevil at gmail.com> wrote:
> Right,
>
> so I have compile the latest git to try resolving the issue and now
> nothing work, for example the command I was using to record my
> desktop return the following errors:
>
> [sweetth at myhost test]$ ffmpeg -s 2720x1024 -r 25 -f x11grab -i :0.0
> -acodec libmp3lame -ab 128k -vcodec mpeg4 -sameq -y -t 60
> /media/z/.cam/screen/screen_`date +%F_%T`.avi
> ffmpeg version git-N-30610-g1929807, Copyright (c) 2000-2011 the
> FFmpeg developers
> built on Jun 7 2011 18:01:52 with gcc 4.6.0 20110513 (prerelease)
> configuration:
> libavutil 51. 6. 1 / 51. 6. 1
> libavcodec 53. 6. 1 / 53. 6. 1
> libavformat 53. 2. 0 / 53. 2. 0
> libavdevice 53. 1. 1 / 53. 1. 1
> libavfilter 2. 14. 0 / 2. 14. 0
> libswscale 0. 14. 1 / 0. 14. 1
> Unknown input format: 'x11grab'
Your ./configure is blank. You need --enable-x11grab. I think you
mentioned you were using Arch Linux. FFmpeg from the repository is kept
fairly up to date, and has --enable-x11grab, but if you need a newer
version or want to customize it then see ffmpeg-git in AUR.
> and while trying to capture the webcam using the mpeg4 codec or the
> libx264 then the terminal just hang:
>
> [sweetth at myhost test]$ ffmpeg -f video4linux2 -i /dev/video0 -b 64m
> -crf 22 -s 640x480 -vcodec mpeg4 -t 20 cam_`date +%F_%T`.mp4
> ffmpeg version git-N-30610-g1929807, Copyright (c) 2000-2011 the
> FFmpeg developers
> built on Jun 7 2011 18:01:52 with gcc 4.6.0 20110513 (prerelease)
> configuration:
> libavutil 51. 6. 1 / 51. 6. 1
> libavcodec 53. 6. 1 / 53. 6. 1
> libavformat 53. 2. 0 / 53. 2. 0
> libavdevice 53. 1. 1 / 53. 1. 1
> libavfilter 2. 14. 0 / 2. 14. 0
> libswscale 0. 14. 1 / 0. 14. 1
> [video4linux2 @ 0xa75c360] The driver changed the time per frame from
> 1228/32 to 1/5
>
> [sweetth at myhost test]$ ffmpeg -f video4linux2 -i /dev/video0 -pix_fmt
> yuv420p -s 800x600 -vcodec libx264 --preset medium -crf 18 -r 15 -t
> 20 cam_`date +%F_%T`.mp4
> ffmpeg version git-N-30610-g1929807, Copyright (c) 2000-2011 the
> FFmpeg developers
> built on Jun 7 2011 18:01:52 with gcc 4.6.0 20110513 (prerelease)
> configuration:
Once again, your configure is blank. Usage of libx264 requires
--enable-gpl and --enable-libx264. Also, it's -preset, not --preset.
> libavutil 51. 6. 1 / 51. 6. 1
> libavcodec 53. 6. 1 / 53. 6. 1
> libavformat 53. 2. 0 / 53. 2. 0
> libavdevice 53. 1. 1 / 53. 1. 1
> libavfilter 2. 14. 0 / 2. 14. 0
> libswscale 0. 14. 1 / 0. 14. 1
> [video4linux2 @ 0x9287360] The driver changed the time per frame from
> 1228/32 to 1/5
>
>
> Any help would be appreciated,
>
>
>
> On 06/07/2011 04:52 PM, Paul Gardiner wrote:
> > On 07/06/2011 16:35, Sw at g wrote:
> >> Hi again,
> >>
> >> Well with " " or ` ` it doesn't work "Unrecognized option 'preset
> >> medium'" only the -vpre works.
> >
> > -vpre is a completely different thing. You definitely need -preset.
> > If that's not accepted, then it has to be that you have a version of
> > ffmpeg that is too old.
> >
> > -vpre is just a way to provoke long lists of ffmpeg paramaters
> > stored in a preset file. It is -preset that communicates to
> > libx264. There's never been a time when -vpre did what -preset does
> > now, so it will not help to try using it.
> >
> > P.
More information about the ffmpeg-user
mailing list