Menu

#337 Output wav file >4gb corrupted from Sox remix of 3 wav files nto one wav file

closed-invalid
nobody
None
5
2020-11-14
2020-08-13
No

C:\Program Files (x86)\sox-14-4-2>sox -V -V -b16 -M c:\vidrec\abc-1.wav c:\vidre
c\abc-2.wav c:\vidrec\abc-3.wav -t wavpcm -c 6 c:\vidrec\abc_6chan.wav remix 1 2
3 4 5 6
sox: SoX v14.4.2
time: Feb 22 2015 15:05:01
compiler: gcc 4.9.2 20141030 (Fedora MinGW 4.9.2-1.fc21)
arch: 1248 48 44 L OMP
sox INFO formats: detected file format type wav' sox DBUG wav: Searching for 66 6d 74 20 sox DBUG wav: WAV Chunk fmt sox DBUG wav: Searching for 64 61 74 61 sox DBUG wav: WAV Chunk LIST sox DBUG wav: WAV Chunk data sox DBUG wav: Reading Wave file: Microsoft PCM format, 2 channels, 48000 samp/se c sox DBUG wav: 192000 byte/sec, 4 block align, 16 bits/samp, 1435281408 d ata bytes sox DBUG wav: 358820352 Samps/chans sox DBUG wav: Searching for 4c 49 53 54 sox INFO formats: detected file format typewav'
sox DBUG wav: Searching for 66 6d 74 20
sox DBUG wav: WAV Chunk fmt
sox DBUG wav: Searching for 64 61 74 61
sox DBUG wav: WAV Chunk LIST
sox DBUG wav: WAV Chunk data
sox DBUG wav: Reading Wave file: Microsoft PCM format, 2 channels, 48000 samp/se
c
sox DBUG wav: 192000 byte/sec, 4 block align, 16 bits/samp, 1435281408 d
ata bytes
sox DBUG wav: 358820352 Samps/chans
sox DBUG wav: Searching for 4c 49 53 54
sox INFO formats: detected file format type `wav'
sox DBUG wav: Searching for 66 6d 74 20
sox DBUG wav: WAV Chunk fmt
sox DBUG wav: Searching for 64 61 74 61
sox DBUG wav: WAV Chunk LIST
sox DBUG wav: WAV Chunk data
sox DBUG wav: Reading Wave file: Microsoft PCM format, 2 channels, 48000 samp/se
c
sox DBUG wav: 192000 byte/sec, 4 block align, 16 bits/samp, 1435281408 d
ata bytes
sox DBUG wav: 358820352 Samps/chans
sox DBUG wav: Searching for 4c 49 53 54

Input File : 'c:\vidrec\abc-1.wav'
Channels : 2
Sample Rate : 48000
Precision : 16-bit
Duration : 02:04:35.42 = 358820352 samples ~ 560657 CDDA sectors
File Size : 1.44G
Bit Rate : 1.54M
Sample Encoding: 16-bit Signed Integer PCM
Endian Type : little
Reverse Nibbles: no
Reverse Bits : no

Input File : 'c:\vidrec\abc-2.wav'
Channels : 2
Sample Rate : 48000
Precision : 16-bit
Duration : 02:04:35.42 = 358820352 samples ~ 560657 CDDA sectors
File Size : 1.44G
Bit Rate : 1.54M
Sample Encoding: 16-bit Signed Integer PCM
Endian Type : little
Reverse Nibbles: no
Reverse Bits : no

Input File : 'c:\vidrec\abc-3.wav'
Channels : 2
Sample Rate : 48000
Precision : 16-bit
Duration : 02:04:35.42 = 358820352 samples ~ 560657 CDDA sectors
File Size : 1.44G
Bit Rate : 1.54M
Sample Encoding: 16-bit Signed Integer PCM
Endian Type : little
Reverse Nibbles: no
Reverse Bits : no

sox DBUG wav: Writing Wave file: Microsoft PCM format, 6 channels, 48000 samp/se
c
sox DBUG wav: 576000 byte/sec, 12 block align, 16 bits/samp

Output File : 'c:\vidrec\abc_6chan.wav'
Channels : 6
Sample Rate : 48000
Precision : 16-bit
Duration : 02:04:35.42 = 358820352 samples ~ 560657 CDDA sectors
Sample Encoding: 16-bit Signed Integer PCM
Endian Type : little
Reverse Nibbles: no
Reverse Bits : no
Comment : 'Processed by SoX'

sox DBUG remix: 0:
sox DBUG remix: 0 1
sox DBUG remix: 1:
sox DBUG remix: 1 1
sox DBUG remix: 2:
sox DBUG remix: 2 1
sox DBUG remix: 3:
sox DBUG remix: 3 1
sox DBUG remix: 4:
sox DBUG remix: 4 1
sox DBUG remix: 5:
sox DBUG remix: 5 1
sox INFO sox: effects chain: input 48000Hz 6 channels (multi) 16 bits 02
:04:35.42
sox INFO sox: effects chain: remix 48000Hz 6 channels (multi) 16 bits 02
:04:35.42
sox INFO sox: effects chain: output 48000Hz 6 channels (multi) 16 bits 02
:04:35.42
sox DBUG sox: start-up time = 0.058003
sox DBUG wav: Finished writing Wave file, 10876928 data bytes 358820352 samples

C:\Program Files (x86)\sox-14-4-2>

Problem - Windows Explorer, VLC and FFMPEG indicate that the resulting content length in the output file is shorter than is should be. See attachment windows explorer indicates media length is only 18 seconds

Output wav file >4gb corrupted from Sox remix of 3 wav files nto one wav file

1 Attachments

Discussion

  • Mans Rullgard

    Mans Rullgard - 2020-08-13

    To the extent possible (WAV doesn't support >4GB), this should be fixed in current git master. Please give it a try.

     
  • Mans Rullgard

    Mans Rullgard - 2020-11-14
    • status: open --> closed-invalid
     

Log in to post a comment.

MongoDB Logo MongoDB