Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Save Wav Adds Junk Metadata In File
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
isidro
Posted: Nov 19 2012, 10:47 PM


Advanced Member


Group: Members
Posts: 82
Member No.: 7195
Joined: 8-November 03



When I binary compare extracted WAVs from AVIs, I find out that there's a small block (titled JUNK followed by some 0x00) right after the header, I get some warnings in other programs (ie FLAC) about this metadata being lost. Could it be posible to generate WAVs without this metadata?
Or else whats the use for it?
Thanks!
 
     Top
dloneranger
Posted: Nov 20 2012, 06:15 AM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



It's normal behaviour for virtualdub
JUNK sections are just that, a small section of 'you can ignore this bit' that can be discarded
You can just let any other program discard it

There are 2 sizes of wav headers - the normal wav header and a larger one for files over 2GB
What happens is that the largest size is saved at the beginning, then the wav data is saved
Then if the file is >2GB the WAV64 header is filled in
If the file is <2GB, the normal wav header is filled in
But because the normal header is smaller, there are a few bytes of nothing in between the header and the data, so that's filled in with the JUNK section


--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
phaeron
Posted: Nov 24 2012, 08:47 PM


Virtualdub Developer


Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02



That's pretty strange... no program should be warning about a "JUNK" chunk being lost. It's specifically for padding out parts of the file and doesn't have any attached meaning.
 
    Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
2 replies since Nov 19 2012, 10:47 PM Track this topic | Email this topic | Print this topic

<< Back to Testing / Bug Reports