Log in

View Full Version : Two different wave files


David1105
4th July 2008, 00:40
I use two methods: ffdshow and Audacity to generate two wave files. They're very different binary-wise.

However, the file header reading doesn't show much difference...

Using ffdshow filter

File size: 17988526
Compression Code: 1
# of channels: 1
Sampling rate: 16000
Sample alignment: 2
BitsPerSample: 16
Data Length: 17988482


Using Audacity

File size: 17988524
Compression Code: 1
# of channels: 1
Sampling rate: 16000
Sample alignment: 2
BitsPerSample: 16
Data Length: 17988480

Any idea about what else should I check to see the difference between the two wave files?

Thanks!

fibbingbear
4th July 2008, 02:11
When you say, very different binary wise, how did you discover this? Are you sure that there's just not an extra frame of metadata in one that's making it seem different?

In my experience, different programs will generate the same "wave data" for a wave, but may add extra headers that make them look differently.

If you can extract *just* the data part of it, then you can compare them. :)

David1105
7th July 2008, 22:58
When you say, very different binary wise, how did you discover this? Are you sure that there's just not an extra frame of metadata in one that's making it seem different?

In my experience, different programs will generate the same "wave data" for a wave, but may add extra headers that make them look differently.

If you can extract *just* the data part of it, then you can compare them. :)

I compared with hex tool...

The first 44 bytes are exactly the same...Then the data section are totally different byte-by-byte...

Of course the two wave files are extracted from a FLV video file by different ways, using Directshow and Audacity and they have the same audio content though.

Thanks!