ALAC lossless encoding

Mike Elberg's Avatar

Mike Elberg

16 Jul, 2014 06:00 PM

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.

  1. Support Staff 1 Posted by Kevin van Zonne... on 17 Jul, 2014 08:03 AM

    Kevin van Zonneveld's Avatar

    Hi Mike,

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

    Kind regards,
    Kevin

  2. 2 Posted by Mike Elberg on 17 Jul, 2014 02:43 PM

    Mike Elberg's Avatar

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

  3. 3 Posted by Mike Elberg on 22 Jul, 2014 03:49 PM

    Mike Elberg's Avatar

    Did you make any progress on this issue?

  4. Support Staff 4 Posted by Kevin van Zonne... on 23 Jul, 2014 01:52 PM

    Kevin van Zonneveld's Avatar

    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

  5. Support Staff 5 Posted by Kevin van Zonne... on 23 Jul, 2014 07:25 PM

    Kevin van Zonneveld's Avatar

    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?

    {
      "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

  6. 6 Posted by Mike Elberg on 24 Jul, 2014 01:40 PM

    Mike Elberg's Avatar

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

    Mike

  7. Support Staff 7 Posted by Kevin van Zonne... on 25 Jul, 2014 08:20 AM

    Kevin van Zonneveld's Avatar

    Hi Mike,

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

    Kind regards,
    Kevin

  8. 8 Posted by Mike Elberg on 27 Jul, 2014 02:23 PM

    Mike Elberg's Avatar

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

    8617fb30159011e48214c9ca0befd314
    69b5fcc0153211e49fb59d7fc80efd48
    b2329ad0152d11e4b2110d23aaf1cb58

  9. Support Staff 9 Posted by Kevin van Zonne... on 27 Jul, 2014 07:21 PM

    Kevin van Zonneveld's Avatar

    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) 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

  10. 10 Posted by Mike Elberg on 28 Jul, 2014 01:21 PM

    Mike Elberg's Avatar

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

    Mike

  11. Support Staff 11 Posted by Kevin van Zonne... on 28 Jul, 2014 08:04 PM

    Kevin van Zonneveld's Avatar

    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

  12. 12 Posted by Mike Elberg on 12 Aug, 2014 05:44 PM

    Mike Elberg's Avatar

    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.

  13. Support Staff 13 Posted by Tim Koschützki on 13 Aug, 2014 06:07 AM

    Tim Koschützki's Avatar

    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

  14. 14 Posted by Mike Elberg on 13 Aug, 2014 02:16 PM

    Mike Elberg's Avatar

    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.

  15. Support Staff 15 Posted by Tim Koschützki on 14 Aug, 2014 07:02 AM

    Tim Koschützki's Avatar

    Alright, sounds good!

  16. Support Staff 16 Posted by Tim Koschützki on 28 Apr, 2015 01:19 PM

    Tim Koschützki's Avatar

    This discussion has been inactive for 30 days and has been marked as resolved automatically.
    Feel free to reply to this ticket to re-open it and we will continue the investigation.

    Kind regards,
    Tim

    Co-Founder Transloadit

  17. Tim Koschützki closed this discussion on 28 Apr, 2015 01:19 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

20 Nov, 2016 02:52 AM
29 Oct, 2015 05:01 AM
27 Oct, 2015 05:01 AM
27 Oct, 2015 05:01 AM
26 Oct, 2015 05:03 AM

 

26 Oct, 2015 05:02 AM
26 Oct, 2015 05:02 AM
26 Oct, 2015 05:02 AM
26 Oct, 2015 05:02 AM
26 Oct, 2015 05:02 AM
26 Oct, 2015 05:01 AM