How to transcode FLAC to mp3 on the fly
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
mp3 flac minidlna transcode
add a comment |Â
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
mp3 flac minidlna transcode
add a comment |Â
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
mp3 flac minidlna transcode
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
mp3 flac minidlna transcode
asked Feb 14 at 8:47
AlexOnLinux
38019
38019
add a comment |Â
add a comment |Â
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.
add a comment |Â
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.
add a comment |Â
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.
add a comment |Â
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.
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.
answered Feb 14 at 8:47
AlexOnLinux
38019
38019
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password