[FFmpeg-user] error attempting 2 pass encoding using libx264

Nathan Lewis nlewis at mail.crawford.com
Mon Feb 11 21:36:34 CET 2013


On Mon, Feb 11, 2013 at 4:27 AM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

>
> Sorry, there was a typo in my email, please test a127879
>
> The following link is simpler to get this version:
> http://git.videolan.org/?p=ffmpeg.git;a=snapshot;h=a127879;sf=tgz
>
> > 6. ./configure, make, etc
>
>
Thanks for the clarification.  I built and tested with a127879 and I've run
into the same error.  See below.  I'm glad to run additional tests if it
will help resolve the issue.

Thanks,

Nathan

> ffmpeg -i Split\ Track\ Audio\ Sample.mov -pass 1 -an -c:v libx264 -b:v
2000k -f mov /dev/null
ffmpeg version 1.1.git-a127879 Copyright (c) 2000-2013 the FFmpeg developers
  built on Feb 11 2013 08:12:57 with gcc 4.4.6 (GCC) 20120305 (Red Hat
4.4.6-4)
  configuration: --prefix=/usr/local/ffmpeg --extra-cflags='-O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -D_ISOC99_SOURCE
-D_POSIX_C_SOURCE=200112 -fasm -std=c99 -fno-math-errno' --enable-libfaac
--enable-libgsm --enable-libmp3lame --enable-libvorbis --enable-libx264
--enable-libxvid --enable-x11grab --enable-avfilter --enable-postproc
--enable-pthreads --disable-static --enable-shared --enable-gpl
--disable-debug --disable-stripping --enable-nonfree --enable-libtheora
--enable-swscale
  libavutil      52. 17.101 / 52. 17.101
  libavcodec     54. 91.100 / 54. 91.100
  libavformat    54. 61.104 / 54. 61.104
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 35.101 /  3. 35.101
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Guessed Channel Layout for  Input Stream #0.2 : mono
Guessed Channel Layout for  Input Stream #0.3 : mono
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Split Track Audio Sample.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2013-02-05 16:19:36
    timecode        : 00:00:00;00
  Duration: 00:01:05.26, start: -13.881563, bitrate: 14364 kb/s
    Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p,
720x486, 10302 kb/s, SAR 10:11 DAR 400:297, 29.97 fps, 29.97 tbr, 2997 tbn,
5994 tbc
    Metadata:
      creation_time   : 2013-02-05 16:19:36
      handler_name    : Apple Alias Data Handler
    Stream #0:1(eng): Data: none (tmcd / 0x64636D74)
    Metadata:
      creation_time   : 2013-02-05 16:20:02
      handler_name    : Apple Alias Data Handler
      timecode        : 00:00:00;00
    Stream #0:2(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, mono,
s16, 768 kb/s
    Metadata:
      creation_time   : 2013-02-05 16:20:02
      handler_name    : Apple Alias Data Handler
    Stream #0:3(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, mono,
s16, 768 kb/s
    Metadata:
      creation_time   : 2013-02-05 16:20:04
      handler_name    : Apple Alias Data Handler
File '/dev/null' already exists. Overwrite ? [y/N] y
using SAR=10/11
[libx264 @ 0x20847e0] using cpu capabilities: MMX2 SSE2Fast SSSE3
FastShuffle SSE4.2
[libx264 @ 0x20847e0] ratecontrol_init: can't open stats file
Output #0, mov, to '/dev/null':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    timecode        : 00:00:00;00
    Stream #0:0(eng): Video: h264, yuv420p, 720x486 [SAR 10:11 DAR
400:297], q=-1--1, pass 1, 2000 kb/s, 90k tbn, 29.97 tbc
    Metadata:
      creation_time   : 2013-02-05 16:19:36
      handler_name    : Apple Alias Data Handler
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> libx264)
Error while opening encoder for output stream #0:0 - maybe incorrect
parameters such as bit_rate, rate, width or height


More information about the ffmpeg-user mailing list