Page 1 of 1

Transcoding AAC/M4A to WAV or MP3

Posted: Fri Aug 20, 2010 4:29 am
by markmcd
Has anyone had any luck transcoding AAC/M4A files to WAV or MP3? I've been tinkering with a custom ffmpeg .desc file without any luck so far. Any advice?

Re: Transcoding AAC/M4A to WAV or MP3

Posted: Fri Aug 20, 2010 6:25 am
by markmcd
Figured it out - in case anyone else is looking to do this, here is what my .desc file looks like:

# transcode audio (mp4 to mp3)
#(c) 2008 by PacketVideo
exec: ffmpeg -i $infile -f mp3 -acodec libmp3lame -ab 320K $outfile
# capabilities
from=audio/mp4
to=audio/mpeg
asynchronous
priority=idle

Re: Transcoding AAC/M4A to WAV or MP3

Posted: Tue Aug 31, 2010 5:43 am
by rmeek11
Did this work for you? I am looking for a way to play .m4a files on my DirecTV HR23 DVR. Currently none of my .m4a files play on the DVR. What did you call this .desc file? After you generated this file, did you have to restart the server or regenerate your database or rescan your media directories?

Thanks for any help.

Re: Transcoding AAC/M4A to WAV or MP3

Posted: Tue Aug 31, 2010 4:43 pm
by markmcd
Yes, this works well for me. I called the file m4a-mp3.desc and placed it in the ...\TwonkyMedia\cgi-bin folder. I also placed a copy of ffmpeg.exe (http://ffmpeg.arrozcru.org/autobuilds/) in the same folder. After restarting the Twonky service it should work, and you should have MP3 as a valid option in the background transcoding section of the options.

Thanks
Mark