PDA

View Full Version : m4a to wav format



libin
2006-07-13, 22:27
I am trying to stream m4a to wav format in slimserver. But the slimserver cant able to stream.
I want not to convert to some other format such as AIFF,FLAC,MP3.whats the way? plz help.

mlmurray
2006-07-14, 05:22
Here's what I use (though I rarely play m4a or aac files), but it does work for me. You will need to have mplayer installed for it to work, though. Put these lines in your "slimserver-convert.conf" file:



mov mp3 * *
[mplayer] -novideo -ao pcm:file=/dev/fd/4 $FILE$ 4>&1 1>/dev/null | $lame$ --silent -q $QUALITY$ -b $BITRATE$ - -

mov wav * *
[mplayer] -novideo -ao pcm:file=/dev/fd/4 $FILE$ 4>&1 1>/dev/null


P.S.: I use Linux. I know lame and mplayer exist on windows, but I don't know if the redirects in the code above work in windows. Can anyone comment on this?

ChrisOwens
2006-07-14, 17:25
See I have an alternate theory about what the poster is asking. :)

It looks to me like he wants to stream his m4a files in wav format, but all he sees in Server Settings -> File Types for apple formats is AIFF, FLAC, and MP3.

So maybe the info he's looking for is this: AIFF is a basic PCM format, very very similar to WAV. The Squeezebox can decode AIFF just like it can WAV, so it shouldn't really make a difference that you can't select WAV.

Maybe he's trying to stream to some device that only understands WAV though. In that case, life gets more difficult. We may need a bit more information about what you're trying to do!

libin
2006-07-16, 21:17
I am doing an Experiment in slimserver. I am trying to stream the m4a files in wav format.
I don’t want the file to be converted in any other format. Or if it must be stream in m4a format itself.
I have tried changing in convert.config file as m4a m4a * * or m4a wav * *.
I just removed all other conversion in convert.config file., Plz help me in doing this.Any suggestion

libin
2006-07-17, 05:48
Hi Chris

We are trying to stream the AAC (M4A) content transcoded to WAV format by slim server, to a streaming client that runs on linux host (this client is developed by us) which can understand only WAV as the uncompressed format. We are not using any device to stream the content here.

Regards
libin



See I have an alternate theory about what the poster is asking. :)

It looks to me like he wants to stream his m4a files in wav format, but all he sees in Server Settings -> File Types for apple formats is AIFF, FLAC, and MP3.

So maybe the info he's looking for is this: AIFF is a basic PCM format, very very similar to WAV. The Squeezebox can decode AIFF just like it can WAV, so it shouldn't really make a difference that you can't select WAV.

Maybe he's trying to stream to some device that only understands WAV though. In that case, life gets more difficult. We may need a bit more information about what you're trying to do!