# ALAC lossless encoding

**URL:** <https://community.transloadit.com/t/alac-lossless-encoding/18327>\
**Category:** Transloadit\
**Tags:** tender-archive\
**Created:** [July 16, 2014, 6:00pm UTC](https://community.transloadit.com/t/alac-lossless-encoding/18327 "2014-07-16T18:00:00Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mike\_Elberg](https://avatars.discourse-cdn.com/v4/letter/m/c67d28/32.png) [@Mike\_Elberg](https://community.transloadit.com/u/Mike_Elberg)\
**Post date:** [July 16, 2014, 6:00pm UTC](https://community.transloadit.com/t/alac-lossless-encoding/18327/1 "2014-07-16T18:00:00Z")

</div>

> Archived from the Transloadit support forum. Originally posted on July 16, 2014; details may be outdated, see [our docs](https://transloadit.com/docs/) for current behavior. [Original thread](https://web.archive.org/web/20150420063839/http://support.transloadit.com/discussions/problems/99963-alac-lossless-encoding)

Ever since we started encoding the ALACs with transloadit, we have been getting an error saying that the files are not lossless when submitting to iTunes. In the past when we encoded the files with dbPoweramp, we could take the ALAC files and upload them directly to iTunes.

Please see if this can be corrected. I am including a sreen shot.

---

<div class="post-metadata">

**Author:** ![kvz](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/kvz/32/606_2.png) [@kvz](https://community.transloadit.com/u/kvz)\
**Post date:** [July 17, 2014, 8:03am UTC](https://community.transloadit.com/t/alac-lossless-encoding/18327/2 "2014-07-17T08:03:00Z")

</div>

Hi Mike,

I would need to look into it. Do you have an assembly id so I can check it out?

Kind regards,  
Kevin

---

<div class="post-metadata">

**Author:** ![Mike\_Elberg](https://avatars.discourse-cdn.com/v4/letter/m/c67d28/32.png) [@Mike\_Elberg](https://community.transloadit.com/u/Mike_Elberg)\
**Post date:** [July 17, 2014, 2:43pm UTC](https://community.transloadit.com/t/alac-lossless-encoding/18327/3 "2014-07-17T14:43:00Z")

</div>

Every assembly that created alac (m4a) files has this problem. Here is an assembly id from the screenshot I sent earlier: REDACTED

---

<div class="post-metadata">

**Author:** ![Mike\_Elberg](https://avatars.discourse-cdn.com/v4/letter/m/c67d28/32.png) [@Mike\_Elberg](https://community.transloadit.com/u/Mike_Elberg)\
**Post date:** [July 22, 2014, 3:49pm UTC](https://community.transloadit.com/t/alac-lossless-encoding/18327/4 "2014-07-22T15:49:00Z")

</div>

Did you make any progress on this issue?

---

<div class="post-metadata">

**Author:** ![kvz](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/kvz/32/606_2.png) [@kvz](https://community.transloadit.com/u/kvz)\
**Post date:** [July 23, 2014, 1:52pm UTC](https://community.transloadit.com/t/alac-lossless-encoding/18327/5 "2014-07-23T13:52:00Z")

</div>

Hi Mike,

We released an Heroku addon yesterday and are currently swamped dealing with the first feedback, we’ll attend to your assembly soon!

Sorry for the delays,

Kevin

---

<div class="post-metadata">

**Author:** ![kvz](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/kvz/32/606_2.png) [@kvz](https://community.transloadit.com/u/kvz)\
**Post date:** [July 23, 2014, 7:25pm UTC](https://community.transloadit.com/t/alac-lossless-encoding/18327/6 "2014-07-23T19:25:00Z")

</div>

Hello Mike,

After some investigation I have the idea it could be related to settings inside the alac preset.

Could you try not using the preset, but these parameters instead?

```auto
{
  "robot" : "/audio/encode",
  "ffmpeg_stack": "v2.1.0",
  "ffmpeg" : {
    "map": [
      "0",
      "-0:d",
      "-0:s",
      "-0:v"
    ],
    "f" : "m4a",
    "id3v2_version": 3,
    "write_id3v1" : 1,
    "codec:a" : "alac"
  }
}

```

Please remember to add the appropriate `use` parameter.

If I am correct, we will update the preset (in a later stack version though as to not break backwards compatibility).

Kind regards,  
Kevin

---

<div class="post-metadata">

**Author:** ![Mike\_Elberg](https://avatars.discourse-cdn.com/v4/letter/m/c67d28/32.png) [@Mike\_Elberg](https://community.transloadit.com/u/Mike_Elberg)\
**Post date:** [July 24, 2014, 1:40pm UTC](https://community.transloadit.com/t/alac-lossless-encoding/18327/7 "2014-07-24T13:40:00Z")

</div>

Do you still want me to try the template adjustment you suggested in your previous message?

Mike

---

<div class="post-metadata">

**Author:** ![kvz](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/kvz/32/606_2.png) [@kvz](https://community.transloadit.com/u/kvz)\
**Post date:** [July 25, 2014, 8:20am UTC](https://community.transloadit.com/t/alac-lossless-encoding/18327/8 "2014-07-25T08:20:00Z")

</div>

Hi Mike,

Yes if you could check if the settings I supplied yield your expected results that would be great!

Kind regards,  
Kevin

---

<div class="post-metadata">

**Author:** ![Mike\_Elberg](https://avatars.discourse-cdn.com/v4/letter/m/c67d28/32.png) [@Mike\_Elberg](https://community.transloadit.com/u/Mike_Elberg)\
**Post date:** [July 27, 2014, 2:23pm UTC](https://community.transloadit.com/t/alac-lossless-encoding/18327/9 "2014-07-27T14:23:00Z")

</div>

The settings did not work. We tried with three jobs and they all failed. Here are the assembly ids:

REDACTED  
REDACTED  
REDACTED

---

<div class="post-metadata">

**Author:** ![kvz](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/kvz/32/606_2.png) [@kvz](https://community.transloadit.com/u/kvz)\
**Post date:** [July 27, 2014, 7:21pm UTC](https://community.transloadit.com/t/alac-lossless-encoding/18327/10 "2014-07-27T19:21:00Z")

</div>

Hi Mike,

The output mentions m4a is not a suitable output format. That’s ‘correct’ as we only support demuxing from m4a ([https://transloadit.com/docs/supported-formats](https://transloadit.com/docs/supported-formats)) sorry I missed that.

I think a workaround is using the `.ipod` format. Our ffmpeg can write to that format, iTunes can read it, and it supports the ALAC codec. So `"f": "ipod"`.

Hope this helps!

Kind regards,  
Kevin

---

<div class="post-metadata">

**Author:** ![Mike\_Elberg](https://avatars.discourse-cdn.com/v4/letter/m/c67d28/32.png) [@Mike\_Elberg](https://community.transloadit.com/u/Mike_Elberg)\
**Post date:** [July 28, 2014, 1:21pm UTC](https://community.transloadit.com/t/alac-lossless-encoding/18327/11 "2014-07-28T13:21:00Z")

</div>

We iPod format produce m4a file? We need to have .m4a for our purposes

Mike

---

<div class="post-metadata">

**Author:** ![kvz](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/kvz/32/606_2.png) [@kvz](https://community.transloadit.com/u/kvz)\
**Post date:** [July 28, 2014, 8:04pm UTC](https://community.transloadit.com/t/alac-lossless-encoding/18327/12 "2014-07-28T20:04:00Z")

</div>

Hi Mike,

Unfortunately we do not support encoding to m4a. Only decoding (demuxing).  
However the ipod format was used by the alac preset, which was in turn used in your assemblies. My guess is that you used the a final (export) step to make the files have an m4a extension? While in fact the file’s format was ipod already. It’s possible Apple/iTunes will gracefully this inconsistency though, which probably is what made this work (be it not lossless) in the first place.

Let me know what you think,

Kevin

---

<div class="post-metadata">

**Author:** ![Mike\_Elberg](https://avatars.discourse-cdn.com/v4/letter/m/c67d28/32.png) [@Mike\_Elberg](https://community.transloadit.com/u/Mike_Elberg)\
**Post date:** [August 12, 2014, 5:44pm UTC](https://community.transloadit.com/t/alac-lossless-encoding/18327/13 "2014-08-12T17:44:00Z")

</div>

Some folks are having issues playing m4a files in VLC player.

In VLC they try to open as videos and on the information tab the alac files all have the “Stream 0 Video” and “Stream 1 Audio” instead of only “Stream 0 Audio”.

Could this be related to the issue? Screenshot attached.

---

<div class="post-metadata">

**Author:** ![tim-kos](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@tim-kos](https://community.transloadit.com/u/tim-kos)\
**Post date:** [August 13, 2014, 6:07am UTC](https://community.transloadit.com/t/alac-lossless-encoding/18327/14 "2014-08-13T06:07:00Z")

</div>

Hey Mike,

not sure if this is related, I doubt it. Does this happen all the time? What are some assembly IDs of result files where this occurred?

Kind regards,  
Tim

Co-Founder Transloadit  
@tim\_kos

---

<div class="post-metadata">

**Author:** ![Mike\_Elberg](https://avatars.discourse-cdn.com/v4/letter/m/c67d28/32.png) [@Mike\_Elberg](https://community.transloadit.com/u/Mike_Elberg)\
**Post date:** [August 13, 2014, 2:16pm UTC](https://community.transloadit.com/t/alac-lossless-encoding/18327/15 "2014-08-13T14:16:00Z")

</div>

We are trying to use the preset options for iPod as Kevin suggested earlier. Seems like that works.

If all testing works and everyone is happy with mp4 file output instead of m4a, we should be OK. I’ll let you know as soon as I hear.

---

<div class="post-metadata">

**Author:** ![tim-kos](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@tim-kos](https://community.transloadit.com/u/tim-kos)\
**Post date:** [August 14, 2014, 7:02am UTC](https://community.transloadit.com/t/alac-lossless-encoding/18327/16 "2014-08-14T07:02:00Z")

</div>

Alright, sounds good!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex032/uploads/transloadit/original/1X/04ee57da0cb7ac8728a9ac5965c288164f4ce280.svg) [@system](https://community.transloadit.com/u/system)\
**Post date:** [October 7, 2026, 10:59am UTC](https://community.transloadit.com/t/alac-lossless-encoding/18327/17 "2026-10-07T10:59:28Z")

</div>

Closed on October 7, 2026, 10:59am UTC


