0
I have an old .avi file where the sound is just scratchy, no mystery there but I have a wmv file presumably derived from the .avi file but the wmv HAS the sound. Has anyone any ideas what may have happened and how to fix it?
Quick background:
In 2006 we recorded a birthday party with my girlfriends computer, it was running XP and recording was done with a Logitech Quickcam for notebooks probably using quickcapture (quickcam 8.4.8). My girlfriend then edited parts of the clips in Windows Movie Maker, converting it to a .wmv and sent it to our friends. However, in the original clips a friend of mine held a hilarious monolog and subsequently fell off the chair. I really want this clip for a thing we are doing for his stag-party.
NOW, The how can the original avi clip have weird scratchy sound, just static really, and the edited version, a wmv clip, have perfect sound? I ran them through mediainfo and got the data attached below.
I have tried the following without success:
- Recoding the avi to different format.
- Using audacity to check the sound profile, and the avi has a sound profile that looks like solid band of static with a few spikes. I have tried every filter on audacity with out result
- Firing up the old computer and checking if the sound is there – it is not but the original has been copied to different folders since it’s creation. I tried to replicate the situation with the cam, first recording then running through moviemaker but those clips retain the sound.
If the file is simply corrupt it must have happened when my girlfriend moved it to another folder in the same computer and it must have happened with all the avi files from the Logitech cam (they all have the same problem). Is this likely?
Could the Logitech software have used some weird codec or mux that subsequently disappeared in later updates so that the current software uses the wrong demux or codec to open the avi?
Could the program have written the wrong demux /codec info into avi? Is there a player where I can force the use of a specific codec to test this. Could it be some sort of little-endian – Big-endian issue?
Please someone help me with this!
Complete name Video 3.avi (without sound) last change: 2006-08-20 16:46
Format : AVI
Format/Info : Audio Video Interleave
File size : 145 MiB
Duration : 7 min 55 s
Overall bit rate : 2 556 kb/s
IsTruncated : Yes
Video
ID : 0
Format : Indeo 4
Codec ID : IV50
Codec ID/Info : Intel Indeo Video 5.0 Wavelet
Duration : 7 min 55 s
Bit rate : 2 378 kb/s
Width : 640 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate : 15.000 FPS
Bits/(Pixel*Frame) : 0.516
Stream size : 135 MiB (93%)
Title : qc2.avi Video #1
Audio
ID : 1
Format : PCM
Format settings, Endianness : Little
Format settings, Sign : Unsigned
Codec ID : 1
Duration : 7 min 55 s
Bit rate mode : Constant
Bit rate : 176.4 kb/s
Channel(s) : 1 channel
Sampling rate : 22.05 kHz
Bit depth : 8 bits
Stream size : 10.0 MiB (7%)
Alignment : Aligned on interleaves
Interleave, duration : 2954 ms (44.32 video frames)
Title : qc2.avi Audio #1
Complete name Party 2006.wmv (With sound) last change:2006-08-20 17:43
Format : Windows Media
File size : 26.4 MiB
Duration : 4 min 13 s
Overall bit rate mode : Constant
Overall bit rate : 873 kb/s
Maximum Overall bit rate : 874 kb/s
Encoded date : UTC 2006-08-20 16:40:48.328
Application : Windows Movie Maker 2.1.4026.0
Video
ID : 2
Format : VC-1
Format profile : MP@ML
Codec ID : WMV3
Codec ID/Info : Windows Media Video 9
Codec ID/Hint : WMV3
Description of the codec : Windows Media Video 9
Duration : 4 min 13 s
Bit rate mode : Constant
Bit rate : 768 kb/s
Width : 640 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.100
Stream size : 23.2 MiB (88%)
Language : Swedish
Audio
ID : 1
Format : WMA
Format version : Version 2
Codec ID : 161
Codec ID/Info : Windows Media Audio
Description of the codec : Windows Media Audio 9.1 - 96 kbps, 44 kHz, stereo (A/V) 1-pass CBR
Duration : 4 min 13 s
Bit rate mode : Constant
Bit rate : 96.0 kb/s
Channel(s) : 2 channels
Sampling rate : 44.1 kHz
I have extracted the audio from the original avi file using ffmpeg to a wav file with the same bit and samplingrate. The result from audacity is below. However Audacity does not seem to want to open the file in 8 bit. I tried wavosaur with the same result. Picture of waveform in audacity - the grey box is a section that I tried declipping with audacity. To the very left is a close zoom of the curve
Attached clip of audio with unchanged format is found here Download clip
Thanks! I'll try that with the ffmpeg. I am already working on trying the player do a selected decoder. – Carl-Fredrik von Essen – 2017-06-28T11:38:51.143
I have added a picture of the waveform. – Carl-Fredrik von Essen – 2017-06-28T22:07:47.457
I said "stretched enough to be visible". Try zooming in horizontally (on the time axis). Also, the format conversion seems to have gone wrong - the original format was unsigned PCM, the Audacity image is signed, but only negative. – dirkt – 2017-06-28T22:13:18.683
Sorry that was the wrong file. – Carl-Fredrik von Essen – 2017-06-29T10:14:24.273
See edited question. However, no matter what I do the waveform looks like a solid static. It is the same in other audioprograms such as wavosaur. In the new picture I have tried some declipping but with no result. – Carl-Fredrik von Essen – 2017-06-29T10:15:47.250
Look at the timescale, you still haven't zoomed in enough to be able to actually see the waveform. If you have trouble using Audacity, please make the WAV file (or part of it) available for download, so I can have a look, and I can also figure out what's wrong with the signed/unsigned thing. I can't teach you to use Audacity with Q&A, and if we have to iterate "zoom in more ... no, even more" a few times, it will take months. – dirkt – 2017-06-29T10:27:07.823
There is not much of an waveform. I have zoomed more and attached a short clip of unchanged audio. – Carl-Fredrik von Essen – 2017-06-29T12:49:50.937
Ok, thanks. I will keep working on it. I am a beginner with both audacity and ffmpeg so I will double check whatever I have done and do some tests on other clips. – Carl-Fredrik von Essen – 2017-06-29T17:37:39.517
Although I think that Dirkt's answer may be applicable on other clips with similar issues. – Carl-Fredrik von Essen – 2017-07-05T09:38:35.217