Re: [Audacity-quality] Stereo AIF files import as silence when using FFmpeg importer
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
|
From: Bill W. <bi...@go...> - 2012-06-26 22:02:43
|
Well, this is embarrassing … *Some* AIFFs fail with "FFmpeg-compatible files" and some don't. They were all created with Audacity. I can't find any rhyme or reason to it. I could put a sample of a file that fails up on DropBox if that would help. Apparently the stereo/mono divide I initially saw was spurious - the mono file succeeded not because it was mono but because it was somehow "different". Al that remains is the very minor bug where "FFmpeg-compatible files" uses libsndfile on the very first launch of Audacity (until the .cfg is created). -- Bill On 26/06/2012, at 5:28 PM, Bill Wharrie wrote: > Restricting this thread to -quality, as we have decided it is not a release blocking bug. > > On 26/06/2012, at 5:02 PM, Gale Andrews wrote: > >> >> Bill, >> >> 2.0.0 release does demonstrate the issue that >> "FFmpeg-compatible files" uses libsndfile until there is a .cfg file. > > Actually probably more complicated than that. See below. > >> >> I cannot yet reproduce the problem with libav importing stereo >> AIFF as silence in 2.0.1rc2 or 2.0.0 release, using an AIFF exported >> by Audacity. > > On your Mac as well as Windows? If so then we have a non-bug; something that is peculiar to my machine. > >> >> The Audacity-exported AIFF imports normally both after OK in >> Audacity > Preferences and after then quitting and restarting >> Audacity. This is using the same FFmpeg as you (the zip file of >> FFmpeg 0.6.2). >> >> However as I am using the zip, I have to do more than just click >> OK in Prefs after the libsndfile import. I have to open the Libraries >> Prefs and locate FFmpeg where I put it (in Applications). I would >> not think that would explain the difference we see, but you may >> want to test that. > > Clicking OK in Prefs was just to create the .cfg file, or so I thought. > > Testing with 1.3.14 … > Remove FFmpeg files from default system location > Start 1.3.14 > File > Import > Audio; "FFmpeg-compatible files"; choose an AIF; imports with libsndfile > Preferences > Libraries; locate FFmpeg files in non-system location; OK > - .cfg is NOT created (creation of the .cfg on OK in prefs started with 2.0.0) > File > Import > Audio; "FFmpeg-compatible files"; choose an AIF; imports as silence > > So it appears that the existence of the .cfg is not the trigger to use FFmpeg instead of libsndfile. Somehow doing OK in preferences (any pref pane) is needed for Audacity to recognize that the FFmpeg libraries are available? > >> >> >> What app produced your stereo AIFF? Were you using the same >> AIFF to test in 1.3.14? > > The AIFF was produced by Audacity, and yes I used the same AIFF in all cases. It imports fine into iTunes. I also tried several other Audacity-produced AIFFs with the same results. > > -- Bill > >> >> >> >> >> Gale >> >> >> | From Bill Wharrie <bi...@go...> >> | Tue, 26 Jun 2012 15:40:26 -0400 >> | Subject: [Audacity-quality] [Audacity-devel] Stereo AIF files import as silence when using FFmpeg importer >>> >>> On 26/06/2012, at 3:14 PM, Gale Andrews wrote: >>> >>>> >>>> | From Bill Wharrie <bi...@go...> >>>> | Tue, 26 Jun 2012 12:34:50 -0400 >>>> | Subject: [Audacity-quality] Stereo AIF files import as silence when using FFmpeg importer >>>>> I came across this while testing OD-import using FFmpeg (which seems to work fine). >>>>> >>>>> I don't think this is a release blocker for 2.0.1. Possibly P3 (if it is not already in Bugzilla - I couldn't find it) >>>>> as there is a simple workaround - don't use FFmpeg to import stereo AIF files. >>>> >>>> Not in bugzilla - not known of before now. >>>> >>>> >>>>> Cross-posting to -devel as it is up to RM to decide the severity of this bug. >>>> >>>> Does 2.0.0 release exhibit the behaviour you note with silenced import? >>>> If not, it would tend to increase the severity towards release blocker: >>>> >>>> "Never less good overall than the standard set by 2.0.0 - only trivial >>>> regressions are likely to be tolerated in a release." >>> >>> 1.3.14 (at least) is the same on Mac. So I'd say not a release blocker, maximum P3. >>> >>> >>> >>>>> Audacity 2.0.1. Mac OSX 10.7.2. Clean install (no audacity.cfg file, no 1.2.x prefs existing on the system). FFmpeg files in standard location and found on startup. >>>>> >>>>> Start Audacity. >>>>> File > Import > Audio; choose "FFmpeg-compatible files" then choose a WAV or AIF file >>>>> - the file imports with libsndfile complete with the "uncompressed file warning" dialog. >>> >>> Same on 1.3.14. >>> >>>> >>>> Testing on Win 7 x64. >>>> >>>> 2.0.0 and 1.3.14 do that too with stereo WAV or AIFF, from no or >>>> initialised .cfg with no 1.2 settings present, so at least that part is >>>> not a regression on 2.0.0. Looks like a separate P3, on its own? >>> >>> Yes, not a regression and a separate P3 or P4 on its own. As soon as there is a .cfg file this problem goes away, so certainly an edge case. >>> >>>> >>>> >>>>> Delete track >>>> >>>> I assume you mean using [X] on Track Control Panel, which I >>>> did. >>> >>> Yes, that's what I meant. >>> >>>> >>>> >>>>> Preferences > OK >>>>> - note that audacity.cfg is created at this point. >>>> >>>> Agreed. >>> >>> In 1.3.14 on Mac, audacity.cfg is not created at this point. Need to quit Audacity for audacity.cfg to be created. >>>> >>>> >>>>> File > Import > Audio; choose "FFmpeg-compatible files" then choose a stereo AIF file >>>>> - the file imports as silence >>>> >>>> Stereo AIFF and WAV imports properly with libav here. >>> >>> In 1.3.14 on Mac, after quit and restart (thus creating audacity.cfg), importing a stereo AIF with "FFmpeg-compatible files" imports as silence. >>> >>> So this part would appear to be a Mac only problem (at least until we hear from Linux testers). >>> >>> My FFmpeg version numbers are F(52.64.2),C(52.72.2),U(50.15.1) >>> >>> -- Bill >>> >>>> >>>> >>>> >>>> >>>> Gale >>>> >>>> >>>> >>>>> Log says: >>>>> 11:45:00: File name is /path/to/file.aiff >>>>> 11:45:00: Mime type is * >>>>> 11:45:00: Opening with libav >>>>> 11:45:00: Open(/path/to/file.aiff) succeeded >>>>> Delete track >>>>> File > Import > Audio; choose "FFmpeg-compatible files" then choose a MONO AIF file >>>>> - file imports successfully >>>>> Delete Track >>>>> File > Import > Audio; choose "FFmpeg-compatible files" then choose a stereo WAV file >>>>> - file imports successfully >>>>> Delete track >>>>> Preferences > Libraries; check "Allow background on-demand loading"; OK >>>>> File > Import > Audio; choose "FFmpeg-compatible files" then choose a stereo AIF file >>>>> - the file imports as noise >>>>> Delete track >>>>> File > Import > Audio; choose "FFmpeg-compatible files" then choose a MONO AIF file >>>>> - file imports successfully >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Live Security Virtual Conference >>>> Exclusive live event will cover all the ways today's security and >>>> threat landscape has changed and how IT managers can respond. Discussions >>>> will include endpoint security, mobile security and the latest in malware >>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>> _______________________________________________ >>>> audacity-devel mailing list >>>> aud...@li... >>>> https://lists.sourceforge.net/lists/listinfo/audacity-devel >>> >>> >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. Discussions >>> will include endpoint security, mobile security and the latest in malware >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> _______________________________________________ >>> Audacity-quality mailing list >>> Aud...@li... >>> https://lists.sourceforge.net/lists/listinfo/audacity-quality >> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> audacity-devel mailing list >> aud...@li... >> https://lists.sourceforge.net/lists/listinfo/audacity-devel > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Audacity-quality mailing list > Aud...@li... > https://lists.sourceforge.net/lists/listinfo/audacity-quality |