[FFmpeg-trac] #264(undetermined:new): x11grab using lossless x264 ffpresets fails on 32-bit

FFmpeg trac at avcodec.org
Sat Jun 4 00:08:37 CEST 2011


#264: x11grab using lossless x264 ffpresets fails on 32-bit
-------------------------+--------------------------
  Reporter:  llogan      |      Owner:
      Type:  defect      |     Status:  new
  Priority:  normal      |  Component:  undetermined
   Version:  git-master  |   Keywords:
Blocked By:              |   Blocking:
Reproduced:  0           |   Analyzed:  0
-------------------------+--------------------------
 Recording x11grab with the below command works on x86_64 Arch Linux and
 Ubuntu Lucid, but fails with 32-bit Natty.

 Looks like a regression:
 b4bcd1e2f1d603419ea9d4fdaab400b1ad35e58c bad
 7a88617c43ce534d94591dd78d4958333492b939 good

 {{{
 $ ffmpeg -v 9 -loglevel 99 -f x11grab -r 30 -s 320x240 -i :0.0 -vcodec
 libx264 -vpre lossless_ultrafast -threads 0 -y ~/output.mp4
 ffmpeg version git-N-30011-gb4bcd1e, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Jun  3 2011 13:51:23 with gcc 4.5.2
   configuration: --enable-gpl --enable-libx264 --enable-x11grab --disable-
 doc
   libavutil    51.  2. 1 / 51.  2. 1
   libavcodec   53.  6. 0 / 53.  6. 0
   libavformat  53.  1. 0 / 53.  1. 0
   libavdevice  53.  0. 0 / 53.  0. 0
   libavfilter   2.  5. 0 /  2.  5. 0
   libswscale    0. 14. 0 /  0. 14. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 [x11grab @ 0x9b0bb40] device: :0.0 -> display: :0.0 x: 0 y: 0 width: 320
 height: 240
 [x11grab @ 0x9b0bb40] shared memory extension found
 [x11grab @ 0x9b0bb40] All info found
 [x11grab @ 0x9b0bb40] Estimating duration from bitrate, this may be
 inaccurate
 Input #0, x11grab, from ':0.0':
   Duration: N/A, start: 1307138325.849861, bitrate: 73728 kb/s
     Stream #0.0, 1, 1/1000000: Video: rawvideo, bgra, 320x240, 1/30, 73728
 kb/s, 30 tbr, 1000k tbn, 30 tbc
 Incompatible pixel format 'bgra' for codec 'libx264', auto-selecting
 format 'yuv420p'
 [buffer @ 0x9afc880] w:320 h:240 pixfmt:bgra tb:1/1000000 sar:0/1
 [ffsink @ 0x9afd940] auto-inserting filter 'auto-inserted scaler 0'
 between the filter 'src' and the filter 'out'
 [scale @ 0x9afdc20] w:320 h:240 fmt:bgra -> w:320 h:240 fmt:yuv420p
 flags:0xa0000004
 [libx264 @ 0x9affba0] --psnr used with psy on: results will be invalid!
 [libx264 @ 0x9affba0] --tune psnr should be used if attempting to
 benchmark psnr!
 [libx264 @ 0x9affba0] interlace + weightp is not implemented
 [libx264 @ 0x9affba0] using mv_range_thread = 24
 [libx264 @ 0x9affba0] using cpu capabilities: MMX2 SSE2Fast SSSE3
 FastShuffle Cache64
 [libx264 @ 0x9affba0] constant rate-factor is incompatible with 2pass.
 Output #0, mp4, to '/home/lou/output.mp4':
     Stream #0.0, 0, 1/90000: Video: libx264, yuv420p, 320x240, 1/30,
 q=0-69, pass 1, pass 2, 200 kb/s, 90k tbn, 30 tbc
 Stream mapping:
   Stream #0.0 -> #0.0
 Error while opening encoder for output stream #0.0 - maybe incorrect
 parameters such as bit_rate, rate, width or height
 }}}
 However, re-encoding from a file and not x11grab seems to work as
 expected.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/264>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list