|
|
On Dec 4, 2007 2:56 PM, Chris Lasher < [hidden email]> wrote:
> I'm getting really lousy framerates for my screen capture using
> x11grab in conjunction with capture from /dev/dsp.
>
> chris@feathers:~/downloads/ffmpeg$ ffmpeg -f x11grab -s svga -i :0.0
> -f oss -i /dev/dsp -qscale 2 -vcodec mpeg4 -ab 32000 -ar 22050
> /tmp/out.mp4
> FFmpeg version SVN-r11163, Copyright (c) 2000-2007 Fabrice Bellard, et al.
> configuration: --enable-gpl --enable-x11grab --enable-pp
> --enable-pthreads --enable-libfaac --enable-libfaad --enable-liba52
> --enable-libx264 --enable-libdc1394 --enable-libgsm
> --enable-libmp3lame --enable-libxvid --enable-libtheora
> --enable-libvorbis
> libavutil version: 49.5.0
> libavcodec version: 51.48.0
> libavformat version: 52.1.0
> built on Dec 4 2007 14:34:36, gcc: 4.1.3 20070929 (prerelease)
> (Ubuntu 4.1.2-16ubuntu2)
> [x11grab @ 0x8425814]device: :0.0 -> display: :0.0 x: 0 y: 0 width:
> 800 height: 600
> [x11grab @ 0x8425814]shared memory extension found
> Input #0, x11grab, from ':0.0':
> Duration: N/A, start: 1196798006.303876, bitrate: 384000 kb/s
> Stream #0.0: Video: rawvideo, rgb32, 800x600 [PAR 0:1 DAR 0:1],
> 384000 kb/s, 25.00 tb(r)
> Input #1, oss, from '/dev/dsp':
> Duration: N/A, start: 1196798006.325148, bitrate: N/A
> Stream #1.0: Audio: pcm_s16le, 44100 Hz, mono, 705 kb/s
> File '/tmp/out.mp4' already exists. Overwrite ? [y/N] y
> Output #0, mp4, to '/tmp/out.mp4':
> Stream #0.0: Video: mpeg4, yuv420p, 800x600 [PAR 0:1 DAR 0:1],
> q=2-31, 200 kb/s, 25.00 tb(c)
> Stream #0.1: Audio: libfaac, 22050 Hz, mono, 32 kb/s
> Stream mapping:
> Stream #0.0 -> #0.0
> Stream #1.0 -> #0.1
> Press [q] to stop encoding
> frame= 276 fps= 29 q=2.0 Lsize= 5283kB time=8.7 bitrate=4983.9kbits/s
> video:417kB audio:34kB global headers:0kB muxing overhead 1072.708355%
>
> Compare this to without capturing from /dev/dsp:
> chris@feathers:~/downloads/ffmpeg$ ffmpeg -f x11grab -s svga -i :0.0
> -qscale 2 -vcodec mpeg4 /tmp/out.mp4
> FFmpeg version SVN-r11163, Copyright (c) 2000-2007 Fabrice Bellard, et al.
> configuration: --enable-gpl --enable-x11grab --enable-pp
> --enable-pthreads --enable-libfaac --enable-libfaad --enable-liba52
> --enable-libx264 --enable-libdc1394 --enable-libgsm
> --enable-libmp3lame --enable-libxvid --enable-libtheora
> --enable-libvorbis
> libavutil version: 49.5.0
> libavcodec version: 51.48.0
> libavformat version: 52.1.0
> built on Dec 4 2007 14:34:36, gcc: 4.1.3 20070929 (prerelease)
> (Ubuntu 4.1.2-16ubuntu2)
> [x11grab @ 0x8425814]device: :0.0 -> display: :0.0 x: 0 y: 0 width:
> 800 height: 600
> [x11grab @ 0x8425814]shared memory extension found
> Input #0, x11grab, from ':0.0':
> Duration: N/A, start: 1196797081.323056, bitrate: 384000 kb/s
> Stream #0.0: Video: rawvideo, rgb32, 800x600 [PAR 0:1 DAR 0:1],
> 384000 kb/s, 25.00 tb(r)
> File '/tmp/out.mp4' already exists. Overwrite ? [y/N] y
> Output #0, mp4, to '/tmp/out.mp4':
> Stream #0.0: Video: mpeg4, yuv420p, 800x600 [PAR 0:1 DAR 0:1],
> q=2-31, 200 kb/s, 25.00 tb(c)
> Stream mapping:
> Stream #0.0 -> #0.0
> Press [q] to stop encoding
> frame= 370 fps= 32 q=2.0 Lsize= 20575kB time=14.8 bitrate=11388.6kbits/s
> video:18733kB audio:0kB global headers:0kB muxing overhead 9.830883%
>
> I notice a huge difference in the muxing overhead, which has probably
> caused this choppiness. How can I reduce the muxing overhead to a sane
> level?
>
> Thanks in advance,
> Chris
>
I haven't had a reply to this for over a month. Can anyone at least
confirm that they do or do not have the same issue for their platform?
I would love to hear from those who have a similar configuration. My
platform is Ubuntu Linux 7.10 i386, running on a Pentium
Core Duo 1.83 GHz notebook PC with 2GB RAM.
To this day I still have this issue:
chris@feathers:~$ ffmpeg -f x11grab -s 100x100 -r 25 -i :0.0
/tmp/out.mpgFFmpeg version SVN-r11557, Copyright (c) 2000-2008 Fabrice
Bellard, et al.
configuration: --enable-gpl --enable-x11grab --enable-pp
--enable-pthreads --enable-libfaac --enable-libfaad --enable-liba52
--enable-libx264 --enable-libdc1394 --enable-libgsm
--enable-libmp3lame --enable-libxvid --enable-libtheora
--enable-libvorbis
libavutil version: 49.6.0
libavcodec version: 51.49.0
libavformat version: 52.4.0
libavdevice version: 52.0.0
built on Jan 18 2008 21:24:55, gcc: 4.1.3 20070929 (prerelease)
(Ubuntu 4.1.2-16ubuntu2)
[x11grab @ 0x8428ed4]device: :0.0 -> display: :0.0 x: 0 y: 0 width:
100 height: 100
[x11grab @ 0x8428ed4]shared memory extension found
Input #0, x11grab, from ':0.0':
Duration: N/A, start: 1200777404.313500, bitrate: 8000 kb/s
Stream #0.0: Video: rawvideo, rgb32, 100x100 [PAR 0:1 DAR 0:1],
8000 kb/s, 25.00 tb(r)
File '/tmp/out.mpg' already exists. Overwrite ? [y/N] y
Output #0, mpeg, to '/tmp/out.mpg':
Stream #0.0: Video: mpeg1video, yuv420p, 100x100 [PAR 0:1 DAR
0:1], q=2-31, 200 kb/s, 25.00 tb(c)
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
frame= 116 fps= 33 q=2.0 Lsize= 162kB time=4.6 bitrate= 288.5kbits/s
video:136kB audio:0kB global headers:0kB muxing overhead 18.944266%
chris@feathers:~$ ffmpeg -f x11grab -s 100x100 -r 25 -i :0.0 -f oss -i
/dev/dsp /tmp/out.mpg
FFmpeg version SVN-r11557, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-x11grab --enable-pp
--enable-pthreads --enable-libfaac --enable-libfaad --enable-liba52
--enable-libx264 --enable-libdc1394 --enable-libgsm
--enable-libmp3lame --enable-libxvid --enable-libtheora
--enable-libvorbis
libavutil version: 49.6.0
libavcodec version: 51.49.0
libavformat version: 52.4.0
libavdevice version: 52.0.0
built on Jan 18 2008 21:24:55, gcc: 4.1.3 20070929 (prerelease)
(Ubuntu 4.1.2-16ubuntu2)
[x11grab @ 0x8428ed4]device: :0.0 -> display: :0.0 x: 0 y: 0 width:
100 height: 100
[x11grab @ 0x8428ed4]shared memory extension found
Input #0, x11grab, from ':0.0':
Duration: N/A, start: 1200777436.046285, bitrate: 8000 kb/s
Stream #0.0: Video: rawvideo, rgb32, 100x100 [PAR 0:1 DAR 0:1],
8000 kb/s, 25.00 tb(r)
Input #1, oss, from '/dev/dsp':
Duration: N/A, start: 1200777436.056171, bitrate: N/A
Stream #1.0: Audio: pcm_s16le, 44100 Hz, mono, 705 kb/s
File '/tmp/out.mpg' already exists. Overwrite ? [y/N] y
Output #0, mpeg, to '/tmp/out.mpg':
Stream #0.0: Video: mpeg1video, yuv420p, 100x100 [PAR 0:1 DAR
0:1], q=2-31, 200 kb/s, 25.00 tb(c)
Stream #0.1: Audio: mp2, 44100 Hz, mono, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #1.0 -> #0.1
Press [q] to stop encoding
frame= 184 fps= 31 q=4.1 Lsize= 318kB time=6.2 bitrate= 419.0kbits/s
video:7kB audio:49kB global headers:0kB muxing overhead 476.656218%
Thanks,
Chris
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
|
|
On date Saturday 2008-01-19 16:20:04 -0500, Chris Lasher encoded:
> On Dec 4, 2007 2:56 PM, Chris Lasher < [hidden email]> wrote:
> > I'm getting really lousy framerates for my screen capture using
> > x11grab in conjunction with capture from /dev/dsp.
> >
> > chris@feathers:~/downloads/ffmpeg$ ffmpeg -f x11grab -s svga -i :0.0
> > -f oss -i /dev/dsp -qscale 2 -vcodec mpeg4 -ab 32000 -ar 22050
> > /tmp/out.mp4
> > FFmpeg version SVN-r11163, Copyright (c) 2000-2007 Fabrice Bellard, et al.
> > configuration: --enable-gpl --enable-x11grab --enable-pp
> > --enable-pthreads --enable-libfaac --enable-libfaad --enable-liba52
> > --enable-libx264 --enable-libdc1394 --enable-libgsm
> > --enable-libmp3lame --enable-libxvid --enable-libtheora
> > --enable-libvorbis
> > libavutil version: 49.5.0
> > libavcodec version: 51.48.0
> > libavformat version: 52.1.0
> > built on Dec 4 2007 14:34:36, gcc: 4.1.3 20070929 (prerelease)
> > (Ubuntu 4.1.2-16ubuntu2)
> > [x11grab @ 0x8425814]device: :0.0 -> display: :0.0 x: 0 y: 0 width:
> > 800 height: 600
> > [x11grab @ 0x8425814]shared memory extension found
> > Input #0, x11grab, from ':0.0':
> > Duration: N/A, start: 1196798006.303876, bitrate: 384000 kb/s
> > Stream #0.0: Video: rawvideo, rgb32, 800x600 [PAR 0:1 DAR 0:1],
> > 384000 kb/s, 25.00 tb(r)
> > Input #1, oss, from '/dev/dsp':
> > Duration: N/A, start: 1196798006.325148, bitrate: N/A
> > Stream #1.0: Audio: pcm_s16le, 44100 Hz, mono, 705 kb/s
> > File '/tmp/out.mp4' already exists. Overwrite ? [y/N] y
> > Output #0, mp4, to '/tmp/out.mp4':
> > Stream #0.0: Video: mpeg4, yuv420p, 800x600 [PAR 0:1 DAR 0:1],
> > q=2-31, 200 kb/s, 25.00 tb(c)
> > Stream #0.1: Audio: libfaac, 22050 Hz, mono, 32 kb/s
> > Stream mapping:
> > Stream #0.0 -> #0.0
> > Stream #1.0 -> #0.1
> > Press [q] to stop encoding
> > frame= 276 fps= 29 q=2.0 Lsize= 5283kB time=8.7 bitrate=4983.9kbits/s
> > video:417kB audio:34kB global headers:0kB muxing overhead 1072.708355%
> >
> > Compare this to without capturing from /dev/dsp:
> > chris@feathers:~/downloads/ffmpeg$ ffmpeg -f x11grab -s svga -i :0.0
> > -qscale 2 -vcodec mpeg4 /tmp/out.mp4
> > FFmpeg version SVN-r11163, Copyright (c) 2000-2007 Fabrice Bellard, et al.
> > configuration: --enable-gpl --enable-x11grab --enable-pp
> > --enable-pthreads --enable-libfaac --enable-libfaad --enable-liba52
> > --enable-libx264 --enable-libdc1394 --enable-libgsm
> > --enable-libmp3lame --enable-libxvid --enable-libtheora
> > --enable-libvorbis
> > libavutil version: 49.5.0
> > libavcodec version: 51.48.0
> > libavformat version: 52.1.0
> > built on Dec 4 2007 14:34:36, gcc: 4.1.3 20070929 (prerelease)
> > (Ubuntu 4.1.2-16ubuntu2)
> > [x11grab @ 0x8425814]device: :0.0 -> display: :0.0 x: 0 y: 0 width:
> > 800 height: 600
> > [x11grab @ 0x8425814]shared memory extension found
> > Input #0, x11grab, from ':0.0':
> > Duration: N/A, start: 1196797081.323056, bitrate: 384000 kb/s
> > Stream #0.0: Video: rawvideo, rgb32, 800x600 [PAR 0:1 DAR 0:1],
> > 384000 kb/s, 25.00 tb(r)
> > File '/tmp/out.mp4' already exists. Overwrite ? [y/N] y
> > Output #0, mp4, to '/tmp/out.mp4':
> > Stream #0.0: Video: mpeg4, yuv420p, 800x600 [PAR 0:1 DAR 0:1],
> > q=2-31, 200 kb/s, 25.00 tb(c)
> > Stream mapping:
> > Stream #0.0 -> #0.0
> > Press [q] to stop encoding
> > frame= 370 fps= 32 q=2.0 Lsize= 20575kB time=14.8 bitrate=11388.6kbits/s
> > video:18733kB audio:0kB global headers:0kB muxing overhead 9.830883%
> >
> > I notice a huge difference in the muxing overhead, which has probably
> > caused this choppiness. How can I reduce the muxing overhead to a sane
> > level?
> >
> > Thanks in advance,
> > Chris
> >
>
> I haven't had a reply to this for over a month. Can anyone at least
> confirm that they do or do not have the same issue for their platform?
> I would love to hear from those who have a similar configuration. My
> platform is Ubuntu Linux 7.10 i386, running on a Pentium
> Core Duo 1.83 GHz notebook PC with 2GB RAM.
>
> To this day I still have this issue:
> chris@feathers:~$ ffmpeg -f x11grab -s 100x100 -r 25 -i :0.0
> /tmp/out.mpgFFmpeg version SVN-r11557, Copyright (c) 2000-2008 Fabrice
> Bellard, et al.
> configuration: --enable-gpl --enable-x11grab --enable-pp
> --enable-pthreads --enable-libfaac --enable-libfaad --enable-liba52
> --enable-libx264 --enable-libdc1394 --enable-libgsm
> --enable-libmp3lame --enable-libxvid --enable-libtheora
> --enable-libvorbis
> libavutil version: 49.6.0
> libavcodec version: 51.49.0
> libavformat version: 52.4.0
> libavdevice version: 52.0.0
> built on Jan 18 2008 21:24:55, gcc: 4.1.3 20070929 (prerelease)
> (Ubuntu 4.1.2-16ubuntu2)
> [x11grab @ 0x8428ed4]device: :0.0 -> display: :0.0 x: 0 y: 0 width:
> 100 height: 100
> [x11grab @ 0x8428ed4]shared memory extension found
> Input #0, x11grab, from ':0.0':
> Duration: N/A, start: 1200777404.313500, bitrate: 8000 kb/s
> Stream #0.0: Video: rawvideo, rgb32, 100x100 [PAR 0:1 DAR 0:1],
> 8000 kb/s, 25.00 tb(r)
> File '/tmp/out.mpg' already exists. Overwrite ? [y/N] y
> Output #0, mpeg, to '/tmp/out.mpg':
> Stream #0.0: Video: mpeg1video, yuv420p, 100x100 [PAR 0:1 DAR
> 0:1], q=2-31, 200 kb/s, 25.00 tb(c)
> Stream mapping:
> Stream #0.0 -> #0.0
> Press [q] to stop encoding
> frame= 116 fps= 33 q=2.0 Lsize= 162kB time=4.6 bitrate= 288.5kbits/s
> video:136kB audio:0kB global headers:0kB muxing overhead 18.944266%
>
> chris@feathers:~$ ffmpeg -f x11grab -s 100x100 -r 25 -i :0.0 -f oss -i
> /dev/dsp /tmp/out.mpg
> FFmpeg version SVN-r11557, Copyright (c) 2000-2008 Fabrice Bellard, et al.
> configuration: --enable-gpl --enable-x11grab --enable-pp
> --enable-pthreads --enable-libfaac --enable-libfaad --enable-liba52
> --enable-libx264 --enable-libdc1394 --enable-libgsm
> --enable-libmp3lame --enable-libxvid --enable-libtheora
> --enable-libvorbis
> libavutil version: 49.6.0
> libavcodec version: 51.49.0
> libavformat version: 52.4.0
> libavdevice version: 52.0.0
> built on Jan 18 2008 21:24:55, gcc: 4.1.3 20070929 (prerelease)
> (Ubuntu 4.1.2-16ubuntu2)
> [x11grab @ 0x8428ed4]device: :0.0 -> display: :0.0 x: 0 y: 0 width:
> 100 height: 100
> [x11grab @ 0x8428ed4]shared memory extension found
> Input #0, x11grab, from ':0.0':
> Duration: N/A, start: 1200777436.046285, bitrate: 8000 kb/s
> Stream #0.0: Video: rawvideo, rgb32, 100x100 [PAR 0:1 DAR 0:1],
> 8000 kb/s, 25.00 tb(r)
> Input #1, oss, from '/dev/dsp':
> Duration: N/A, start: 1200777436.056171, bitrate: N/A
> Stream #1.0: Audio: pcm_s16le, 44100 Hz, mono, 705 kb/s
> File '/tmp/out.mpg' already exists. Overwrite ? [y/N] y
> Output #0, mpeg, to '/tmp/out.mpg':
> Stream #0.0: Video: mpeg1video, yuv420p, 100x100 [PAR 0:1 DAR
> 0:1], q=2-31, 200 kb/s, 25.00 tb(c)
> Stream #0.1: Audio: mp2, 44100 Hz, mono, 64 kb/s
> Stream mapping:
> Stream #0.0 -> #0.0
> Stream #1.0 -> #0.1
> Press [q] to stop encoding
> frame= 184 fps= 31 q=4.1 Lsize= 318kB time=6.2 bitrate= 419.0kbits/s
> video:7kB audio:49kB global headers:0kB muxing overhead 476.656218%
Hi, same results here, pentium 4 on Debian Lenny, SVN of the day.
My results are:
stefano@geppetto ~> ffmpeg -f x11grab -s 640x480 -r 25 -i :0.0 -f oss -i /dev/dsp -qscale 2 -vcodec mpeg4 -ab 32000 -ar 22050 out.mp4
FFmpeg version SVN-r11584, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --prefix=/home/stefano --enable-gpl --enable-pp --enable-swscaler --enable-libtheora --enable-libvorbis --disable-static --enable-shared --enable-libfaad --enable-libfaac --enable-x11grab --enable-libmp3lame --disable-optimizations --disable-mmx
libavutil version: 49.6.0
libavcodec version: 51.49.0
libavformat version: 52.5.0
libavdevice version: 52.0.0
built on Jan 21 2008 09:14:15, gcc: 4.2.3 20071014 (prerelease) (Debian 4.2.2-3)
[x11grab @ 0xb7f57af0]device: :0.0 -> display: :0.0 x: 0 y: 0 width: 640 height: 480
[x11grab @ 0xb7f57af0]shared memory extension found
Input #0, x11grab, from ':0.0':
Duration: N/A, start: 1200903709.660532, bitrate: 245760 kb/s
Stream #0.0: Video: rawvideo, rgb32, 640x480 [PAR 0:1 DAR 0:1], 245760 kb/s, 25.00 tb(r)
Input #1, oss, from '/dev/dsp':
Duration: N/A, start: 1200903709.890648, bitrate: N/A
Stream #1.0: Audio: pcm_s16le, 44100 Hz, mono, 705 kb/s
Output #0, mp4, to 'out.mp4':
Stream #0.0: Video: mpeg4, yuv420p, 640x480 [PAR 0:1 DAR 0:1], q=2-31, 200 kb/s, 25.00 tb(c)
Stream #0.1: Audio: libfaac, 22050 Hz, mono, 32 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #1.0 -> #0.1
Press [q] to stop encoding
frame= 285 fps= 19 q=2.0 Lsize= 3408kB time=8.8 bitrate=3174.6kbits/s
video:167kB audio:33kB global headers:0kB muxing overhead 1595.770165%
stefano@geppetto ~> ffmpeg -f x11grab -s 640x480 -r 25 -i :0.0 -qscale 2 -vcodec mpeg4 out.mp4
FFmpeg version SVN-r11584, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --prefix=/home/stefano --enable-gpl --enable-pp --enable-swscaler --enable-libtheora --enable-libvorbis --disable-static --enable-shared --enable-libfaad --enable-libfaac --enable-x11grab --enable-libmp3lame --disable-optimizations --disable-mmx
libavutil version: 49.6.0
libavcodec version: 51.49.0
libavformat version: 52.5.0
libavdevice version: 52.0.0
built on Jan 21 2008 09:14:15, gcc: 4.2.3 20071014 (prerelease) (Debian 4.2.2-3)
[x11grab @ 0xb7fadaf0]device: :0.0 -> display: :0.0 x: 0 y: 0 width: 640 height: 480
[x11grab @ 0xb7fadaf0]shared memory extension found
Input #0, x11grab, from ':0.0':
Duration: N/A, start: 1200903959.995722, bitrate: 245760 kb/s
Stream #0.0: Video: rawvideo, rgb32, 640x480 [PAR 0:1 DAR 0:1], 245760 kb/s, 25.00 tb(r)
File 'out.mp4' already exists. Overwrite ? [y/N] y
Output #0, mp4, to 'out.mp4':
Stream #0.0: Video: mpeg4, yuv420p, 640x480 [PAR 0:1 DAR 0:1], q=2-31, 200 kb/s, 25.00 tb(c)
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
frame= 340 fps= 29 q=2.0 Lsize= 4517kB time=13.6 bitrate=2720.9kbits/s
video:285kB audio:0kB global headers:0kB muxing overhead 1482.716463%
No idea what's the problem though.
Regards.
--
ffmpeg-user random tip #4
ffmpeg -i FILE
prints information about the container format and the streams in a file.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
|
|
On Jan 21, 2008 3:28 AM, Stefano Sabatini
< [hidden email]> wrote:
> On date Saturday 2008-01-19 16:20:04 -0500, Chris Lasher encoded:
>
> > On Dec 4, 2007 2:56 PM, Chris Lasher < [hidden email]> wrote:
> > > I'm getting really lousy framerates for my screen capture using
> > > x11grab in conjunction with capture from /dev/dsp.
> > >
> > >
> >
> > I haven't had a reply to this for over a month. Can anyone at least
> > confirm that they do or do not have the same issue for their platform?
> > I would love to hear from those who have a similar configuration. My
> > platform is Ubuntu Linux 7.10 i386, running on a Pentium
> > Core Duo 1.83 GHz notebook PC with 2GB RAM.
> >
> > To this day I still have this issue:
> > chris@feathers:~$ ffmpeg -f x11grab -s 100x100 -r 25 -i :0.0
> > /tmp/out.mpgFFmpeg version SVN-r11557, Copyright (c) 2000-2008 Fabrice
> > Bellard, et al.
> > configuration: --enable-gpl --enable-x11grab --enable-pp
> > --enable-pthreads --enable-libfaac --enable-libfaad --enable-liba52
> > --enable-libx264 --enable-libdc1394 --enable-libgsm
> > --enable-libmp3lame --enable-libxvid --enable-libtheora
> > --enable-libvorbis
> > libavutil version: 49.6.0
> > libavcodec version: 51.49.0
> > libavformat version: 52.4.0
> > libavdevice version: 52.0.0
> > built on Jan 18 2008 21:24:55, gcc: 4.1.3 20070929 (prerelease)
> > (Ubuntu 4.1.2-16ubuntu2)
> > [x11grab @ 0x8428ed4]device: :0.0 -> display: :0.0 x: 0 y: 0 width:
> > 100 height: 100
> > [x11grab @ 0x8428ed4]shared memory extension found
> > Input #0, x11grab, from ':0.0':
> > Duration: N/A, start: 1200777404.313500, bitrate: 8000 kb/s
> > Stream #0.0: Video: rawvideo, rgb32, 100x100 [PAR 0:1 DAR 0:1],
> > 8000 kb/s, 25.00 tb(r)
> > File '/tmp/out.mpg' already exists. Overwrite ? [y/N] y
> > Output #0, mpeg, to '/tmp/out.mpg':
> > Stream #0.0: Video: mpeg1video, yuv420p, 100x100 [PAR 0:1 DAR
> > 0:1], q=2-31, 200 kb/s, 25.00 tb(c)
> > Stream mapping:
> > Stream #0.0 -> #0.0
> > Press [q] to stop encoding
> > frame= 116 fps= 33 q=2.0 Lsize= 162kB time=4.6 bitrate= 288.5kbits/s
> > video:136kB audio:0kB global headers:0kB muxing overhead 18.944266%
> >
> > chris@feathers:~$ ffmpeg -f x11grab -s 100x100 -r 25 -i :0.0 -f oss -i
> > /dev/dsp /tmp/out.mpg
> > FFmpeg version SVN-r11557, Copyright (c) 2000-2008 Fabrice Bellard, et al.
> > configuration: --enable-gpl --enable-x11grab --enable-pp
> > --enable-pthreads --enable-libfaac --enable-libfaad --enable-liba52
> > --enable-libx264 --enable-libdc1394 --enable-libgsm
> > --enable-libmp3lame --enable-libxvid --enable-libtheora
> > --enable-libvorbis
> > libavutil version: 49.6.0
> > libavcodec version: 51.49.0
> > libavformat version: 52.4.0
> > libavdevice version: 52.0.0
> > built on Jan 18 2008 21:24:55, gcc: 4.1.3 20070929 (prerelease)
> > (Ubuntu 4.1.2-16ubuntu2)
> > [x11grab @ 0x8428ed4]device: :0.0 -> display: :0.0 x: 0 y: 0 width:
> > 100 height: 100
> > [x11grab @ 0x8428ed4]shared memory extension found
> > Input #0, x11grab, from ':0.0':
> > Duration: N/A, start: 1200777436.046285, bitrate: 8000 kb/s
> > Stream #0.0: Video: rawvideo, rgb32, 100x100 [PAR 0:1 DAR 0:1],
> > 8000 kb/s, 25.00 tb(r)
> > Input #1, oss, from '/dev/dsp':
> > Duration: N/A, start: 1200777436.056171, bitrate: N/A
> > Stream #1.0: Audio: pcm_s16le, 44100 Hz, mono, 705 kb/s
> > File '/tmp/out.mpg' already exists. Overwrite ? [y/N] y
> > Output #0, mpeg, to '/tmp/out.mpg':
> > Stream #0.0: Video: mpeg1video, yuv420p, 100x100 [PAR 0:1 DAR
> > 0:1], q=2-31, 200 kb/s, 25.00 tb(c)
> > Stream #0.1: Audio: mp2, 44100 Hz, mono, 64 kb/s
> > Stream mapping:
> > Stream #0.0 -> #0.0
> > Stream #1.0 -> #0.1
> > Press [q] to stop encoding
> > frame= 184 fps= 31 q=4.1 Lsize= 318kB time=6.2 bitrate= 419.0kbits/s
> > video:7kB audio:49kB global headers:0kB muxing overhead 476.656218%
>
> Hi, same results here, pentium 4 on Debian Lenny, SVN of the day.
>
> My results are:
> stefano@geppetto ~> ffmpeg -f x11grab -s 640x480 -r 25 -i :0.0 -f oss -i /dev/dsp -qscale 2 -vcodec mpeg4 -ab 32000 -ar 22050 out.mp4
> FFmpeg version SVN-r11584, Copyright (c) 2000-2008 Fabrice Bellard, et al.
> configuration: --prefix=/home/stefano --enable-gpl --enable-pp --enable-swscaler --enable-libtheora --enable-libvorbis --disable-static --enable-shared --enable-libfaad --enable-libfaac --enable-x11grab --enable-libmp3lame --disable-optimizations --disable-mmx
> libavutil version: 49.6.0
> libavcodec version: 51.49.0
> libavformat version: 52.5.0
> libavdevice version: 52.0.0
> built on Jan 21 2008 09:14:15, gcc: 4.2.3 20071014 (prerelease) (Debian 4.2.2-3)
> [x11grab @ 0xb7f57af0]device: :0.0 -> display: :0.0 x: 0 y: 0 width: 640 height: 480
> [x11grab @ 0xb7f57af0]shared memory extension found
> Input #0, x11grab, from ':0.0':
> Duration: N/A, start: 1200903709.660532, bitrate: 245760 kb/s
> Stream #0.0: Video: rawvideo, rgb32, 640x480 [PAR 0:1 DAR 0:1], 245760 kb/s, 25.00 tb(r)
> Input #1, oss, from '/dev/dsp':
> Duration: N/A, start: 1200903709.890648, bitrate: N/A
> Stream #1.0: Audio: pcm_s16le, 44100 Hz, mono, 705 kb/s
> Output #0, mp4, to 'out.mp4':
> Stream #0.0: Video: mpeg4, yuv420p, 640x480 [PAR 0:1 DAR 0:1], q=2-31, 200 kb/s, 25.00 tb(c)
> Stream #0.1: Audio: libfaac, 22050 Hz, mono, 32 kb/s
> Stream mapping:
> Stream #0.0 -> #0.0
> Stream #1.0 -> #0.1
> Press [q] to stop encoding
> frame= 285 fps= 19 q=2.0 Lsize= 3408kB time=8.8 bitrate=3174.6kbits/s
> video:167kB audio:33kB global headers:0kB muxing overhead 1595.770165%
>
> stefano@geppetto ~> ffmpeg -f x11grab -s 640x480 -r 25 -i :0.0 -qscale 2 -vcodec mpeg4 out.mp4
> FFmpeg version SVN-r11584, Copyright (c) 2000-2008 Fabrice Bellard, et al.
> configuration: --prefix=/home/stefano --enable-gpl --enable-pp --enable-swscaler --enable-libtheora --enable-libvorbis --disable-static --enable-shared --enable-libfaad --enable-libfaac --enable-x11grab --enable-libmp3lame --disable-optimizations --disable-mmx
> libavutil version: 49.6.0
> libavcodec version: 51.49.0
> libavformat version: 52.5.0
> libavdevice version: 52.0.0
> built on Jan 21 2008 09:14:15, gcc: 4.2.3 20071014 (prerelease) (Debian 4.2.2-3)
> [x11grab @ 0xb7fadaf0]device: :0.0 -> display: :0.0 x: 0 y: 0 width: 640 height: 480
> [x11grab @ 0xb7fadaf0]shared memory extension found
> Input #0, x11grab, from ':0.0':
> Duration: N/A, start: 1200903959.995722, bitrate: 245760 kb/s
> Stream #0.0: Video: rawvideo, rgb32, 640x480 [PAR 0:1 DAR 0:1], 245760 kb/s, 25.00 tb(r)
> File 'out.mp4' already exists. Overwrite ? [y/N] y
> Output #0, mp4, to 'out.mp4':
> Stream #0.0: Video: mpeg4, yuv420p, 640x480 [PAR 0:1 DAR 0:1], q=2-31, 200 kb/s, 25.00 tb(c)
> Stream mapping:
> Stream #0.0 -> #0.0
> Press [q] to stop encoding
> frame= 340 fps= 29 q=2.0 Lsize= 4517kB time=13.6 bitrate=2720.9kbits/s
> video:285kB audio:0kB global headers:0kB muxing overhead 1482.716463%
>
> No idea what's the problem though.
>
> Regards.
Good to know it's not a problem only on my system. Anyone else have
this? Anyone know how to solve this? The change was introduced within
the last two months.
Chris
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
|
|
On Sun, Jan 27, 2008 at 11:28 AM, Chris Lasher < [hidden email]> wrote:
> On Jan 21, 2008 3:28 AM, Stefano Sabatini
>
> < [hidden email]> wrote:
> > On date Saturday 2008-01-19 16:20:04 -0500, Chris Lasher encoded:
> >
> > > On Dec 4, 2007 2:56 PM, Chris Lasher < [hidden email]> wrote:
> > > > I'm getting really lousy framerates for my screen capture using
> > > > x11grab in conjunction with capture from /dev/dsp.
> > > >
> > > >
> > >
>
>
> > > I haven't had a reply to this for over a month. Can anyone at least
> > > confirm that they do or do not have the same issue for their platform?
> > > I would love to hear from those who have a similar configuration. My
> > > platform is Ubuntu Linux 7.10 i386, running on a Pentium
> > > Core Duo 1.83 GHz notebook PC with 2GB RAM.
> > >
> > > To this day I still have this issue:
> >
> > Hi, same results here, pentium 4 on Debian Lenny, SVN of the day.
> >
> > My results are:
> > stefano@geppetto ~> ffmpeg -f x11grab -s 640x480 -r 25 -i :0.0 -f oss -i /dev/dsp -qscale 2 -vcodec mpeg4 -ab 32000 -ar 22050 out.mp4
> > FFmpeg version SVN-r11584, Copyright (c) 2000-2008 Fabrice Bellard, et al.
> > configuration: --prefix=/home/stefano --enable-gpl --enable-pp --enable-swscaler --enable-libtheora --enable-libvorbis --disable-static --enable-shared --enable-libfaad --enable-libfaac --enable-x11grab --enable-libmp3lame --disable-optimizations --disable-mmx
> > libavutil version: 49.6.0
> > libavcodec version: 51.49.0
> > libavformat version: 52.5.0
> > libavdevice version: 52.0.0
> > built on Jan 21 2008 09:14:15, gcc: 4.2.3 20071014 (prerelease) (Debian 4.2.2-3)
> > [x11grab @ 0xb7f57af0]device: :0.0 -> display: :0.0 x: 0 y: 0 width: 640 height: 480
> > [x11grab @ 0xb7f57af0]shared memory extension found
> > Input #0, x11grab, from ':0.0':
> > Duration: N/A, start: 1200903709.660532, bitrate: 245760 kb/s
> > Stream #0.0: Video: rawvideo, rgb32, 640x480 [PAR 0:1 DAR 0:1], 245760 kb/s, 25.00 tb(r)
> > Input #1, oss, from '/dev/dsp':
> > Duration: N/A, start: 1200903709.890648, bitrate: N/A
> > Stream #1.0: Audio: pcm_s16le, 44100 Hz, mono, 705 kb/s
> > Output #0, mp4, to 'out.mp4':
> > Stream #0.0: Video: mpeg4, yuv420p, 640x480 [PAR 0:1 DAR 0:1], q=2-31, 200 kb/s, 25.00 tb(c)
> > Stream #0.1: Audio: libfaac, 22050 Hz, mono, 32 kb/s
> > Stream mapping:
> > Stream #0.0 -> #0.0
> > Stream #1.0 -> #0.1
> > Press [q] to stop encoding
> > frame= 285 fps= 19 q=2.0 Lsize= 3408kB time=8.8 bitrate=3174.6kbits/s
> > video:167kB audio:33kB global headers:0kB muxing overhead 1595.770165%
> >
> > stefano@geppetto ~> ffmpeg -f x11grab -s 640x480 -r 25 -i :0.0 -qscale 2 -vcodec mpeg4 out.mp4
> > FFmpeg version SVN-r11584, Copyright (c) 2000-2008 Fabrice Bellard, et al.
> > configuration: --prefix=/home/stefano --enable-gpl --enable-pp --enable-swscaler --enable-libtheora --enable-libvorbis --disable-static --enable-shared --enable-libfaad --enable-libfaac --enable-x11grab --enable-libmp3lame --disable-optimizations --disable-mmx
> > libavutil version: 49.6.0
> > libavcodec version: 51.49.0
> > libavformat version: 52.5.0
> > libavdevice version: 52.0.0
> > built on Jan 21 2008 09:14:15, gcc: 4.2.3 20071014 (prerelease) (Debian 4.2.2-3)
> > [x11grab @ 0xb7fadaf0]device: :0.0 -> display: :0.0 x: 0 y: 0 width: 640 height: 480
> > [x11grab @ 0xb7fadaf0]shared memory extension found
> > Input #0, x11grab, from ':0.0':
> > Duration: N/A, start: 1200903959.995722, bitrate: 245760 kb/s
> > Stream #0.0: Video: rawvideo, rgb32, 640x480 [PAR 0:1 DAR 0:1], 245760 kb/s, 25.00 tb(r)
> > File 'out.mp4' already exists. Overwrite ? [y/N] y
> > Output #0, mp4, to 'out.mp4':
> > Stream #0.0: Video: mpeg4, yuv420p, 640x480 [PAR 0:1 DAR 0:1], q=2-31, 200 kb/s, 25.00 tb(c)
> > Stream mapping:
> > Stream #0.0 -> #0.0
> > Press [q] to stop encoding
> > frame= 340 fps= 29 q=2.0 Lsize= 4517kB time=13.6 bitrate=2720.9kbits/s
> > video:285kB audio:0kB global headers:0kB muxing overhead 1482.716463%
> >
> > No idea what's the problem though.
> >
> > Regards.
>
> Good to know it's not a problem only on my system. Anyone else have
> this? Anyone know how to solve this? The change was introduced within
> the last two months.
>
> Chris
>
Could anyone please confirm or deny this issue for a different
platform? I have filed a bug report here:
https://roundup.mplayerhq.hu/roundup/ffmpeg/issue348Thanks,
Chris
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
|
|