[FFmpeg-user] Post problem: export long wav files (incorrect/limited length)

Peter B. pb at das-werkstatt.com
Mon Nov 19 06:45:14 CET 2012


On 11/19/2012 02:53 AM, Dave Rice wrote:
>> Are the any workaroud?
> You can't store more than 4 gigabytes in WAV. For workarounds you could:
> - use WAVE 64, but FFmpeg supports w64 for demuxing but not muxing (could submit a ticket).
> - use multiple output files to export segments in files that are smaller enough for the WAV format size constraints
> - use another file format that doesn't have this size constraints: AIFF, MOV, MKA, NUT, etc
Dave's right.

However, it should be mentioned that in order to avoid
implementation-quirks, a WAV's size should not exceed 2 GB (rather than
4 GB).

The reason for that is that some applications use a signed-, others an
unsigned-variable to handle the 4 byte size (This might not even be
consistent within the *same* application).

If you don't go beyond 2 GB, you're on the safe side.

Pb


More information about the ffmpeg-user mailing list