I've now got wma to mp3 transcoding working on my Win 7 version of Twonky 6.0.30.
1. Put ffmpeg.exe into c:\ffmpeg to match ffmpeg.location file.
2. Created ffmpeg-wma-mp3.desc file:
Code: Select all
# transcode audio (wma to mp3)
#(c) 2008 by PacketVideo
exec: ffmpeg -i $infile -ab 256K $outfile
Note use of audio/mpeg not audio/mp3 as that didn't work - audio/mpeg was used in the any-mp3.desc file.
3. Added ,WMA to end of TR line for Samsung TV entry in clients.db.
4. Restarted server. At this point the MP3 check box on the Transcode config page became available though I did not select it at this point.
5. Tried wma files on TV - still came up with file type unsupported.
6. Added wma file type to Samsung TV profile in clients.db - MT:wma audio/x-ms-wma. I wasn't sure when the profile is read in so I chenged the entry on the Media Receivers page for my TV to a different entry, saved the changes and then set it back to Samsung TV again.
7. Retried wma files on TV - still said file type unsupported but retried files and they then played. The first time seems to kick twonky into transcoding the files and then they are available for subsequent plays (stored in the db\cache folder). Never tried this at step 5 so I'm not sure if step 6 is needed or not. [edit: I have now fixed this by changing the .desc file entry from asynchronous to synchronous as suggested in this post - http://www.twonkyforum.com/viewtopic.php?f=18&t=7258#p26801
The check boxes on the Transcode config page are for background transcoding - if checked then twonky will transcode all files that need to be converted and store them for later use. This should mean that they will play immediately when asked for rather than have the wait while they are transcoded on the fly, though they will take up more disk space.