[FFmpeg-user] error attempting 2 pass encoding using libx264
Nathan Lewis
nlewis at mail.crawford.com
Fri Feb 8 00:23:17 CET 2013
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).
Any thoughts?
============== failure with -pass 1 =====================
> ffmpeg -i "Split Track Audio Sample.mov" -c:v libx264 -f mov -pass 1
/dev/null
ffmpeg version N-49695-g4e2c636 Copyright (c) 2000-2013 the FFmpeg
developers
built on Feb 7 2013 06:31:52 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.102 / 54. 91.102
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 @ 0xa07cc0] using cpu capabilities: MMX2 SSE2Fast SSSE3
FastShuffle SSE4.2
[libx264 @ 0xa07cc0] 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, 90k tbn, 29.97 tbc
Metadata:
creation_time : 2013-02-05 16:19:36
handler_name : Apple Alias Data Handler
Stream #0:1(eng): Audio: none, 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)
Error while opening encoder for output stream #0:0 - maybe incorrect
parameters such as bit_rate, rate, width or height
============ success with -pass 1 ===============
More information about the ffmpeg-user
mailing list