11 votes

Adding your own multi-channel audio to Music app

16 comments

  1. [9]
    PigeonDubois
    Link
    Is there any reason you can't just sync the files straight to your phone? Why would you go through all the effort and compromises to get it up onto icloud library?

    Is there any reason you can't just sync the files straight to your phone? Why would you go through all the effort and compromises to get it up onto icloud library?

    3 votes
    1. [8]
      gingerbeardman
      Link Parent
      What files would you sync? Would they be playable? I ask only because you make that method sound easy but all I see are unanswered questions and uncertainty. I've not done a USB sync for years,...

      What files would you sync? Would they be playable? I ask only because you make that method sound easy but all I see are unanswered questions and uncertainty. I've not done a USB sync for years, maybe it still works, but it would only get the files on one device and I want them to be accessible on all my devices. It wasn't much effort, it took me longer to write the blog post!

      2 votes
      1. [7]
        PigeonDubois
        Link Parent
        I'm definitely not an expert and I only have one device that I still sync over usb, so I'm a bit old fashioned and I could be way off the mark here. Also I wasn't expecting to talk to the blog...

        I'm definitely not an expert and I only have one device that I still sync over usb, so I'm a bit old fashioned and I could be way off the mark here. Also I wasn't expecting to talk to the blog writer, I was trying to ask a question to learn myself.

        But after all of your ffmpeg encoding you end up with a regular music file, right? Then you add to music.app before uploading to icloud library. But if you just synced your phone the regular way instead, would you be able to bypass the 256 bitrate limit?

        1 vote
        1. gingerbeardman
          Link Parent
          So I did some reading and manual syncing is still possible: https://support.apple.com/en-gb/guide/music/mus86d751aec/mac though I might have to switch some things off to be able to do it. I'll try...

          So I did some reading and manual syncing is still possible: https://support.apple.com/en-gb/guide/music/mus86d751aec/mac though I might have to switch some things off to be able to do it.

          I'll try it soon and let you know. :)

        2. [3]
          gingerbeardman
          Link Parent
          So it seems that because I use Cloud Library I'm excluded from syncing over the wire. It's either or. And I don't really want to toggle the Cloud Library because it will reset the music I...

          So it seems that because I use Cloud Library I'm excluded from syncing over the wire. It's either or. And I don't really want to toggle the Cloud Library because it will reset the music I currently have downloaded on my iPhone. So, I won't be able to try that method after all. But thanks for the suggestion!

          1. [2]
            PigeonDubois
            Link Parent
            Seems like a strange restriction but I guess you can only do what you can. Seems like you found a good method that works for you. On a slightly different note, how is music.app compared to itunes,...

            Seems like a strange restriction but I guess you can only do what you can. Seems like you found a good method that works for you.

            On a slightly different note, how is music.app compared to itunes, specifically in how it manages large local libraries? I have a very old macbook that still has itunes and the lack of it in the newer versions of macOS has been a big concern when I think about of upgrading.

            1. gingerbeardman
              Link Parent
              Music.app is basically iTunes by another name, with years of extra baggage and hacks added on. Most of the internet connected stuff in it runs in a web view anyway. So I infrequently get web...

              Music.app is basically iTunes by another name, with years of extra baggage and hacks added on. Most of the internet connected stuff in it runs in a web view anyway. So I infrequently get web errors in the main view! It's ridiculous. https://imgur.com/a/AUGm2Sg

              2 votes
        3. [2]
          gingerbeardman
          Link Parent
          Turns out you can do this trick with any bitrate files. The hard work was getting the conversion workflow to produce consistent files that would be uploaded and played. So, now I do it with much...

          Turns out you can do this trick with any bitrate files. The hard work was getting the conversion workflow to produce consistent files that would be uploaded and played. So, now I do it with much higher bitrate files.

  2. [6]
    Carrow
    Link
    I see you're passing ffmpeg a mkv file. I've used mkvtoolnix to split a single input into a file per chapter, it's got an option for it in the GUI. You could also use it to pull out just the audio...

    I see you're passing ffmpeg a mkv file. I've used mkvtoolnix to split a single input into a file per chapter, it's got an option for it in the GUI. You could also use it to pull out just the audio stream. There's some other tools out there that can do the split as well, perhaps check out handbrake if you can't get mkvtoolnix going on Mac.

    You could also do this with ffmpeg, using ffprobe to get chapter info and splitting by that.

    1 vote
    1. [4]
      tomf
      Link Parent
      for CLI, you'd do mkvmerge -o out.mkv --split chapters:all coolvideo.mkv and it would spit them out as out-001.mkv etc

      for CLI, you'd do mkvmerge -o out.mkv --split chapters:all coolvideo.mkv and it would spit them out as out-001.mkv etc

      2 votes
      1. [3]
        gingerbeardman
        Link Parent
        very cool! thanks for that. should I assume that the DTS stream is unaffected by the split?

        very cool! thanks for that. should I assume that the DTS stream is unaffected by the split?

        1 vote
        1. [2]
          tomf
          Link Parent
          yeah, its a straight split like doing ffmpeg -i coolvideo.mkv -ss 01:23:45 -t 00:05:00 -c copy fiveMinutePart.mkv. with FFMPEG, I think you need to export the chapters with ffprobe first or...

          yeah, its a straight split like doing ffmpeg -i coolvideo.mkv -ss 01:23:45 -t 00:05:00 -c copy fiveMinutePart.mkv. with FFMPEG, I think you need to export the chapters with ffprobe first or something. Its far more complicated. :)

          1. gingerbeardman
            Link Parent
            I think the DTS stream is cut in an unclean way as some of the individual tracks have clicks at the beginning/ends, but it's good enough for me for listening on my walks.

            I think the DTS stream is cut in an unclean way as some of the individual tracks have clicks at the beginning/ends, but it's good enough for me for listening on my walks.

            1 vote
    2. gingerbeardman
      Link Parent
      I did have a quick look at both mkvtoolnix (runs fine, couldn't get it to split) and ffprobe (requires serious scripting), but decided against going further. Mostly due to lack of time, and the...

      I did have a quick look at both mkvtoolnix (runs fine, couldn't get it to split) and ffprobe (requires serious scripting), but decided against going further. Mostly due to lack of time, and the fact that I listen to this stuff as complete albums anyway.

      1 vote
  3. Weldawadyathink
    Link
    Thanks for posting this. I don’t have any music I would want to add to my library, but it’s nice to know it’s possible. It’s kind of amazing how open and extendable the Apple Music service is...

    Thanks for posting this. I don’t have any music I would want to add to my library, but it’s nice to know it’s possible. It’s kind of amazing how open and extendable the Apple Music service is (assuming of course you use Apple devices).