[FFmpeg-devel] [PATCH] WAV file length (writing to stdout)

Michael Niedermayer michaelni
Tue Oct 16 21:34:24 CEST 2007


On Tue, Oct 16, 2007 at 05:02:39PM +0200, Cyril B. wrote:
> Hi,
> As reported recently on this mailing list [1], ffmpeg sets 0 as file length
> in the WAV header if output is streamed (for instance, when outputting to
> stdout). Nero AAC encoder does not accept such streams ('could not parse
> WAV file' error).
> The WAV file specs [2] say the file length (ChunkSize) must be 36 + data
> length. The included patch writes 36 instead of 0, which satisfies Nero
> encoder.
> [2] http://ccrma.stanford.edu/courses/422/projects/WaveFormat/

no this is not the wav file spec
parts of the wav file spec can be found if you search for
"multimedia programming interface and data specification"

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071016/aa6321a2/attachment.pgp>

More information about the ffmpeg-devel mailing list