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

Nathan Lewis nlewis at mail.crawford.com
Fri Feb 8 00:38:01 CET 2013


On Thu, Feb 7, 2013 at 6:23 PM, Nathan Lewis <nlewis at mail.crawford.com>wrote:

> I've run into an issue using the most recent ffmpeg version from git.  I'm
> attempting to do 2 pass encoding but I get a failure on -pass 1 (see
> below).  The strange thing is that the exact same command executes fine
> using ffmpeg 1.0.3 build I have on a different machine (see further below).
>
>
Apologies.  I failed to paste the uncut output for my successful -pass 1.
 Here it is:

 ===============  successful -pass 1 ==============

 ffmpeg -i "Split Track Audio Sample.mov" -c:v libx264 -f mov -pass 1
/dev/null
ffmpeg version 1.0.3 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jan 27 2013 20:54:24 with llvm-gcc 4.2.1 (LLVM build 2336.1.00)
  configuration: --enable-nonfree --enable-gpl --enable-libfaac
--enable-libmp3lame --enable-libvpx --enable-pthreads --enable-libx264
--enable-version3
  libavutil      51. 73.101 / 51. 73.101
  libavcodec     54. 59.100 / 54. 59.100
  libavformat    54. 29.104 / 54. 29.104
  libavdevice    54.  2.101 / 54.  2.101
  libavfilter     3. 17.100 /  3. 17.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.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 @ 0x7f865984ae00] using cpu capabilities: MMX2 SSE2Fast SSSE3
FastShuffle SSE4.2 AVX
[libx264 @ 0x7f865984ae00] profile Main, level 3.1
[libx264 @ 0x7f865984ae00] 264 - core 129 - H.264/MPEG-4 AVC codec -
Copyleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=1
ref=1 deblock=1:0:0 analyse=0x1:0 me=dia subme=2 psy=1 psy_rd=1.00:0.00
mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11
fast_pskip=1 chroma_qp_offset=0 threads=6 lookahead_threads=1
sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0
constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1
weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40
intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0
qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mov, to '/dev/null':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    timecode        : 00:00:00;00
    encoder         : Lavf54.29.104
    Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p, 720x486
[SAR 10:11 DAR 400:297], q=-1--1, pass 1, 2997 tbn, 29.97 tbc
    Metadata:
      creation_time   : 2013-02-05 16:19:36
      handler_name    : Apple Alias Data Handler
    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, mono, s16,
128 kb/s
    Metadata:
      creation_time   : 2013-02-05 16:20:02
      handler_name    : Apple Alias Data Handler
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> libx264)
  Stream #0:2 -> #0:1 (pcm_s16be -> libfaac)
Press [q] to stop, [?] for help
frame=  943 fps=188 q=0.0 Lsize=       0kB time=00:00:31.39 bitrate=
0.0kbits/s


More information about the ffmpeg-user mailing list