Re: Need help salvaging a recording

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Shani Hadiyanto Pribadi wrote:

> Hello guys.
> I'm in need of help right now.
> Last night I recorded a show using qtractor.
> I recorded it as two files, the first one is for the first hour, and
> second file is for the rest, about 4 hours.
>
> The first file can be played successfully, but the second file does
> not. It would only play until about 20 minutes, and stop.
> 
> This is the output of soxi
> 
> shani@shanihplaptop ~/Projects/GME/2010 % soxi 6.wav
> soxi WARN wav: wave header missing FmtExt chunk
> 
> Input File     : '6.wav'
> Channels       : 2
> Sample Rate    : 48000
> Precision      : 24-bit
> Duration       : 00:20:50.04 = 60001717 samples ~ 93752.7 CDDA sectors
> File Size      : 4.77G

That file is bigger than 4 Gig and WAV files are limited to 4G due
to the use of an unsigned 32 bit integer in the WAV file header.

> Does it have anything to do with the error.?

More likely to be due to the file size.

> Is there any way to salvage the recording?

Try using sndfile-convert (in the sndfile-programs package in
Debian/Ubuntu) to conver the file to a format which allows
files larger than 4G. Try:

    sndfile-convert  large-file.wav large-file.w64

Let me know if that doesn't work.

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux