0

I have been working and researching this question for much of the day. I found some online advice and changed an FFMPEG preference (strict conversion to -2) and added an AAC output option. I was able to convert a FLAC file to AAC. But, the file will not play on my iPad. It just says "Loading" and never completes loading.

I am on Arch Linux 64-bit. My vlc is version 2.2.2

The videolan wiki says converting audio to AAC is supported, but gives no real details. Is this even possible?

1
  • More info: I played my output file in vlc and selected Tools - Codecs, verifying that vlc sees my file as "MPEG AAC Audio (mp4a)". So, maybe the real question should be, why won't it play on the iPad?
    – Tim
    Apr 22, 2016 at 22:40

2 Answers 2

1

Well, the very short answer to the originally asked question is: Yes, you can use vlc on Linux to convert an audio file encoded with AAC in an MP4 container, that should be able to be played on iOS devices. (I have no iOS device handy to actually test that though.)

Here is a step by step tutorial on how to use vlc for audio file conversions. Note however that in order to use the AAC encoding you probably have to first set the "forced strictness" FFmpeg option to -2 as described here. Unless that is, the FFmpeg version you are using is new enough, then setting the forced strictness option should no longer be necessary.

But having a file in the correct format that is supported on an iOS device, is only one step to actually getting it to play on said device.

The file still needs to be added to the device's database for it to actually be playable.

The method officially supported by Apple is to add the audio files to the itunes library on the PC and then sync said library to the iOS device, as is described here.

In fact even PCM and mp3 audio files should be supported on iOS devices so probably a conversion to aac isn't even necessary.

Getting audio files onto an iOS from a Linux system seems to be quite tricky.

The most reliable way to get audio files onto your iPad and play them, might be to use a cloud service like dropbox, as described here.

4
  • Thank you, LN2. That is exactly all the stuff I have done, except that I don't have access to an iTunes machine. I believe your statement, "Getting audio files onto an iOS from a Linux system seems to be quite tricky" is the crux of my problem. Apple Support states flatly that an iTunes host is the only way to get the files into the iOS database. As for cloud services, I have tried Google Drive and Mega.
    – Tim
    Apr 26, 2016 at 1:12
  • You're very welcome @Tim. You could either try dropbox, which seems to have worked at least for the people linked to in the last paragraph, and does have a linux client that might work on arch or you could try a windows VM and install itunes on that.
    – LN2
    Apr 26, 2016 at 2:27
  • 1
    I just googled "playing your mp3 on an (ipad OR iphone)" and funnily enough one of the best solutions for your case might be to use vlc on the iPad since it seems to support a media library with wifi sharing
    – LN2
    Apr 26, 2016 at 2:44
  • Wow, thanks again, LN2. vlc on the iPad sounds very promising. I'll let you know how it works out.
    – Tim
    Apr 27, 2016 at 19:50
1

Ok, the answer is that, yes, the file can be created with vlc on Linux as a perfectly good m4a file that should be playable on iTunes on an iPad or iPhone. However, the file can only be transferred to iTunes on iOS from an iTunes Mac or Windows host, according to Apple Support. I do not own such a system.

Thanks to LN2, I installed vlc for iOS on my iPad. I can store the m4a file on Google Drive and copy it from there to vlc on the iPad, where it plays just fine.

So, while this is not a total solution, it is a good, usable workaround.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .