[Ffmpeg-devel] Could not write header for the output file #0.

Issac Kelly issac.kelly
Thu Dec 21 20:23:52 CET 2006


Hello, this is my first post. First of all, i Know I am not running the
latest build, I can do nothing about this, it is my hosting account and I
have no access to the bin on the server, Please help me anyway.  I am trying
to encode a file from various fomats to FLV, I can encode them if I include
the -an option, but of course, I get no audio.  From the output of ffmpeg, I
can tell that it is correctly determining the properties of the file I am
trying to convert, but regardless, I get the error: Specifying the input
audio to the correct values does not fix the problem either.

#0.1 Could not write header for the output file #0.

Command line:  /usr/bin/ffmpeg -y -i
/hsphere/local/home/****.com/unconverted/mp_qt.mov -acodec mp3
/hsphere/local/home/****.com/flv/mp_qt.flv

Output: Input #0, mov,mp4,m4a,3gp, from
'/hsphere/local/home/****.com/unconverted/mp_qt.mov': Duration: 00:01:18.8,
start: 0.000000, bitrate: 3554 kb/s Stream #0.0: Video: svq3, 720x486,
30.00fps Stream #0.1: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
Output #0,
flv, to '/hsphere/local/home/****.com/flv/mp_qt.flv': Stream #0.0: Video:
flv, 720x486, 30.00 fps, q=2-31, 200 kb/s Stream #0.1: Audio: mp3, 48000 Hz,
stereo, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1
Could not write header for output file #0 (incorrect codec parameters ?)
ffmpeg version 0.4.9-pre1, build 4730, Copyright (c) 2000-2004 Fabrice
Bellard configuration: i386-redhat-linux --prefix=/usr --exec-prefix=/usr
--bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share
--includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec
--localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man
--infodir=/usr/share/info --extra-cflags=-O2 -march=i386 -mcpu=i686
--enable-mp3lame --enable-vorbis --enable-faad --enable-xvid --enable-pp
--enable-shared-pp --enable-shared --enable-gpl --disable-strip built on Mar
10 2005 20:58:17, gcc: 2.96 20000731 (Red Hat Linux 7.3 2.96-113)

-- 
-- Issac Kelly --
threefound.com
-----------------------




More information about the ffmpeg-devel mailing list