I have a 450MB+ wma file that, when loaded into Goldwave, is
apparently extracted to uncompressev wav taking several gigabytes of
hard disk space, and leaving me without disk space on this space
constrained laptop.
I need to cut just the last quarter of the file.
I tried using a file splitter (HJSplit for Java) but then Goldwave
doesn't know what file type the last fourth segment is.
I thought " hey, it should be a matter of reading the first few bytes
of the file header, then paste that into the segment cut" but then I
looked on Google and found that WMA is actually an ASF file containing
the sound data IN THE HEADER.
What a bloody mess...
So before I give up. Any ideas?
FC
cutmp3, quelcom
I think there is a third, but "apt-cache search mp3 cut" didn't find it.
--
> I thought " hey, it should be a matter of reading the first few bytes
> of the file header, then paste that into the segment cut" but then I
> looked on Google and found that WMA is actually an ASF file containing
> the sound data IN THE HEADER.
no, WMA is an ASF file containing the sound data in the ASF data, not the header.
so, its a regular ASF file with audio only.
> What a bloody mess...
no.
> So before I give up. Any ideas?
to edit WMA/ASF files you need a sw that can read and write ASF format, e.g. ffmpeg
--
_____________________________________________
stel valavanis http://www.onshore.com/
I'm pretty sure sox will do a decode/encode cycle, reducing quality...
However, to add two more to my list ffmpeg (as someone else said) and
probably mencoder as well.
--
Sorry, apparently I misread from here:
-------------------------------------------------------------------------------------------------------
* From: "Alessandro Angeli" <nobody@xxxxxxxxxxxxxxxxxx>
* Date: Mon, 25 Aug 2008 11:38:23 -0400
From: "lokeswara"
what is the header size of WMA file. Is it varies from
file to file or fixed? If varies, then what is range of
The WMA header size varies and can range from a few dozen
bytes to several megabytes, depeding on the content (e.g.
the metadata is stored in the header).
(...)
A WMA file is an ASF file that contains WMA audio. You can
read everything about the ASF file header in the public ASF
specification:
--
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
-------------------------------------------------------------------------------------------------------
So I misread the statement that the header "can be a few bytes to a
few megabytes" due to the inclusion of metadata... I somehow thought
it meant the sound data was embedded into the header.
http://www.tech-archive.net/Archive/Media/microsoft.public.windowsmedia.sdk/2008-08/msg00080.html
Thanks everyone for their suggestions.
Right now, I think getting oggtools, to convert wma to ogg, (and
compiling it into a win32 version with cygwin) is going to be my best
bet... once the audio file is in ogg, I can use oggcut from oggtools
...
Thanks,
FC