How to transcode FLAC to mp3 on the fly

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
3
down vote

favorite












I am using minidlna / ReadyMedia-Server to stream my music files in my network.



Unfortunately one of my players is unable to read FLAC files, so I am looking into a solution on how to transcode all FLAC files to mp3-format










share|improve this question

























    up vote
    3
    down vote

    favorite












    I am using minidlna / ReadyMedia-Server to stream my music files in my network.



    Unfortunately one of my players is unable to read FLAC files, so I am looking into a solution on how to transcode all FLAC files to mp3-format










    share|improve this question























      up vote
      3
      down vote

      favorite









      up vote
      3
      down vote

      favorite











      I am using minidlna / ReadyMedia-Server to stream my music files in my network.



      Unfortunately one of my players is unable to read FLAC files, so I am looking into a solution on how to transcode all FLAC files to mp3-format










      share|improve this question













      I am using minidlna / ReadyMedia-Server to stream my music files in my network.



      Unfortunately one of my players is unable to read FLAC files, so I am looking into a solution on how to transcode all FLAC files to mp3-format







      mp3 flac minidlna transcode






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 14 at 8:47









      AlexOnLinux

      38019




      38019




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          3
          down vote



          accepted










          I found a pretty simple solution, that should also work with other streaming services and is not bounded to minidlna / ReadyMedia



          Check out mp3fs https://github.com/khenriks/mp3fs



          Quote: mp3fs is a read-only FUSE filesystem which transcodes between audio formats (currently FLAC and Ogg Vorbis to MP3) on the fly when opened and read.



          This can let you use a FLAC or Ogg Vorbis collection with software and/or hardware which only understands the MP3 format, or transcode files through simple drag-and-drop in a file browser.




          I installed it via sudo apt-get install mp3fs



          Mounted my Music-HDD folder that contains my FLAC and WAV files to the mp3fs filesystem:



          sudo mp3fs -b 320 /home/alex/Music-HDD /home/alex/mp3-Music-HDD/ -o allow_other,ro


          modified my /etc/minidlna.conf to point to the correct path:



          media_dir=A,/home/alex/mp3-Music-HDD 


          and restarted the service:



          sudo systemctl restart minidlna.service 


          Now my player is able to play the FLAC files.






          share|improve this answer




















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1006058%2fhow-to-transcode-flac-to-mp3-on-the-fly%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            3
            down vote



            accepted










            I found a pretty simple solution, that should also work with other streaming services and is not bounded to minidlna / ReadyMedia



            Check out mp3fs https://github.com/khenriks/mp3fs



            Quote: mp3fs is a read-only FUSE filesystem which transcodes between audio formats (currently FLAC and Ogg Vorbis to MP3) on the fly when opened and read.



            This can let you use a FLAC or Ogg Vorbis collection with software and/or hardware which only understands the MP3 format, or transcode files through simple drag-and-drop in a file browser.




            I installed it via sudo apt-get install mp3fs



            Mounted my Music-HDD folder that contains my FLAC and WAV files to the mp3fs filesystem:



            sudo mp3fs -b 320 /home/alex/Music-HDD /home/alex/mp3-Music-HDD/ -o allow_other,ro


            modified my /etc/minidlna.conf to point to the correct path:



            media_dir=A,/home/alex/mp3-Music-HDD 


            and restarted the service:



            sudo systemctl restart minidlna.service 


            Now my player is able to play the FLAC files.






            share|improve this answer
























              up vote
              3
              down vote



              accepted










              I found a pretty simple solution, that should also work with other streaming services and is not bounded to minidlna / ReadyMedia



              Check out mp3fs https://github.com/khenriks/mp3fs



              Quote: mp3fs is a read-only FUSE filesystem which transcodes between audio formats (currently FLAC and Ogg Vorbis to MP3) on the fly when opened and read.



              This can let you use a FLAC or Ogg Vorbis collection with software and/or hardware which only understands the MP3 format, or transcode files through simple drag-and-drop in a file browser.




              I installed it via sudo apt-get install mp3fs



              Mounted my Music-HDD folder that contains my FLAC and WAV files to the mp3fs filesystem:



              sudo mp3fs -b 320 /home/alex/Music-HDD /home/alex/mp3-Music-HDD/ -o allow_other,ro


              modified my /etc/minidlna.conf to point to the correct path:



              media_dir=A,/home/alex/mp3-Music-HDD 


              and restarted the service:



              sudo systemctl restart minidlna.service 


              Now my player is able to play the FLAC files.






              share|improve this answer






















                up vote
                3
                down vote



                accepted







                up vote
                3
                down vote



                accepted






                I found a pretty simple solution, that should also work with other streaming services and is not bounded to minidlna / ReadyMedia



                Check out mp3fs https://github.com/khenriks/mp3fs



                Quote: mp3fs is a read-only FUSE filesystem which transcodes between audio formats (currently FLAC and Ogg Vorbis to MP3) on the fly when opened and read.



                This can let you use a FLAC or Ogg Vorbis collection with software and/or hardware which only understands the MP3 format, or transcode files through simple drag-and-drop in a file browser.




                I installed it via sudo apt-get install mp3fs



                Mounted my Music-HDD folder that contains my FLAC and WAV files to the mp3fs filesystem:



                sudo mp3fs -b 320 /home/alex/Music-HDD /home/alex/mp3-Music-HDD/ -o allow_other,ro


                modified my /etc/minidlna.conf to point to the correct path:



                media_dir=A,/home/alex/mp3-Music-HDD 


                and restarted the service:



                sudo systemctl restart minidlna.service 


                Now my player is able to play the FLAC files.






                share|improve this answer












                I found a pretty simple solution, that should also work with other streaming services and is not bounded to minidlna / ReadyMedia



                Check out mp3fs https://github.com/khenriks/mp3fs



                Quote: mp3fs is a read-only FUSE filesystem which transcodes between audio formats (currently FLAC and Ogg Vorbis to MP3) on the fly when opened and read.



                This can let you use a FLAC or Ogg Vorbis collection with software and/or hardware which only understands the MP3 format, or transcode files through simple drag-and-drop in a file browser.




                I installed it via sudo apt-get install mp3fs



                Mounted my Music-HDD folder that contains my FLAC and WAV files to the mp3fs filesystem:



                sudo mp3fs -b 320 /home/alex/Music-HDD /home/alex/mp3-Music-HDD/ -o allow_other,ro


                modified my /etc/minidlna.conf to point to the correct path:



                media_dir=A,/home/alex/mp3-Music-HDD 


                and restarted the service:



                sudo systemctl restart minidlna.service 


                Now my player is able to play the FLAC files.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Feb 14 at 8:47









                AlexOnLinux

                38019




                38019



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1006058%2fhow-to-transcode-flac-to-mp3-on-the-fly%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    Which professions warranted travel in Medieval times?

                    How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

                    Trouble downloading packages list due to a “Hash sum mismatch” error