Transcoding AAC/M4A to WAV or MP3
-
- Posts:11
- Joined:Thu Nov 05, 2009 4:36 am
- AV Hardware:Server: Twonky Media Server 5.1
Clients: Roku Soundbridge, foobar2000 (w/ upnp component), WMP 12
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?
-
- Posts:11
- Joined:Thu Nov 05, 2009 4:36 am
- AV Hardware:Server: Twonky Media Server 5.1
Clients: Roku Soundbridge, foobar2000 (w/ upnp component), WMP 12
Re: Transcoding AAC/M4A to WAV or MP3
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
# 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
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.
Thanks for any help.
-
- Posts:11
- Joined:Thu Nov 05, 2009 4:36 am
- AV Hardware:Server: Twonky Media Server 5.1
Clients: Roku Soundbridge, foobar2000 (w/ upnp component), WMP 12
Re: Transcoding AAC/M4A to WAV or MP3
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
Thanks
Mark