Могу ли я использовать vlc в Linux для преобразования аудиофайла в m4a для воспроизведения на iPad / iPhone?

704
Tim

Я работал и исследовал этот вопрос большую часть дня. Я нашел несколько онлайн советов, изменил предпочтение FFMPEG (строгое преобразование в -2) и добавил опцию вывода AAC. Я был в состоянии преобразовать файл FLAC в AAC. Но файл не будет воспроизводиться на моем iPad. Он просто говорит «Загрузка» и никогда не завершает загрузку.

Я нахожусь на Arch Linux 64-битной. У меня vlc версия 2.2.2

Видеолан вики говорит, что преобразование аудио в AAC поддерживается, но не дает никаких реальных деталей. Это вообще возможно?

0
Больше информации: я проиграл свой выходной файл в vlc и выбрал Инструменты - Кодеки, убедившись, что vlc видит мой файл как «MPEG AAC Audio (mp4a)». Итак, может быть, реальный вопрос должен быть, почему он не играет на iPad? Tim 8 лет назад 0

2 ответа на вопрос

1
LN2

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.

Спасибо, LN2. Это именно то, что я сделал, за исключением того, что у меня нет доступа к компьютеру iTunes. Я полагаю, что ваше утверждение «Получение аудиофайлов на iOS из системы Linux кажется довольно сложным» - вот суть моей проблемы. Служба поддержки Apple однозначно заявляет, что хост iTunes является единственным способом загрузки файлов в базу данных iOS. Что касается облачных сервисов, я пробовал Google Drive и Mega. Tim 8 лет назад 0
Добро пожаловать @Tim. Вы можете попробовать использовать dropbox, который, по-видимому, сработал, по крайней мере, для людей, на которых есть ссылки в последнем абзаце, и имеет [linux-клиент, который может работать на arch] (https://wiki.archlinux.org/index.php / dropbox) или вы можете попробовать Windows VM и установить Itunes на этом. LN2 8 лет назад 0
Я просто погуглил «проигрывание mp3 на (ipad ИЛИ iphone)» и, как ни странно, одним из лучших решений для вашего случая может быть использование vlc ** на ** iPad, так как он, похоже, поддерживает [медиатеку] (http : //www.videolan.org/vlc/download-ios.html) с [обмен Wi-Fi] (https://wiki.videolan.org/Documentation:IOS/#WiFi_Sharing) LN2 8 лет назад 1
Вау, еще раз спасибо, LN2. VLC на iPad звучит очень многообещающе. Я дам вам знать, как это работает. Tim 8 лет назад 0
1
Tim

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.

Похожие вопросы