[MPlayer-users] wav file size limit

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Apr 1 12:01:39 CEST 2009


On Tue, Mar 31, 2009 at 08:42:57PM -0500, Matyas Sustik wrote:
> I am extracting the audio (for ogg encoding) from an avi file.  The relevant
> commands are:
> 
> > mkfifo audio.wav
> 
> > nice -n 10 oggenc -q 6 audio.wav -o audio.ogg &
> 
> > nice -n 10 mplayer test.avi -vc null -vo null -nocache -ao
> pcm:fast:file=audio.wav >/dev/null 2>&1
> 
> However, when the wav file (not explicitly created) gets larger than 2GB
> I get a truncation.  Indeed if I do just:
> 
> nice -n 10 mplayer test.avi -vc null -vo null -nocache -ao
> pcm:fast:file=audio.wav
> 
> I see that the wav file is over 2GB, and mplayer says:
> File larger than allowed for WAV files, may play truncated!

Read the oggenc manual, it has an option for that case.


More information about the MPlayer-users mailing list