Creating 2 seconds on wma files

Help for Audacity on Windows.
Forum rules
ImageThis forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
RunrigCorvusCoraxFan
Posts: 70
Joined: Fri Jun 17, 2011 3:01 pm
Operating System: Windows 10

Re: Creating 2 seconds on wma files

Post by RunrigCorvusCoraxFan » Fri Nov 07, 2014 11:47 pm

Has anyone tested this yet?

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Creating 2 seconds on wma files

Post by steve » Sat Nov 08, 2014 2:58 am

What format are you exporting as? (I can't see that in your video).
If you import the exported song back into Audacity, how long does Audacity say it is?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Creating 2 seconds on wma files

Post by Gale Andrews » Sat Nov 08, 2014 9:16 pm

RunrigCorvusCoraxFan wrote:Has anyone tested this yet?
Thanks for the report. There is no issue with FFmpeg 2.2.2 itself run at the command-line, outside of Audacity. The Audacity problem is only in how Audacity is writing the length into the file headers, not with the actual length of the file, which is correct.

Perhaps due to some change in the new FFmpeg version that Audacity didn't take account of, Windows, MediaInfo, dBPowerAmp and Foobar2000 all think a 1.025 seconds WMA file exported by Audacity 2.0.6 is 3.023 seconds long, whereas they see the same file exported by 2.0.5 as 1.025 seconds long. However both the 2.0.5 and 2.0.6 file are the expected length - try dragging the file from 2.0.6 back into Audacity.

So if you play the file in Media Player, the play bar will look like about 3 seconds, but the file will stop playing as expected just after 1 second.

Note that like MP3, WMA is not length accurate, as per the design of the format. Some milliseconds of silence padding is added to the start of the file, and the exported file is extended by a little less than the padding, meaning a very little of the audio is lost from the end of the exported file.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

RunrigCorvusCoraxFan
Posts: 70
Joined: Fri Jun 17, 2011 3:01 pm
Operating System: Windows 10

Re: Creating 2 seconds on wma files

Post by RunrigCorvusCoraxFan » Wed Nov 19, 2014 6:54 am

Thanks for the report. There is no issue with FFmpeg 2.2.2 itself run at the command-line, outside of Audacity. The Audacity problem is only in how Audacity is writing the length into the file headers, not with the actual length of the file, which is correct.

Perhaps due to some change in the new FFmpeg version that Audacity didn't take account of, Windows, MediaInfo, dBPowerAmp and Foobar2000 all think a 1.025 seconds WMA file exported by Audacity 2.0.6 is 3.023 seconds long, whereas they see the same file exported by 2.0.5 as 1.025 seconds long. However both the 2.0.5 and 2.0.6 file are the expected length - try dragging the file from 2.0.6 back into Audacity.

So if you play the file in Media Player, the play bar will look like about 3 seconds, but the file will stop playing as expected just after 1 second.

Note that like MP3, WMA is not length accurate, as per the design of the format. Some milliseconds of silence padding is added to the start of the file, and the exported file is extended by a little less than the padding, meaning a very little of the audio is lost from the end of the exported file.
OK Gale. I got your message. I unistalled 2.5 with 2.6. I exported a track which was 1:56 in 2,05, on exporting, same duration. On 2.6, with the new ffmeg, it was 1.58. Now when playing in through JetAudio, it's 1:56, yet on explorer, its 1:58, opening the file, the wave length runs to 1.58 :idea: ?

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Creating 2 seconds on wma files

Post by Gale Andrews » Wed Nov 19, 2014 8:48 pm

RunrigCorvusCoraxFan wrote:On 2.6, with the new ffmeg, it was 1.58. Now when playing in through JetAudio, it's 1:56, yet on explorer, its 1:58, opening the file, the wave length runs to 1.58
Opening the file where? Are you talking about 1 minute, 58 seconds?

If I export a 1 minute 56 seconds selection in Audacity 2.0.7-alpha, the WMA is 1 minute 56 seconds and 7 milliseconds when imported back into Audacity, much as one would expect.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

RunrigCorvusCoraxFan
Posts: 70
Joined: Fri Jun 17, 2011 3:01 pm
Operating System: Windows 10

Re: Creating 2 seconds on wma files

Post by RunrigCorvusCoraxFan » Thu Nov 20, 2014 12:11 am

Opening the file from the folder, I haven't compared the minniseconds; but surely if you export as wma on 2.5 and it has the same durations, that 2.6 would be the same.

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Creating 2 seconds on wma files

Post by Gale Andrews » Thu Nov 20, 2014 12:03 pm

RunrigCorvusCoraxFan wrote:Opening the file from the folder, I haven't compared the minniseconds; but surely if you export as wma on 2.5 and it has the same durations, that 2.6 would be the same.
The actual file length exported in 2.0.6 is the same as in 2.0.5, but other applications read the reported length of the 2.0.6 files as 2 seconds longer than they actually are.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

RunrigCorvusCoraxFan
Posts: 70
Joined: Fri Jun 17, 2011 3:01 pm
Operating System: Windows 10

Re: Creating 2 seconds on wma files

Post by RunrigCorvusCoraxFan » Sat Aug 31, 2019 12:40 am

Same issue here. I ripped album

4:56

It converted at 4:58

Post Reply