Tom's Hardware > Forum > Graphic & Displays > TV/Video Cards > Converting from wav to ac3 (large file)

Converting from wav to ac3 (large file)

Forum Graphic & Displays : TV/Video Cards - Converting from wav to ac3 (large file)

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Archived from groups: rec.video.desktop (More info?)

 

I am having problems converting a wav file to ac3. I did it previously
without any problems, with wav files around 200-250 Mb in size, and ~22-23
minutes in length, but today I wanted to do it with a wav file a little over
2Gb in size and 3h12 (192 minutes) in length. I tried TMPGEnc's sound
player, and the encode process didn't even start (progress window opened and
closed right away). I also tried with Soft Encode, which wouldn't even open
my wav file (absolutely nothing happened when I tried to load it). I don't
have any other program able to handle ac3 files (except TMPGEnc DVD Author
but it uses TMPGEnc Sound Player for ac3) but I believe those 2 are usually
sufficient. Is the wav file too big, too long? Am I doing something wrong
or should I do something differently? Thanks for any feedback!

Sponsored Links
Register or log in to remove.
- 0 +

Archived from groups: rec.video.desktop (More info?)

 

"Ampersand" <ampersand@yourbestfriend.com> wrote in
news:3poUd.9077$044.310821@wagner.videotron.net:

> I am having problems converting a wav file to ac3. I did it
> previously without any problems, with wav files around 200-250 Mb in
> size, and ~22-23 minutes in length, but today I wanted to do it with a
> wav file a little over 2Gb in size and 3h12 (192 minutes) in length.
> I tried TMPGEnc's sound player, and the encode process didn't even
> start (progress window opened and closed right away). I also tried
> with Soft Encode, which wouldn't even open my wav file (absolutely
> nothing happened when I tried to load it). I don't have any other
> program able to handle ac3 files (except TMPGEnc DVD Author but it
> uses TMPGEnc Sound Player for ac3) but I believe those 2 are usually
> sufficient. Is the wav file too big, too long? Am I doing something
> wrong or should I do something differently? Thanks for any feedback!
>
>

Have you tried "BeSweet?" Works for me. Haven't tried it on a 2GB
*.wav, though.

//rus//

Reply to rus
- 0 +

Archived from groups: rec.video.desktop (More info?)

 

On Sun, 27 Feb 2005 13:44:52 -0500, "Ampersand"
<ampersand@yourbestfriend.com> wrote:

>I am having problems converting a wav file to ac3. I did it previously
>without any problems, with wav files around 200-250 Mb in size, and ~22-23
>minutes in length, but today I wanted to do it with a wav file a little over
>2Gb in size and 3h12 (192 minutes) in length. I tried TMPGEnc's sound
>player, and the encode process didn't even start (progress window opened and
>closed right away). I also tried with Soft Encode, which wouldn't even open
>my wav file (absolutely nothing happened when I tried to load it). I don't
>have any other program able to handle ac3 files (except TMPGEnc DVD Author
>but it uses TMPGEnc Sound Player for ac3) but I believe those 2 are usually
>sufficient. Is the wav file too big, too long? Am I doing something wrong
>or should I do something differently? Thanks for any feedback!

You're right in that the wav file is to big. Wav files are limited to
2G. The way I do it is to split the file in two in my audio editor, I
use Cool Edit, I then take those two saved wav files and convert them
to ac3 with the Tmpgenc sound player, then take those two ac3 files
and join them into one. If there's a better way I don't know of it.

Reply to Darrel

Archived from groups: rec.video.desktop (More info?)

 

On a sunny day (Mon, 28 Feb 2005 15:44:42 -0500) it happened Darrel
<dfland~NOT_ME~@comcast.net> wrote in
<eb0721hl7aqvi198bq400hqml6bfjmkdqr@4ax.com>:

>You're right in that the wav file is to big. Wav files are limited to
>2G.

No they are not, here is a structure wave header (see below):
Note that both 'data_length' and 'length' (of the file) are DWORD, and
in this case unsigned long.
That makes it 32 bits.
2 ^32 = 4 294 967 296 bytes, or more then 4.9 GB.
I routinely make > 2GB wave files with multimux, it multiplexes
several mono wave files together to one multichannel wave, that you can then
convert with ffmpeg to AC3.
In fact likely the intermediate wave is not even needed, as one should be
able to pipe in Linux.
http://panteltje.com/panteltje/dvd/multimux-0.2.3.tgz
Do a websearch for ffmpeg.
If you are lucky multimux might just run in cgywin in windows, but have not
tried.
ffmpeg has a windows port.

here, straigth from the source:


#ifndef _WAVE_HEADER_H_
#define _WAVE_HEADER_H_

typedef unsigned short WORD;
typedef unsigned long DWORD;

typedef struct
{/* header for WAV-Files */
char main_chunk[4];/* 'RIFF' */
DWORD length;/* length of file */
char chunk_type[4];/* 'WAVE' */
char sub_chunk[4];/* 'fmt' */
DWORD length_chunk;/* length sub_chunk, always 16 bytes */
WORD format;/* always 1 = PCM-Code */

WORD modus;/* 1 = Mono, 2 = Stereo */
DWORD sample_fq;/* Sample Freq */
DWORD byte_p_sec;/* Data per sec */
WORD byte_p_spl;/* bytes per sample, 1=8 bit, 2=16 bit (mono)
2=8 bit, 4=16 bit (stereo) */
WORD bit_p_spl;/* bits per sample, 8, 12, 16 */
char data_chunk[4];/* 'data' */
DWORD data_length;/* length of data */
} wave_header;

#endif /* _WAVE_HEADER_H_ */

Reply to Anonymous
Tom's Hardware > Forum > Graphic & Displays > TV/Video Cards > Converting from wav to ac3 (large file)
Go to:

There are 521 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them